Age | Commit message (Collapse) | Author | Files |
|
* lib/App/Beam/Config.pm (get): Return dereferenced array and hash
refs.
(__lint): Fix array collection.
* lib/App/Beam.pm (%parameters): Mark unhandled keywords as arrays
(logger): Read from fd, if passed as the first argument.
(logcommand): New method.
* lib/App/Beam/Backend.pm: New file.
* lib/App/Beam/Backend/Tar.pm: New file.
* lib/App/Beam/Backup.pm (run): Assume result OK, unless already set
otherwise.
* lib/App/Beam/Command.pm: New file.
* MANIFEST: Update.
|
|
|
|
When location => 1 is passed to the constructor, the created
class will store source locations along with the configuration
variables.
* lib/App/Beam/Config.pm (error): Use the passed Locus object.
(new): New kw parameter "locations" controls whether source
locations are stored along with each configuration variable.
(check_mandatory): Handle wildcard parameter declarations.
(readconfig): Pass locations to all functions as Locus objects.
Store them if required.
(get): Rewrite to retrieve locations on request.
(isset,issection,isscalar): Rewrite.
(set): Handle the locations mode.
(names_of): New method.
* lib/App/Beam/Config/Locus.pm: New file.
* MANIFEST: Add new files.
* lib/App/Beam.pm (parameters): Declare "backend" and "item"
sections.
(new): Enable locations mode.
(logger, logger_line): Redo to make use of the passed Locus
object.
(load_backends): New method.
* t/TestConfig.pm: Rewrite.
* t/conf01l.t: New test case.
* t/conf02l.t: New test case.
* t/conf03l.t: New test case.
* t/conf04l.t: New test case.
* t/conf05l.t: New test case.
* t/locus.t: New test case.
|
|
subcommand
|
|
|
|
* 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.
|
|
* beam.conf: Set PATH
* doc/.gitignore: Add new generated files.
* doc/Makefile.am: Build and install beam-list.1 and
beam-module.5.
* doc/beam-backup.1in: Update.
* doc/beam-list.1in: New file.
* doc/beam-module.5in: New file.
* doc/beam-restore.1in: Update.
* doc/beam.1in: Update.
* .gitignore: Update.
|
|
* 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.
|
|
* beam.conf (backup_logrotate_conf): Initialize variable.
* cleaner.in: Include more detail in the initial verbose header.
* lib/beam/common.in (beam_logrotate): Pass $verbose to logrotate.
|
|
* Makefile.am (build.sed): Define LOCALSTATEDIR and DATAROOTDIR.
* beam.conf (openlog_hook): Initialize to beam_logrotate.
* doc/beam.conf.5in: Document openlog_hook and its default.
* lib/beam/common.in (beam_logrotate): New function.
|
|
* backup.in (backup): Run openlog_hook.
* beam.conf (openlog_hook): Document the hook.
* doc/beam.conf.5in: Likewise.
* lib/beam/common.in (load_config): Insert s3_mount at the
beginning of the prologue_hook.
|
|
* beam.conf: Document backup_s3_mount_options.
* lib/beam/s3.sh: Add backup_s3_mount_options to the list
of options passed to mount.
|
|
* NEWS: Update.
* README: Rewrite. Provide enough documentation for startup.
* doc/beam-cleaner.1in: New file.
* doc/Makefile.am: Build and install beam-cleaner.1.
* doc/beam-backup.1in: Fix the time-stamp-start variable.
* doc/beam-restore.1in: Likewise.
* doc/beam-s3.1in: Likewise.
* doc/beam.conf.5in: Likewise.
* backup.in: Mark with sh magic.
* beam.in: Likewise.
* lib/beam/common.in: Likewise.
* lib/beam/fs.sh: Likewise.
* lib/beam/mysql.sh: Likewise.
* lib/beam/postgres.sh: Likewise.
* lib/beam/s3.sh: Likewise.
* restore.in: Likewise.
* s3.in: Likewise.
|
|
* backup.in (backup): New function.
Send mail notification if backup_notify_email is not empty.
* lib/beam/common.in (mail_report): New function.
* beam.conf: Provide examples for the new variables.
* beam.in: Fix typos.
* doc/beam.conf.5in: Document new variables.
|
|
|