aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:57:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:57:47 -0300
commit8d36966d5ecc68e52b65c9209f4d6c4ed574b9de (patch)
tree8e39a982c63760f0e7067e4e5483540c4041602d /share
parent7550137817e69d5755f25657bbd48a478c0d2210 (diff)
downloadhydra-8d36966d5ecc68e52b65c9209f4d6c4ed574b9de.tar.gz
hydra-8d36966d5ecc68e52b65c9209f4d6c4ed574b9de.tar.bz2
TODO update
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/backup-restore-sites3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-sites b/share/hydractl/backup-restore-sites
index b051337..781cf17 100755
--- a/share/hydractl/backup-restore-sites
+++ b/share/hydractl/backup-restore-sites
@@ -31,13 +31,14 @@ fi
# Determine sites to copy.
if [ -z "$2" ]; then
+ # TODO: support for other backup locations.
sites="`ls /var/sites`"
else
shift
sites="$*"
fi
-# Copy each site.
+# Restore each site.
# TODO: support for other backup locations.
for site in $sites; do
hydractl backup-restore-site backups $SERVER $site