aboutsummaryrefslogtreecommitdiff
path: root/lib/beam/common.in
AgeCommit message (Collapse)AuthorFiles
2020-06-26Fix formatting of mail headersHEADmasterSergey Poznyakoff1
* lib/beam/common.in (construct_mail_header): New function. (mail_report): Build mail headers using construct_mail_header.
2018-05-11BugfixSergey Poznyakoff1
* lib/beam/common.in (abend): Call beam_unlock explicitly (beam_lock): Rewrite. * lib/beam/ldap.sh (ldap_backup): Fix the -b option argument.
2014-03-19Minor fixSergey Poznyakoff1
2014-03-19Use uniform indentation, add missing copyleft headers, update years.Sergey Poznyakoff1
2014-03-18Allow for dumping each MySQL database into a separate file.Sergey Poznyakoff1
* 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.
2013-07-31Version 1.4.90Sergey Poznyakoff1
* NEWS: Version 1.4.90 * configure.ac: Likewise. * lib/beam/common.in (beam_lock): Bugfix.
2013-03-21Prevent reentrant invocations. Minor bugfix.Sergey Poznyakoff1
At startup a pid file is checked. If it exists, another beam process is assumed to be running and start up is aborted. Otherwise a new pid file is created. The existing pid is removed before exiting (by epilogue_hook). * backup.in (prologue_hook): Prepend beam_lock. * lib/beam/common.in (backup_pidfile): New global. (beam_lock,beam_unlock): New functions. * lib/beam/s3.sh (s3_getmpoint): Fix regexp to take into account s3backer invocation without --vhost.
2012-10-30Create database dumps in temporary directory.Sergey Poznyakoff1
* 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.
2012-07-13Add a LDAP backup module.Sergey Poznyakoff1
* 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.
2012-07-03Use "logit" instead of "echo".Sergey Poznyakoff1
2012-06-27Minor changes.Sergey Poznyakoff1
* 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.
2012-06-26Provide a default log rotate hook.Sergey Poznyakoff1
* 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.
2012-06-26Provide a new hook, to be run prior to opening the log file.Sergey Poznyakoff1
* 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.
2012-06-01Improve docs.Sergey Poznyakoff1
* 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.
2012-05-30Honor --dry-run mode when sending mail.Sergey Poznyakoff1
* lib/beam/common.in (dry_mail): New function. (mail_report): Use dry_mail to "send" the message in dry-run mode.
2012-05-30Implement mail notification.Sergey Poznyakoff1
* 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.
2012-05-29Rename project to BEAM (Backup Easy And Manageable).Sergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.