summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore
blob: 581ac6368479639b35c26ae08fa106854e9c8fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# Backup restoration.
#

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

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