aboutsummaryrefslogtreecommitdiff
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-svn2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-svn b/share/hydractl/backup-restore-svn
index a4c90a5..457165b 100755
--- a/share/hydractl/backup-restore-svn
+++ b/share/hydractl/backup-restore-svn
@@ -36,7 +36,7 @@ hydra_backup_environment_service
hydractl backup-site svn
# Copy site folder from backup.
-cp -a $RESTOREDIR/var/svn /var/svn
+rm -rf /var/svn && cp -a $RESTOREDIR/var/svn /var/svn
# Fix permissions.
chown root.root /var/svn