aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-11-05 11:41:46 +0000
committerMicah Anderson <micah@riseup.net>2005-11-05 11:41:46 +0000
commit2d96b777ad4a0d580abc82af8d98687752aec554 (patch)
treefd840004ca6032685235582ff538171a8e50640f
parente005e25e1af5fc951d4cbcffab73f0637bca2058 (diff)
downloadbackupninja-2d96b777ad4a0d580abc82af8d98687752aec554.tar.gz
backupninja-2d96b777ad4a0d580abc82af8d98687752aec554.tar.bz2
Updated svn handler for new hotcopy functionality
-rw-r--r--ChangeLog2
-rw-r--r--examples/example.svn5
-rw-r--r--handlers/svn2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7252a35..cce623c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@ version 0.9.1 -- unreleased
added makecd ninjahelper
(thanks to Stefani stefani@riseup.net)
made ninjahelper create files with mode 600 rather than 000
+ changed subversion handler to use svnadmin hotcopy instead of
+ the unsupported hot-copy.py script, which was moved in Debian
version 0.9 -- October 19 2005
*** IMPORTANT CHANGE, UPGRADE AT ONCE ***
diff --git a/examples/example.svn b/examples/example.svn
index e849706..ea43601 100644
--- a/examples/example.svn
+++ b/examples/example.svn
@@ -17,7 +17,10 @@
# tmp = /var/backups/svn.tmp
## the hotbackup program to use.
+## svnadmin hotcopy now exists, the following script is located
+## in /usr/share/doc/subversion/examples now if you wish to use
+## it instead
# HOTBACKUP = /usr/lib/subversion/hot-backup.py
## the name of the vserver containing svn, if using vservers
-# vsname = \ No newline at end of file
+# vsname =
diff --git a/handlers/svn b/handlers/svn
index 6ac5402..9a611c0 100644
--- a/handlers/svn
+++ b/handlers/svn
@@ -5,7 +5,7 @@
getconf src /var/lib/svn
getconf dest /var/backups/svn
getconf tmp /var/backups/svn.tmp
-getconf HOTBACKUP /usr/lib/subversion/hot-backup.py
+getconf HOTBACKUP "/usr/bin/svnadmin hotcopy"
getconf vsname
error=0