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

index eca41217274d2a2ad6fbb9e300faf68f37ea4e76..7c400f114f14929c8120358b90857d5e365daf7a 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"
+    metadata="$backuproot/metadata/\$rottype"
 
     mkdir -p \$metadata.1
     if [ ! -d \$dir.1 ]; then