Age | Commit message (Collapse) | Author | Files |
|
* lib/beam/common.in (construct_mail_header): New function.
(mail_report): Build mail headers using construct_mail_header.
|
|
* lib/beam/common.in (abend): Call beam_unlock explicitly
(beam_lock): Rewrite.
* lib/beam/ldap.sh (ldap_backup): Fix the -b option argument.
|
|
* cleaner.in: Detect if the files are remote, use beam_exec
to remove them.
|
|
* cleaner.in: Fix regexp for extracting week number from the filename.
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* NEWS: Version 1.4.90
* configure.ac: Likewise.
* lib/beam/common.in (beam_lock): Bugfix.
|
|
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.
|
|
* 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.
|
|
* lib/beam/fs.sh (initdb): Print diagnostics before overwriting
the variable it uses.
|
|
* cleaner.in: Fix 0ddbe02c.
* NEWS: Version 1.4
* configure.ac: Update.
* doc/beam-module.5in: Fix formatting.
|
|
* cleaner.in: Fixup lastweek if it becomes negative. This happens
at the beginning of the year.
|
|
* lib/beam/fs.sh (fs_restore): Fix the hardcoded file suffix.
|
|
* cleaner.in: Limit descend to 1 directory level.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* 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.
|
|
* 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.
|
|
* backup.in (backup): Pass $backup_suffix to beam-cleaner,
instead of hardcoded value.
Optimize "main" block somewhat.
* NEWS, configure.ac: Version 1.3
|
|
* 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.
|
|
* 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.
|
|
* beam.conf: Document backup_s3_mount_options.
* lib/beam/s3.sh: Add backup_s3_mount_options to the list
of options passed to mount.
|
|
* lib/beam/s3.sh: Fix typos.
|
|
* 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.
|
|
* lib/beam/mysql.sh: Do not use -A and --batch options with
mysql: they disable --defaults-file somehow.
|
|
|
|
* doc/Makefile.am: Distribute beam-cleaner.1
|
|
* 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.
|
|
* lib/beam/s3.sh (s3_getmpoint): Some kernels print device name
instead of the actual mount file.
(s3_unmount): Honor dry_run.
|
|
* 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.
|
|
* lib/beam/common.in (dry_mail): New function.
(mail_report): Use dry_mail to "send" the message in
dry-run mode.
|
|
|
|
* 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.
|
|
|
|
(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.
|
|
* 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.
|
|
* backup.in: Set and restore traps.
* restore.in: Restore trap after executing epilogue_hook.
|
|
* Makefile.am: Generate ChangeLog.
* README: New file.
* git2chg.awk: New file.
|