From d52a1ac97e97c51c15ccd52d7dce93d3a092e636 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 13 Jun 2005 19:37:26 +0000 Subject: Added trac handler, changed VSERVERS variable to be lowercase and added some vserver documentation to README and to the handlers --- etc/backup.d/example.mysql | 4 +++- etc/backup.d/example.rdiff | 11 +++++++++++ etc/backupninja.conf | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) (limited to 'etc') 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 = (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 = +# 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 -- cgit v1.2.3