aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/templates/backup_blog-files.sh
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-04-04 11:36:56 +0000
committerDamien Lallement <dams@mageia.org>2011-04-04 11:36:56 +0000
commitb728b853217e8aefb0abf6af70a425548c1c6a62 (patch)
tree0b01e0123a95bb6cfff76e9c8dca0f085528f926 /modules/blog/templates/backup_blog-files.sh
parent52335bc3ae55b60bec46414b493b156d876d2cfe (diff)
downloadpuppet-b728b853217e8aefb0abf6af70a425548c1c6a62.tar
puppet-b728b853217e8aefb0abf6af70a425548c1c6a62.tar.gz
puppet-b728b853217e8aefb0abf6af70a425548c1c6a62.tar.bz2
puppet-b728b853217e8aefb0abf6af70a425548c1c6a62.tar.xz
puppet-b728b853217e8aefb0abf6af70a425548c1c6a62.zip
fix tar option
Diffstat (limited to 'modules/blog/templates/backup_blog-files.sh')
-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 98a91b15..45591a95 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 zxvf /var/www/html/blog.<%= domain %>/$locale $PATH_TO_FILE/$locale/$locale-$COUNT.tar.gz
+ tar zcvf /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 ]