aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates/backup_planet-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/planet/templates/backup_planet-files.sh')
-rwxr-xr-xmodules/planet/templates/backup_planet-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/planet/templates/backup_planet-files.sh b/modules/planet/templates/backup_planet-files.sh
index 45b15596..1b019afd 100755
--- a/modules/planet/templates/backup_planet-files.sh
+++ b/modules/planet/templates/backup_planet-files.sh
@@ -11,7 +11,7 @@ do
then
/bin/mkdir $PATH_TO_FILE/$locale
fi
- rsync -aHP --delete /var/www/html/planet.<%= domain %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT
+ rsync -aHP --delete <%= planet_location %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT
done
# Check count file to have a week of backup in the directory
if [ $COUNT -ne 6 ]