From 402782207daaea438316c4ef9b38f3e5198beb03 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 14:43:16 -0300 Subject: More backup actions --- share/hydractl/backup-restore | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 share/hydractl/backup-restore (limited to 'share/hydractl/backup-restore') diff --git a/share/hydractl/backup-restore b/share/hydractl/backup-restore new file mode 100755 index 0000000..581ac63 --- /dev/null +++ b/share/hydractl/backup-restore @@ -0,0 +1,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/ -- cgit v1.2.3