aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-05-10 22:15:41 +0200
committerintrigeri <intrigeri@boum.org>2010-05-10 22:15:41 +0200
commitd6ec2b4e62d1de94cf731381d7da934b6fee7ddc (patch)
treed12f5340b856dbc032056fd7fec70ca070612663 /handlers
parent99434c8b07f29fd45d1db55b30b5820a47d5a1ab (diff)
downloadbackupninja-d6ec2b4e62d1de94cf731381d7da934b6fee7ddc.tar.gz
backupninja-d6ec2b4e62d1de94cf731381d7da934b6fee7ddc.tar.bz2
Store duplicity cache to /var/cache/backupninja/duplicity.
... instead of previous /var/backups/duplicity.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/dup.in b/handlers/dup.in
index 4e0bbcf..5216643 100644
--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -198,11 +198,11 @@ if [ -n "$tmpdir" ]; then
fi
### Archive directory
-# duplicity >= 0.6.01 enables the archive_dir by default, let's put it into /var/backups
+# duplicity >= 0.6.01 enables the archive_dir by default, let's put it into /var/cache/backupninja/duplicity
# unless the user has specified it.
if [ "$duplicity_major" -ge 0 -a "$duplicity_minor" -ge 6 -a "$duplicity_sub" -ge 1 ]; then
if echo "${options}" | grep -qv -- "--archive-dir" ; then
- execstr_options="${execstr_options} --archive-dir /var/backups/duplicity"
+ execstr_options="${execstr_options} --archive-dir /var/cache/backupninja/duplicity"
fi
fi