aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 17:32:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 17:32:19 -0300
commit15009c5dbfa30409615bad91927eac97f1601ff8 (patch)
treeea7e92796c08530b6494a1735f6bab7e5b9276ef
parent7d4e3458327e12c5fceac32192a1a0999d9bf7d8 (diff)
downloadhydra-15009c5dbfa30409615bad91927eac97f1601ff8.tar.gz
hydra-15009c5dbfa30409615bad91927eac97f1601ff8.tar.bz2
Minor fix
-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"