aboutsummaryrefslogtreecommitdiff
path: root/files/handlers/rsync
diff options
context:
space:
mode:
Diffstat (limited to 'files/handlers/rsync')
-rw-r--r--files/handlers/rsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync
index e55b512..eca4121 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/\$rottype.1"
+ metadata="$backuproot/metadata"
mkdir -p \$metadata.1
if [ ! -d \$dir.1 ]; then