summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/backup-restore-site2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site
index 9709618..bf68779 100755
--- a/share/hydractl/backup-restore-site
+++ b/share/hydractl/backup-restore-site
@@ -60,12 +60,14 @@ fi
# Site
if [ -e "$FOLDER/site" ]; then
chown -R $SITE.$SITE $FOLDER/site
+ echo "Databases should be manually restored"
fi
# Drupal
if [ -e "$FOLDER/drupal" ]; then
# TODO: how to check drupal series?
# TODO: check symlinks
+ # TODO: database import
chown root.$SITE $FOLDER/drupal/settings.php
chmod 640 $FOLDER/drupal/settings.php
fi