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
38642e9c
Commit
38642e9c
authored
19 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
dup.helper: fixed output syntax for multiple vsnames
example.dup: fixed example vsnames syntax
parent
aff6fdf3
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
-0
2 additions, 0 deletions
ChangeLog
examples/example.dup
+1
-1
1 addition, 1 deletion
examples/example.dup
handlers/dup.helper
+2
-2
2 additions, 2 deletions
handlers/dup.helper
with
5 additions
and
3 deletions
ChangeLog
+
2
−
0
View file @
38642e9c
...
...
@@ -12,6 +12,8 @@ version 0.9.3 -- unreleased
#348022, follow-up to #338796)
. warn if vsnames or vsinclude is enabled while vservers support is
disabled in backupninja.conf
. now works when multiple vservers names are given (separated by space)
in vsnames config variable
ninjahelper changes
rdiff.helper:
. fixed errors in create remote dir
...
...
This diff is collapsed.
Click to expand it.
examples/example.dup
+
1
−
1
View file @
38642e9c
...
...
@@ -87,7 +87,7 @@ include = /var/lib/dpkg/status-old
# Any path specified in vsinclude is added to the include list for each vserver
# listed in vsnames (or all if vsnames = all).
# E.g. vsinclude = /home will backup the /home partition in every vserver
# listed in vsnames. If you have vsnames =
"
foo bar baz
"
, this vsinclude will
# listed in vsnames. If you have
'
vsnames = foo bar baz
'
, this vsinclude will
# add to the include list /vservers/foo/home, /vservers/bar/home and
# /vservers/baz/home.
# Vservers paths are derived from $VROOTDIR.
...
...
This diff is collapsed.
Click to expand it.
handlers/dup.helper
+
2
−
2
View file @
38642e9c
...
...
@@ -354,7 +354,7 @@ EOF
# Any path specified in vsinclude is added to the include list for each vserver
# listed in vsnames (or all if vsnames = all).
# E.g. vsinclude = /home will backup the /home partition in every vserver
# listed in vsnames. If you have vsnames =
"
foo bar baz
"
, this vsinclude will
# listed in vsnames. If you have
'
vsnames = foo bar baz
'
, this vsinclude will
# add to the include list /vservers/foo/home, /vservers/bar/home and
# /vservers/baz/home.
# Vservers paths are derived from
$VROOTDIR
.
...
...
@@ -363,7 +363,7 @@ EOF
if
[
"
$host_or_vservers
"
==
vservers
-o
"
$host_or_vservers
"
==
both
]
;
then
set
-o
noglob
echo
-e
"vsnames =
\"
$selected_vservers
\
"\
n
"
>>
$next_filename
echo
-e
"vsnames =
$selected_vservers
\n
"
>>
$next_filename
for
i
in
$dup_vsincludes
;
do
echo
"vsinclude =
$i
"
>>
$next_filename
done
...
...
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