summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore
blob: acd3be4b6228a68121eea5eb017bcf4c6336d2be (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 $*
duplicity restore file:///$BACKUPDIR/ $RESTOREDIR/