summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 16:39:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 16:39:48 -0300
commit54dc84c6dd5fdcedab63c2fcc4108d8cd06d01a1 (patch)
tree3d364446aa2227f33c44f99dd73713c908089587 /share/hydractl/backup-restore-site
parentc967d8a5f701d9fdfe65f8c965557632fb11a876 (diff)
downloadhydra-54dc84c6dd5fdcedab63c2fcc4108d8cd06d01a1.tar.gz
hydra-54dc84c6dd5fdcedab63c2fcc4108d8cd06d01a1.tar.bz2
Minor changes
Diffstat (limited to 'share/hydractl/backup-restore-site')
-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