aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/backup.d/example.mysql4
-rw-r--r--etc/backup.d/example.rdiff11
-rw-r--r--etc/backupninja.conf2
3 files changed, 15 insertions, 2 deletions
diff --git a/etc/backup.d/example.mysql b/etc/backup.d/example.mysql
index e0559fe..51c2247 100644
--- a/etc/backup.d/example.mysql
+++ b/etc/backup.d/example.mysql
@@ -70,4 +70,6 @@ compress = yes
# vsname = <vserver> (no default)
# what vserver to operate on, only used if vserver = yes in /etc/backupninja.conf
# if you do not specify a vsname the host will be operated on
-
+#
+# NB: databases = all doesn't seem to work with hotcopy = yes when vsname is specified
+# I would like to know how to fix this.
diff --git a/etc/backup.d/example.rdiff b/etc/backup.d/example.rdiff
index 1fe31bb..bd16c3c 100644
--- a/etc/backup.d/example.rdiff
+++ b/etc/backup.d/example.rdiff
@@ -41,6 +41,17 @@ include = /usr/local/sbin
include = /var/lib/dpkg/status
include = /var/lib/dpkg/status-old
+# If vservers = yes in /etc/backupninja.conf then the following variable can be used:
+# vsinclude = <path>
+# Any path specified in vsinclude is added to the include list for each vserver
+# on the system.
+# e.g. vsinclude = /home will backup the /home partition in every vserver
+# on the system. If you have /vservers/foo, /vservers/bar and /vservers/baz
+# this vsinclude will add to the include list /vservers/foo/home,
+# /vservers/bar/home and /vservers/baz/home
+# Included vservers are derived from listing all vservers in $VROOTDIR (suggestions
+# for improving this are encouraged).
+
# files to exclude from the backup
# (supports globbing with '*')
#exclude = /home/*/.gnupg
diff --git a/etc/backupninja.conf b/etc/backupninja.conf
index 97af062..6fe2708 100644
--- a/etc/backupninja.conf
+++ b/etc/backupninja.conf
@@ -45,5 +45,5 @@ usecolors = yes
when = everyday at 01:00
# if running vservers, set to yes
-VSERVERS = no
+vservers = no