summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hydra/backup2
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"