Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
d6ec2b4e
Commit
d6ec2b4e
authored
14 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
Store duplicity cache to /var/cache/backupninja/duplicity.
... instead of previous /var/backups/duplicity.
parent
99434c8b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+2
-2
2 additions, 2 deletions
ChangeLog
NEWS
+4
-3
4 additions, 3 deletions
NEWS
handlers/dup.in
+2
-2
2 additions, 2 deletions
handlers/dup.in
with
8 additions
and
7 deletions
ChangeLog
+
2
−
2
View file @
d6ec2b4e
...
...
@@ -11,8 +11,8 @@ version 0.9.8 -- UNRELEASED
0.6.01 or newer, that depends on local caching (Closes: #572721)
. Ignore anything but digits and "." when comparing versions
(Closes: #578987)
. Put archive directory (cache) into /var/backup
s
/duplicity
rather
than the default /root/.cache/duplicity, unless the user
. Put archive directory (cache) into /var/
cache/
backup
ninja
/duplicity
rather
than the default /root/.cache/duplicity, unless the user
has specified it (Closes: 580213)
. Better example.dup documentation. Thanks, Alster!
. Added ftp_password option to securely transmit the FTP password
...
...
This diff is collapsed.
Click to expand it.
NEWS
+
4
−
3
View file @
d6ec2b4e
...
...
@@ -3,8 +3,8 @@ backupninja (0.9.8-1) UNRELEASED
* duplicity 0.6.01 and later defaults to using an archive (cache)
directory, which was previously opt-in. Starting with backupninja
0.9.8, the backupninja duplicity handler puts this cache into
/var/backup
s
/duplicity unless specified by the user with
the "options"
setting the *.dup job.
/var/
cache/
backup
ninja
/duplicity unless specified by the user with
the "options"
setting the *.dup job.
When backups have been performed with backupninja older than 0.9.8 in
conjunction with duplicity 0.6.01 or later, e.g. when using Sid or
Squeeze at certain times of the Squeeze release cycle, cache files
...
...
@@ -12,7 +12,8 @@ backupninja (0.9.8-1) UNRELEASED
delete these files, or rather save bandwidth and just move the cache
directory to the new location:
mv /root/.cache/duplicity /var/backups/
mkdir -p /var/cache/backupninja
mv /root/.cache/duplicity /var/cache/backupninja/
backupninja (0.9.7-1) UNRELEASED
...
...
This diff is collapsed.
Click to expand it.
handlers/dup.in
+
2
−
2
View file @
d6ec2b4e
...
...
@@ -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/backup
s
/duplicity"
execstr_options
=
"
${
execstr_options
}
--archive-dir /var/
cache/
backup
ninja
/duplicity"
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment