aboutsummaryrefslogtreecommitdiff
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 Poznyakoff2
* lib/beam/common.in (abend): Call beam_unlock explicitly (beam_lock): Rewrite. * lib/beam/ldap.sh (ldap_backup): Fix the -b option argument.
2014-09-01Clean up remote filesSergey Poznyakoff1
* cleaner.in: Detect if the files are remote, use beam_exec to remove them.
2014-09-01Bugfix.Sergey Poznyakoff1
* cleaner.in: Fix regexp for extracting week number from the filename.
2014-03-19Minor fixSergey Poznyakoff1
2014-03-19Version 1.5.90Sergey Poznyakoff3
2014-03-19Use uniform indentation, add missing copyleft headers, update years.Sergey Poznyakoff25
2014-03-18Allow for dumping each MySQL database into a separate file.Sergey Poznyakoff4
* 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-08-05Version 1.5release-1.5Sergey Poznyakoff2
2013-07-31Version 1.4.90Sergey Poznyakoff3
* NEWS: Version 1.4.90 * configure.ac: Likewise. * lib/beam/common.in (beam_lock): Bugfix.
2013-03-21Prevent reentrant invocations. Minor bugfix.Sergey Poznyakoff3
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.
2013-02-25Bugfix in cleanerSergey Poznyakoff1
* cleaner.in: do not use shell arithmetic expansions on week numbers, because weeks prior to 10 begin with 0 and therefore are processed as octal numbers. This causes grief for weeks 08 and 09.
2013-02-15Fix a minor bugSergey Poznyakoff1
* lib/beam/fs.sh (initdb): Print diagnostics before overwriting the variable it uses.
2013-01-16Fix threshold calculation in cleaner.inSergey Poznyakoff4
* cleaner.in: Fix 0ddbe02c. * NEWS: Version 1.4 * configure.ac: Update. * doc/beam-module.5in: Fix formatting.
2012-12-31Fix threshold calculation in cleaner.inSergey Poznyakoff1
* cleaner.in: Fixup lastweek if it becomes negative. This happens at the beginning of the year.
2012-12-04Bugfix.Sergey Poznyakoff1
* lib/beam/fs.sh (fs_restore): Fix the hardcoded file suffix.
2012-11-19Minor fix.Sergey Poznyakoff1
* cleaner.in: Limit descend to 1 directory level.
2012-10-30Create database dumps in temporary directory.Sergey Poznyakoff6
* 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-10-24Improve docs: escape dashes where necessary.Sergey Poznyakoff8
2012-07-15Update the docs.Sergey Poznyakoff7
2012-07-14Update README.Sergey Poznyakoff1
2012-07-14Update the docs.Sergey Poznyakoff9
* 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.
2012-07-13Add a LDAP backup module.Sergey Poznyakoff9
* 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-04Minor improvement.Sergey Poznyakoff1
* lib/beam/fs.sh: Fall back to level 0 if the previous snapshot file does not exist. This allows to add new items in the middle of the week.
2012-07-04Implement list command.Sergey Poznyakoff6
* list.in: New file. * .gitignore: Add list.sh * Makefile.am: Build and install list.sh * lib/beam/fs.sh: Implement list method. * lib/beam/mysql.sh: Likewise. * lib/beam/postgres.sh: Likewise.
2012-07-03Use "logit" instead of "echo".Sergey Poznyakoff3
2012-06-27Minor changes.Sergey Poznyakoff3
* 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 Poznyakoff4
* 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 Poznyakoff4
* 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-22Fix invocation of beam-cleaner.Sergey Poznyakoff1
* backup.in: Unset dry_run instead of initializing it to emtpy string. (backup): Run beam-cleaner after running prologue hooks, so that it sees a mounted backup directory.
2012-06-21Slight improvementSergey Poznyakoff3
* backup.in (backup): Pass $backup_suffix to beam-cleaner, instead of hardcoded value. Optimize "main" block somewhat. * NEWS, configure.ac: Version 1.3
2012-06-19Minor bug-fixes.Sergey Poznyakoff3
* backup.in (backup): Propagate the --dry-run option to beam-cleaner. * lib/beam/mysql.sh (mysql_backup): Fix hardcoded base name. * lib/beam/postgres.sh (postgres_backup): Likewise.
2012-06-14Bugfixes.Sergey Poznyakoff4
* doc/beam-restore.1in: Fix typo. * doc/beam.conf.5in: Fix section number in TH. Document changes to mysql module. * lib/beam/mysql.sh: Empty database name means dump all databases. * lib/beam/s3.sh (s3_mount): Fix a typo.
2012-06-13New configuration variable backup_s3_mount_optionsSergey Poznyakoff2
* beam.conf: Document backup_s3_mount_options. * lib/beam/s3.sh: Add backup_s3_mount_options to the list of options passed to mount.
2012-06-05Bugfixes.Sergey Poznyakoff1
* lib/beam/s3.sh: Fix typos.
2012-06-05BugfixesSergey Poznyakoff3
* lib/beam/s3.sh (s3_unmount): Implement --force option. Unless it is given, unmount only mount points from $umount_list. * s3.in: Pass --force option to s3_unmount. * restore.in (getyn): Fix a bashism.
2012-06-05Bugfix.Sergey Poznyakoff1
* lib/beam/mysql.sh: Do not use -A and --batch options with mysql: they disable --defaults-file somehow.
2012-06-03Add COPYING and bootstrap.Sergey Poznyakoff3
2012-06-03Minor fixSergey Poznyakoff1
* doc/Makefile.am: Distribute beam-cleaner.1
2012-06-01Improve docs.Sergey Poznyakoff19
* 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-31Improve mountpoint detection in s3.Sergey Poznyakoff1
* lib/beam/s3.sh (s3_getmpoint): Some kernels print device name instead of the actual mount file. (s3_unmount): Honor dry_run.
2012-05-31Implement exclusion patterns and additional tar options in the fs module.Sergey Poznyakoff6
* lib/beam/fs.sh: (fs_backup): New keywords ITEM_tar_options, ITEM_exclude and ITEM_exclude_files. * doc/beam.conf.5in: Document new keywords. * examples/Makefile.am: Remove. * examples/backup.conf.s3: Remove. * Makefile.am: Remove examples. * configure.ac: Remove examples.
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-30Raise version number (1.2)Sergey Poznyakoff1
2012-05-30Implement mail notification.Sergey Poznyakoff5
* 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 Poznyakoff26
2012-05-28Incorporate s3 support. Change hook handling.Sergey Poznyakoff15
(Additionally: mysql.sh has been tested.) * .gitignore: Add s3mount.sh * Makefile.am: Build and install s3mount (conditionally). * backup-cleanup: Rename to backup-cleaner. * backup.conf (backup_retain_interval) (backup_bucket_name,backup_mp_s3backer) (backup_mp_s3): New variables. * backup.in: Change hook handling: each hook is a list of commands which are executed in succession. New option --version (-V). Run backup-cleaner if backup_retain_interval is set. * restore.in: Change hook handling. New option --version (-V). * configure.ac: Change version to 1.1. New option --with-s3. * doc/backup.conf.5in: Document new variables and changes in the hook handling. * examples/.gitignore: Remove. * examples/Makefile.am: Remove s3mount. * examples/s3mount.in: Remove. * lib/backup/Makefile.am (libbackup_SCRIPTS, EXTRA_DIST): Add s3.sh * lib/backup/common.in: Source backup/s3 if backup_bucket_name is set. (runhook,print_version): New function. * lib/backup/s3.sh: New file. * s3mount.in: New file.
2012-05-25Add mysql.sh (untested). More configuration examples.Sergey Poznyakoff12
* Makefile.am: Install backup-cleanup. * backup-cleanup: New file. * backup.in (tar_version_options): Remove. (taroptions): Add -c. * examples/Makefile.am (EXTRA_DIST): Add s3mount.in (noinst_SCRIPTS): Add s3mount.sh * examples/backup.conf.s3 (prologue): Cleanup old files. * examples/s3mount.in: New file. * examples/.gitignore: New file. * lib/backup/Makefile.am (libbackup_SCRIPTS) (EXTRA_DIST): Add mysql.sh * lib/backup/fs.sh (fs_backup): Remove -c option: it is present in $taroptions by default. * lib/backup/mysql.sh: New file. * lib/backup/postgres.sh (postgres_backup): Fix variable name, * restore.in: More error checking.
2012-05-17Minor fixes.Sergey Poznyakoff2
* backup.in: Set and restore traps. * restore.in: Restore trap after executing epilogue_hook.
2012-05-17Minor changes.Sergey Poznyakoff3
* Makefile.am: Generate ChangeLog. * README: New file. * git2chg.awk: New file.

Return to:

Send suggestions and report system problems to the System administrator.