]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Minor fix at rsync handler
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 20 Sep 2010 22:05:51 +0000 (19:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 20 Sep 2010 22:05:51 +0000 (19:05 -0300)
files/handlers/rsync

index e55b512e40061f08f2f3a60dc5367e27d894d7be..eca41217274d2a2ad6fbb9e300faf68f37ea4e76 100644 (file)
@@ -487,7 +487,7 @@ function rotate_long_remote {
   for rottype in daily weekly monthly; do
     seconds=\$((seconds_\${rottype}))
     dir="$backuproot/\$rottype"
-    metadata="$backuproot/metadata/\$rottype.1"
+    metadata="$backuproot/metadata"
 
     mkdir -p \$metadata.1
     if [ ! -d \$dir.1 ]; then