summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-svn
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-02 23:01:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-02 23:01:08 -0300
commitdd9000fb34a87d7af4dca4b847414d4e42c1b68c (patch)
tree7b6a40fdbf8049d0d75dc292cce60987812f2bc6 /share/hydractl/backup-restore-svn
parent73fece001d4fe684d126160aad47d9ef068a2369 (diff)
downloadhydra-dd9000fb34a87d7af4dca4b847414d4e42c1b68c.tar.gz
hydra-dd9000fb34a87d7af4dca4b847414d4e42c1b68c.tar.bz2
Fix at backup-restore-svn
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