summaryrefslogtreecommitdiff
path: root/share/hydractl/site-restore
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 14:45:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 14:45:36 -0300
commit1f25194c5ab63ee588fa66f09cf30f5994490455 (patch)
treefac630f43fb1c5e488f24a50f9839d7c6160e6da /share/hydractl/site-restore
parent402782207daaea438316c4ef9b38f3e5198beb03 (diff)
downloadhydra-1f25194c5ab63ee588fa66f09cf30f5994490455.tar.gz
hydra-1f25194c5ab63ee588fa66f09cf30f5994490455.tar.bz2
Renaming actions and adding backup function
Diffstat (limited to 'share/hydractl/site-restore')
-rwxr-xr-xshare/hydractl/site-restore22
1 files changed, 0 insertions, 22 deletions
diff --git a/share/hydractl/site-restore b/share/hydractl/site-restore
deleted file mode 100755
index 493fc30..0000000
--- a/share/hydractl/site-restore
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-#
-# Restore a website from backup
-#
-
-# Load.
-source $APP_BASE/lib/hydra/functions || exit 1
-hydra_config_load
-
-SITE="$3"
-
-if [ -z "$SITE" ]; then
- hydra_action_usage
- exit 1
-fi
-
-hydra_backup_environment $*
-
-# Check if there's already a site folder and backup it
-# Check installed platforms: trac, drupal, pmwiki
-# Drupal: check symlinks
-# Fix permissions