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
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
lyz
backupninja
Commits
a99d0598
Commit
a99d0598
authored
19 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
homogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude
parent
b7dd0cbf
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
examples/example.dup
+7
-4
7 additions, 4 deletions
examples/example.dup
handlers/dup.helper
+8
-5
8 additions, 5 deletions
handlers/dup.helper
handlers/rdiff.helper
+5
-5
5 additions, 5 deletions
handlers/rdiff.helper
with
20 additions
and
14 deletions
examples/example.dup
+
7
−
4
View file @
a99d0598
...
...
@@ -84,12 +84,15 @@ include = /var/lib/dpkg/status-old
# be used:
# vsnames = all | <vserver1> <vserver2> ... (default = all)
# vsinclude = <path>
# vsinclude = <path>
# ...
# 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
# add to the include list /vservers/foo/home, /vservers/bar/home and
# /vservers/baz/home.
#
# For example, vsinclude = /home will backup the /home directory in every
# vserver 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.
# rdiff-backup specific comment, TO ADAPT
...
...
This diff is collapsed.
Click to expand it.
handlers/dup.helper
+
8
−
5
View file @
a99d0598
...
...
@@ -33,7 +33,7 @@ do_dup_vserver() {
# choose the files to backup
REPLY
=
while
[
-z
"
$REPLY
"
]
;
do
formBegin
"
$dup_title
- vservers: includes"
formBegin
"
$dup_title
- vservers:
vs
includes
(backup these directories from every selected vserver)
"
[
-z
"
$dup_vsincludes
"
]
&&
dup_vsincludes
=
"
$dup_default_includes
"
for
i
in
$dup_vsincludes
;
do
formItem include
"
$i
"
...
...
@@ -351,12 +351,15 @@ EOF
# be used:
# vsnames = all | <vserver1> <vserver2> ... (default = all)
# vsinclude = <path>
# vsinclude = <path>
# ...
# 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
# add to the include list /vservers/foo/home, /vservers/bar/home and
# /vservers/baz/home.
#
# For example, vsinclude = /home will backup the /home directory in every
# vserver 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
.
EOF
...
...
This diff is collapsed.
Click to expand it.
handlers/rdiff.helper
+
5
−
5
View file @
a99d0598
...
...
@@ -291,11 +291,11 @@ EOF
# Any path specified in vsinclude is added to the include list for each vserver
# listed in vsnames (or all if vsnames = all).
#
# For example, vsinclude = /home will backup the /home
partition
in every
# vserver 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.
# Vserver paths are derived from
$VROOTDIR
.
# For example, vsinclude = /home will backup the /home
directory
in every
# vserver 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.
# Vserver
s
paths are derived from
$VROOTDIR
.
EOF
set
-o
noglob
...
...
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