aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-06-19 17:33:00 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-06-19 17:33:00 +0300
commit389b7b7f4a6235e4e9e275fe8ae85cf9b9df13e3 (patch)
treed6119fa79847673583307a3e46408172bca2bf91 /lib
parent95f7d987676f9f98785563ac98b45214e8733fbf (diff)
downloadbeam-389b7b7f4a6235e4e9e275fe8ae85cf9b9df13e3.tar.gz
beam-389b7b7f4a6235e4e9e275fe8ae85cf9b9df13e3.tar.bz2
Minor bug-fixes.
* backup.in (backup): Propagate the --dry-run option to beam-cleaner. * lib/beam/mysql.sh (mysql_backup): Fix hardcoded base name. * lib/beam/postgres.sh (postgres_backup): Likewise.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/beam/mysql.sh2
-rwxr-xr-xlib/beam/postgres.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/beam/mysql.sh b/lib/beam/mysql.sh
index 106ecf9..e867690 100755
--- a/lib/beam/mysql.sh
+++ b/lib/beam/mysql.sh
@@ -52,7 +52,7 @@ mysql_backup() {
-f $backup_archive_dir/$1-$week-$round-$level.$tar_suffix \
-C $backup_snapshot_dir $1-$week-$round-$level
tarcode $?
- $dry_run rm $backup_snapshot_dir/dbdump-$week-$round-$level
+ $dry_run rm $backup_snapshot_dir/$1-$week-$round-$level
fi
}
diff --git a/lib/beam/postgres.sh b/lib/beam/postgres.sh
index 67769ce..fc96b3a 100755
--- a/lib/beam/postgres.sh
+++ b/lib/beam/postgres.sh
@@ -44,7 +44,7 @@ postgres_backup() {
-f $backup_archive_dir/$1-$week-$round-$level.$tar_suffix \
-C $backup_snapshot_dir $1-$week-$round-$level
tarcode $?
- $dry_run rm $backup_snapshot_dir/dbdump-$week-$round-$level
+ $dry_run rm $backup_snapshot_dir/$1-$week-$round-$level
fi
}

Return to:

Send suggestions and report system problems to the System administrator.