aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-git
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-restore-git')
-rwxr-xr-xshare/hydractl/backup-restore-git4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/backup-restore-git b/share/hydractl/backup-restore-git
index 928f357..f6c8b64 100755
--- a/share/hydractl/backup-restore-git
+++ b/share/hydractl/backup-restore-git
@@ -32,10 +32,10 @@ hydra_backup_environment_service
# Backup it.
# TODO: directly at hydra_backup_environment_service
-hydractl backup-site git
+hydractl backup-site $SERVICE
# Copy site folder from backup.
cp -a $RESTOREDIR/$SERVICE_DIR $SERVICE_DIR
# Fix permissions.
-chown -R $GIT_USER.$GIT_GROUP $SERVICE_DIR
+chown -R $SERVICE_USER.$SERVICE_GROUP $SERVICE_DIR