aboutsummaryrefslogtreecommitdiff
path: root/doc/beam.conf.5in
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2014-03-18 23:17:42 +0200
committerSergey Poznyakoff <gray@gnu.org>2014-03-18 23:33:29 +0200
commit10d30373c6fdf0dd23f16251fa2302c18b7eef97 (patch)
tree5a87a201d719266e6917758f1325f2b8820ce81b /doc/beam.conf.5in
parentb731a0350721ec4a11959446fac93962394711b3 (diff)
downloadbeam-10d30373c6fdf0dd23f16251fa2302c18b7eef97.tar.gz
beam-10d30373c6fdf0dd23f16251fa2302c18b7eef97.tar.bz2
Allow for dumping each MySQL database into a separate file.
* lib/beam/common.in (load_config): Set beam_rsh and backup_local_archive_dir. (beam_exec): New function. * lib/beam/mysql.sh (dump_mysql_db) (restore_mysql_db): New functions. (mysql_backup,mysql_restore): Dump databases individually, depending on the value of <item>_alldb variable. * restore.in: Use beam_exec to run find. * doc/beam.conf.5in: Document changes.
Diffstat (limited to 'doc/beam.conf.5in')
-rw-r--r--doc/beam.conf.5in15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/beam.conf.5in b/doc/beam.conf.5in
index 69277a7..9462035 100644
--- a/doc/beam.conf.5in
+++ b/doc/beam.conf.5in
@@ -1,5 +1,5 @@
.\" This file is part of BEAM -*- nroff -*-
-.\" Copyright (C) 2012 Sergey Poznyakoff
+.\" Copyright (C) 2012-2014 Sergey Poznyakoff
.\"
.\" BEAM is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
@@ -14,7 +14,7 @@
.\" You should have received a copy of the GNU General Public License
.\" along with BEAM. If not, see <http://www.gnu.org/licenses/>.
.\"
-.TH BEAM.CONF 5 "October 30, 2012" "BEAM" "BEAM User Reference"
+.TH BEAM.CONF 5 "March 18, 2014" "BEAM" "BEAM User Reference"
.SH NAME
beam.conf \- configuration file for
.B BEAM
@@ -300,6 +300,17 @@ backup type creates a dump of a MySQL database and archives it with
The database to dump and access credentials are specified using the
following variables:
.TP
+.BR \fIitem\fB_alldb = single | monolithic | split | individual
+Determines how to dump databases if the \fIitem\fB_database\fR
+(see below) variable is not set. The value \fBsingle\fR or
+\fBmonolithic\fR means dump all databases to a single file named
+after the \fIitem\fR. This is the default. The value \fBsplit\fR
+or \fBindividual\fR instructs \fBbeam\fR to dump each database into
+a separate file, named
+.nh
+\fIitem\fB-\fIdbname\fB-\fIweek\fB-\fIround\fB-\fIlevel\fB.\fIsuffix\fR
+.hy
+.TP
.BR \fIitem\fB_database = \fISTRING\fR
The database name. If this variable is empty, all databases will be
dumped.

Return to:

Send suggestions and report system problems to the System administrator.