diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-25 16:30:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-25 16:30:14 -0300 |
commit | b041c5d49e86a94f7c148e725f7534d505f0e0d8 (patch) | |
tree | c58bcfcba0acf8077f83de9f37d5e1b9fc6e4585 /files | |
parent | 159d181c7ed5db838d6bd3f55d93fd72a49d7868 (diff) | |
download | puppet-backup-b041c5d49e86a94f7c148e725f7534d505f0e0d8.tar.gz puppet-backup-b041c5d49e86a94f7c148e725f7534d505f0e0d8.tar.bz2 |
Don't remove created metadata after rotation at rsync
Diffstat (limited to 'files')
-rw-r--r-- | files/handlers/rsync | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync index 7c400f1..a81283f 100644 --- a/files/handlers/rsync +++ b/files/handlers/rsync @@ -416,7 +416,6 @@ function rotate_long { $nice mv $dir.$i $dir.$next mkdir -p $metadata.$next date +%c%n%s > $metadata.$next/rotated - rm -f $metadata.$next/created else echo "Debug: skipping rotation of $dir.$i because $dir.$next already exists." fi @@ -518,7 +517,6 @@ function rotate_long_remote { $nice mv \$dir.\$i \$dir.\$next mkdir -p \$metadata.\$next date +%c%n%s > \$metadata.\$next/rotated - rm -f \$metadata.\$next/created else echo "Debug: skipping rotation of \$dir.\$i because \$dir.\$next already exists." fi |