aboutsummaryrefslogtreecommitdiff
path: root/lib/beam/mysql.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/beam/mysql.sh')
-rwxr-xr-xlib/beam/mysql.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/beam/mysql.sh b/lib/beam/mysql.sh
index 4ce3a88..185fa48 100755
--- a/lib/beam/mysql.sh
+++ b/lib/beam/mysql.sh
@@ -61,9 +61,9 @@ mysql_backup() {
cmd="$cmd --databases"
fi
if [ -z "$dry_run" ]; then
- $cmd $database > $backup_snapshot_dir/$1-$week-$round-$level
+ $cmd $database > $backup_tmp_dir/$1-$week-$round-$level
else
- echo "$cmd $database > $backup_snapshot_dir/$1-$week-$round-$level"
+ echo "$cmd $database > $backup_tmp_dir/$1-$week-$round-$level"
fi
if [ $? -ne 0 ]; then
@@ -73,9 +73,9 @@ mysql_backup() {
logit "creating $1-$week-$round-$level.$tar_suffix"
$dry_run tar $verbose $taroptions \
-f $backup_archive_dir/$1-$week-$round-$level.$tar_suffix \
- -C $backup_snapshot_dir $1-$week-$round-$level
+ -C $backup_tmp_dir $1-$week-$round-$level
tarcode $?
- $dry_run rm $backup_snapshot_dir/$1-$week-$round-$level
+ $dry_run rm $backup_tmp_dir/$1-$week-$round-$level
fi
}

Return to:

Send suggestions and report system problems to the System administrator.