diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-07-08 13:30:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-07-08 13:30:50 -0300 |
commit | 5544fa8f188821500f764cc559111047d745c9e4 (patch) | |
tree | 281a19df9efd8987c3c5973a9d901ba09735c67b /share/hydractl/backup-restore-git | |
parent | bb074824423eac7904974711fe8886c1d6361703 (diff) | |
download | hydra-5544fa8f188821500f764cc559111047d745c9e4.tar.gz hydra-5544fa8f188821500f764cc559111047d745c9e4.tar.bz2 |
Adding other backup restoration scripts
Diffstat (limited to 'share/hydractl/backup-restore-git')
-rwxr-xr-x | share/hydractl/backup-restore-git | 4 |
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 |