diff options
Diffstat (limited to 'modules/blog/templates/backup_blog-files.sh')
-rwxr-xr-x | modules/blog/templates/backup_blog-files.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/templates/backup_blog-files.sh b/modules/blog/templates/backup_blog-files.sh index 705098d6..98a91b15 100755 --- a/modules/blog/templates/backup_blog-files.sh +++ b/modules/blog/templates/backup_blog-files.sh @@ -11,7 +11,7 @@ do then /bin/mkdir $PATH_TO_FILE/$locale fi - rsync -aHP --delete /var/www/html/blog.<%= domain %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT + tar zxvf /var/www/html/blog.<%= domain %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT.tar.gz done # Check count file to have a week of backup in the directory if [ $COUNT -ne 6 ] |