diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-25 16:27:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-25 16:29:43 -0300 |
commit | 2bf727c1407fa7bbf724f0259c4ff064a8444b86 (patch) | |
tree | a2aaaea60534802cd30cbedf8f742d62263070c0 | |
parent | eff27ce1cd0cd4f25d23c7d51bfd5283b30882db (diff) | |
download | backupninja-2bf727c1407fa7bbf724f0259c4ff064a8444b86.tar.gz backupninja-2bf727c1407fa7bbf724f0259c4ff064a8444b86.tar.bz2 |
Don't remove created metadata after rotation at rsync
-rw-r--r-- | handlers/rsync.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in index 537fd4c..7b06c24 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -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 |