mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-09-20 07:31:41 +02:00
dup.helper: fixed output syntax for multiple vsnames
example.dup: fixed example vsnames syntax
This commit is contained in:
parent
aff6fdf349
commit
38642e9c0f
@ -12,6 +12,8 @@ version 0.9.3 -- unreleased
|
|||||||
#348022, follow-up to #338796)
|
#348022, follow-up to #338796)
|
||||||
. warn if vsnames or vsinclude is enabled while vservers support is
|
. warn if vsnames or vsinclude is enabled while vservers support is
|
||||||
disabled in backupninja.conf
|
disabled in backupninja.conf
|
||||||
|
. now works when multiple vservers names are given (separated by space)
|
||||||
|
in vsnames config variable
|
||||||
ninjahelper changes
|
ninjahelper changes
|
||||||
rdiff.helper:
|
rdiff.helper:
|
||||||
. fixed errors in create remote dir
|
. fixed errors in create remote dir
|
||||||
|
@ -87,7 +87,7 @@ include = /var/lib/dpkg/status-old
|
|||||||
# Any path specified in vsinclude is added to the include list for each vserver
|
# Any path specified in vsinclude is added to the include list for each vserver
|
||||||
# listed in vsnames (or all if vsnames = all).
|
# listed in vsnames (or all if vsnames = all).
|
||||||
# E.g. vsinclude = /home will backup the /home partition in every vserver
|
# 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
|
# add to the include list /vservers/foo/home, /vservers/bar/home and
|
||||||
# /vservers/baz/home.
|
# /vservers/baz/home.
|
||||||
# Vservers paths are derived from $VROOTDIR.
|
# Vservers paths are derived from $VROOTDIR.
|
||||||
|
@ -354,7 +354,7 @@ EOF
|
|||||||
# Any path specified in vsinclude is added to the include list for each vserver
|
# Any path specified in vsinclude is added to the include list for each vserver
|
||||||
# listed in vsnames (or all if vsnames = all).
|
# listed in vsnames (or all if vsnames = all).
|
||||||
# E.g. vsinclude = /home will backup the /home partition in every vserver
|
# 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
|
# add to the include list /vservers/foo/home, /vservers/bar/home and
|
||||||
# /vservers/baz/home.
|
# /vservers/baz/home.
|
||||||
# Vservers paths are derived from $VROOTDIR.
|
# Vservers paths are derived from $VROOTDIR.
|
||||||
@ -363,7 +363,7 @@ EOF
|
|||||||
|
|
||||||
if [ "$host_or_vservers" == vservers -o "$host_or_vservers" == both ]; then
|
if [ "$host_or_vservers" == vservers -o "$host_or_vservers" == both ]; then
|
||||||
set -o noglob
|
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
|
for i in $dup_vsincludes; do
|
||||||
echo "vsinclude = $i" >> $next_filename
|
echo "vsinclude = $i" >> $next_filename
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user