diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-13 15:39:16 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-13 15:39:16 +0300 |
commit | 35212ddd3ceb7d3b20957b9ce6786f4ddd716bbe (patch) | |
tree | 5d52d7295c639f0c905d0461f1dfe237b97b51e5 /beam.conf | |
parent | dd89ed279f6948fab60319262ffc4d25da8ecd10 (diff) | |
download | beam-35212ddd3ceb7d3b20957b9ce6786f4ddd716bbe.tar.gz beam-35212ddd3ceb7d3b20957b9ce6786f4ddd716bbe.tar.bz2 |
Add a LDAP backup module.
* lib/beam/ldap.sh: New file.
* lib/beam/Makefile.am (libbackup_SCRIPTS,EXTRA_DIST): Add ldap.sh.
* beam.conf: Update, mention new backup type.
* doc/beam.conf.5in: Update.
* lib/beam/common.in (load_config): If backup_archive_dir is not set,
and S3 backup is configured, set backup_archive_dir to $backup_mp_s3.
(beam_logrotate): Add missingok to the logrotate configuration.
* lib/beam/fs.sh: List configuration keywords.
* lib/beam/mysql.sh: Likewise.
* lib/beam/postgres.sh: Likewise.
* lib/beam/s3.sh: Likewise.
Diffstat (limited to 'beam.conf')
-rw-r--r-- | beam.conf | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -92,13 +92,17 @@ backup_suffix="tar.bz2" # # This variable must be set. Whatever directory it points to must already # exist, the backup script won't create it. -backup_archive_dir=/var/run +# +# The only exception to this is when backup_bucket_name is defined. In +# that case, if backup_archive_dir is empty, it is assigned to the value +# of backup_mp_s3 variable. This directory will be created, if needed. +backup_archive_dir=/var/backups # Directory where to store snapshot files. The files will be named as # their archive counterparts, with the suffix ".db". # # This variable must be set -backup_snapshot_dir=/var/run +backup_snapshot_dir=/var/lib/backups # Set this variable to a non-empty value if you wish backup procedures to # be verbose. @@ -124,12 +128,13 @@ backup_verbose= backup_items="dbdump system" # For each item in $backup_items, at least its type (variable <item>_type) -# must be declared. The item type determines the mechanism used to backup +# must be declared. Item type determines the mechanism used to back up # and restore it. Valid item types are: # # fs back up a file system # postgres back up a postgres database -# mysql backu up a mysql database +# mysql back up a mysql database +# ldap back up an LDAP database # # You may define additional types, if you need. To do so, create an executable # file named <type>.sh in the directory @LIBDIR@/beam. |