aboutsummaryrefslogtreecommitdiff
path: root/beam.conf
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-10-30 11:37:46 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-10-30 11:39:59 +0200
commit70f09e06f7f400fa4fbabf0c4fff09cd2208a932 (patch)
tree69d6128e2a09da648d7a81f90d25cd8a1918bfc0 /beam.conf
parentdbd71155f0bb40e435163ddd2c73c991a4f8e787 (diff)
downloadbeam-70f09e06f7f400fa4fbabf0c4fff09cd2208a932.tar.gz
beam-70f09e06f7f400fa4fbabf0c4fff09cd2208a932.tar.bz2
Create database dumps in temporary directory.
* backup.in: Set safe umask. * lib/beam/common.in (backup_tmp_dir): New global variable. * beam.conf: Add backup_tmp_dir variable. * doc/beam.conf.5in: Document new variables. * lib/beam/mysql.sh: Create temporary files in backup_tmp_dir * lib/beam/postgres.sh: Likewise.
Diffstat (limited to 'beam.conf')
-rw-r--r--beam.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/beam.conf b/beam.conf
index cc8be64..ce09da7 100644
--- a/beam.conf
+++ b/beam.conf
@@ -49,6 +49,9 @@ epilogue_hook=
# If zero or empty, backups are retained forever.
backup_retain_interval=
+# Directory for temporary files
+backup_tmp_dir=/tmp
+
##########################################################################
# S3 configuration.
##########################################################################

Return to:

Send suggestions and report system problems to the System administrator.