aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-sites
blob: 883566ef73da235928e147f8921c49c3460166b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
#
# Pack multiple websites.
#

if [ -z "$1" ]; then
  sites="`ls /var/sites`"
else
  sites="$*"
fi

for site in $sites; do
  hydractl backup-site $site
done