aboutsummaryrefslogtreecommitdiff
path: root/etc/backup.d
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-06-13 19:37:26 +0000
committerMicah Anderson <micah@riseup.net>2005-06-13 19:37:26 +0000
commitd52a1ac97e97c51c15ccd52d7dce93d3a092e636 (patch)
tree42918cd2f4a8eca871c90b11f36d0d32149bf856 /etc/backup.d
parent5c874587546b032230a74ca09d8ba98548785c9e (diff)
downloadbackupninja-d52a1ac97e97c51c15ccd52d7dce93d3a092e636.tar.gz
backupninja-d52a1ac97e97c51c15ccd52d7dce93d3a092e636.tar.bz2
Added trac handler, changed VSERVERS variable to be lowercase and
added some vserver documentation to README and to the handlers
Diffstat (limited to 'etc/backup.d')
-rw-r--r--etc/backup.d/example.mysql4
-rw-r--r--etc/backup.d/example.rdiff11
2 files changed, 14 insertions, 1 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