summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-04 19:02:31 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-04 19:02:31 -0200
commite5baa8a38c40d73cb7707a4bc44047a58628f54a (patch)
tree428b1e73fee4bf1e1874d98c83bcdccc1b9d813e /share/hydractl/backup-site
parent10d94d4b058e1d52662e9bf42134c224a0866220 (diff)
downloadhydra-e5baa8a38c40d73cb7707a4bc44047a58628f54a.tar.gz
hydra-e5baa8a38c40d73cb7707a4bc44047a58628f54a.tar.bz2
Loading functions at backup-site
Diffstat (limited to 'share/hydractl/backup-site')
-rwxr-xr-xshare/hydractl/backup-site4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site
index 6271da6..d989ee3 100755
--- a/share/hydractl/backup-site
+++ b/share/hydractl/backup-site
@@ -3,6 +3,10 @@
# Backup a site.
#
+# Load.
+source $APP_BASE/lib/hydra/functions || exit 1
+hydra_config_load
+
# Arguments
SITES="/var/sites"
SITE="$1"