diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 17:32:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 17:32:19 -0300 |
commit | 15009c5dbfa30409615bad91927eac97f1601ff8 (patch) | |
tree | ea7e92796c08530b6494a1735f6bab7e5b9276ef | |
parent | 7d4e3458327e12c5fceac32192a1a0999d9bf7d8 (diff) | |
download | hydra-15009c5dbfa30409615bad91927eac97f1601ff8.tar.gz hydra-15009c5dbfa30409615bad91927eac97f1601ff8.tar.bz2 |
Minor fix
-rw-r--r-- | lib/hydra/backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup index 260446d..d2208ff 100644 --- a/lib/hydra/backup +++ b/lib/hydra/backup @@ -6,7 +6,7 @@ function hydra_backup_environment { METHOD="$2" BACKUP_ROOT="/var/backups/remote" DOMAIN="`facter domain`" - BACKUPDIR="$BACKUP_ROOT/$NODE.$domain" + BACKUPDIR="$BACKUP_ROOT/$NODE.$DOMAIN" if [ ! -z "$DATE" ]; then RESTOREDIR="$BACKUPDIR/restore/$DATE" |