summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore
blob: 160ed5e8b50a92c67f7a0451c9e4a1879cc249ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# Backup restoration.
#
# TODO: optionally restore from local backup
#

# Load.
source $APP_BASE/lib/hydra/functions || exit 1
hydra_config_load

hydra_backup_environment_remote $*
duplicity restore file:///$BACKUPDIR/ $RESTOREDIR/