summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-svn
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-restore-svn')
-rwxr-xr-xshare/hydractl/backup-restore-svn4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/hydractl/backup-restore-svn b/share/hydractl/backup-restore-svn
index ad17fdf..97ffa74 100755
--- a/share/hydractl/backup-restore-svn
+++ b/share/hydractl/backup-restore-svn
@@ -23,10 +23,8 @@ if [ -d "$RESTOREDIR/var/svn" ]; then
exit 1
fi
-# TODO: more like backup-site
# Backup it.
-mkdir -p /var/site/backups/svn/
-mv /var/svn /var/site/backups/svn/$DATE
+hydractl backup-site svn
# Set svn user.
if hydra_check_user svn; then