From: intrigeri Date: Thu, 19 Jan 2006 21:57:37 +0000 (+0000) Subject: homogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f9f8cce3b54abd0060352fafcd9bc3c8231b3f66;p=matthijs%2Fupstream%2Fbackupninja.git homogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude git-svn-id: http://code.autistici.org/svn/backupninja/trunk@331 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/examples/example.dup b/examples/example.dup index 52aea17..50d9572 100644 --- a/examples/example.dup +++ b/examples/example.dup @@ -84,12 +84,15 @@ include = /var/lib/dpkg/status-old # be used: # vsnames = all | ... (default = all) # vsinclude = +# vsinclude = +# ... # 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 diff --git a/handlers/dup.helper b/handlers/dup.helper index a95bf35..f241334 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -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: vsincludes (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 | ... (default = all) # vsinclude = +# vsinclude = +# ... # 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 diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index 80340f7..c21c5b5 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -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. +# Vservers paths are derived from $VROOTDIR. EOF set -o noglob