diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-28 18:45:24 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-28 18:45:24 +0000 |
commit | e7690275facfdc272b5f5c48850cec44ab6e4528 (patch) | |
tree | f0661550c9eaa19c23cf7ae7f117736ca30e382e /modules/blog | |
parent | 94de016bb19a0a09f74bb6907f0fe17837ed1773 (diff) | |
download | puppet-e7690275facfdc272b5f5c48850cec44ab6e4528.tar puppet-e7690275facfdc272b5f5c48850cec44ab6e4528.tar.gz puppet-e7690275facfdc272b5f5c48850cec44ab6e4528.tar.bz2 puppet-e7690275facfdc272b5f5c48850cec44ab6e4528.tar.xz puppet-e7690275facfdc272b5f5c48850cec44ab6e4528.zip |
- use lzma, as this reduce the size of backups file from 607 Mo to 460 Mo
( around 25 % )
Diffstat (limited to 'modules/blog')
-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 16ad4a49..bf08580d 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 - tar zcf $PATH_TO_FILE/$locale/$locale-$COUNT.tar.gz /var/www/html/blog.<%= domain %>/$locale + tar Jcf $PATH_TO_FILE/$locale/$locale-$COUNT.tar.xz /var/www/html/blog.<%= domain %>/$locale done # Check count file to have a week of backup in the directory if [ $COUNT -ne 6 ] |