aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
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