aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-05-24 19:27:43 +0000
committerMicah Anderson <micah@riseup.net>2005-05-24 19:27:43 +0000
commit1e410a6d9574c56b7d3a3633b82220eacf782d06 (patch)
treefd66e45778a58f6823e86d5ad1e1dfab8e2dad92 /etc
parent4f36863c09ad4e3c2613531873292e0e5c1250a2 (diff)
downloadbackupninja-1e410a6d9574c56b7d3a3633b82220eacf782d06.tar.gz
backupninja-1e410a6d9574c56b7d3a3633b82220eacf782d06.tar.bz2
Updates to handle vservers
Diffstat (limited to 'etc')
-rw-r--r--etc/backup.d/example.mysql5
-rw-r--r--etc/backup.d/example.svn3
-rw-r--r--etc/backupninja.conf4
3 files changed, 11 insertions, 1 deletions
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 = <user>
@@ -44,4 +44,7 @@ compress = yes
# compress = < yes | no >
# if yes, compress the sqldump output.
#
+# vsname = <vserver>
+# 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
+