aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/handlers/rsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync
index eca4121..7c400f1 100644
--- a/files/handlers/rsync
+++ b/files/handlers/rsync
@@ -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