aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-04-28 18:45:24 +0000
committerMichael Scherer <misc@mageia.org>2011-04-28 18:45:24 +0000
commite7690275facfdc272b5f5c48850cec44ab6e4528 (patch)
treef0661550c9eaa19c23cf7ae7f117736ca30e382e /modules/blog
parent94de016bb19a0a09f74bb6907f0fe17837ed1773 (diff)
downloadpuppet-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-xmodules/blog/templates/backup_blog-files.sh2
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 ]