diff options
-rw-r--r-- | lib/hydra/backup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup index 9ac6833..e48f904 100644 --- a/lib/hydra/backup +++ b/lib/hydra/backup @@ -70,6 +70,10 @@ function hydra_backup_environment_remote { echo "Missing backup action" exit 1 fi + elif [ "$METHOD" == "rsync" ]; then + BACKUPDIR="$BACKUPDIR/rsync/var/backups/duplicity/daily.1" + elif [ "$METHOD" == "rdiff" ]; then + BACKUPDIR="$BACKUPDIR/rdiff/var/backups/duplicity" else if [ -d "$BACKUPDIR/$METHOD" ]; then BACKUPDIR="$BACKUPDIR/$METHOD" |