From 1e410a6d9574c56b7d3a3633b82220eacf782d06 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 24 May 2005 19:27:43 +0000 Subject: Updates to handle vservers --- etc/backup.d/example.mysql | 5 ++++- etc/backup.d/example.svn | 3 +++ etc/backupninja.conf | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/backup.d/example.mysql b/etc/backup.d/example.mysql index 1c08fd3..a8f9540 100644 --- a/etc/backup.d/example.mysql +++ b/etc/backup.d/example.mysql @@ -5,7 +5,7 @@ databases = all backupdir = /var/backups/mysql hotcopy = yes sqldump = yes -compress = yes +compress = yes # # user = @@ -44,4 +44,7 @@ compress = yes # compress = < yes | no > # if yes, compress the sqldump output. # +# vsname = +# 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 diff --git a/etc/backup.d/example.svn b/etc/backup.d/example.svn index 7891944..e849706 100644 --- a/etc/backup.d/example.svn +++ b/etc/backup.d/example.svn @@ -18,3 +18,6 @@ ## the hotbackup program to use. # HOTBACKUP = /usr/lib/subversion/hot-backup.py + +## the name of the vserver containing svn, if using vservers +# vsname = \ No newline at end of file diff --git a/etc/backupninja.conf b/etc/backupninja.conf index 6f43249..97af062 100644 --- a/etc/backupninja.conf +++ b/etc/backupninja.conf @@ -43,3 +43,7 @@ usecolors = yes # default value for 'when' when = everyday at 01:00 + +# if running vservers, set to yes +VSERVERS = no + -- cgit v1.2.3