[Bps-public-commit] postgresql_auto_backup_s3 branch update-for-hostedrt-backups updated. 42659564a6d7200f5a6d37b891937e7c8211c27b

BPS Git Server git at git.bestpractical.com
Wed Mar 16 00:05:39 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "postgresql_auto_backup_s3".

The branch, update-for-hostedrt-backups has been updated
       via  42659564a6d7200f5a6d37b891937e7c8211c27b (commit)
      from  944726e1a7f5a7b38bfe3a9c4aeaaaeb38c81610 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 42659564a6d7200f5a6d37b891937e7c8211c27b
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Tue Mar 15 19:05:24 2022 -0500

    Add cron example to README.md

diff --git a/README.md b/README.md
index 5fc34e0..735b282 100644
--- a/README.md
+++ b/README.md
@@ -96,6 +96,13 @@ creating daily backup - s3://s3backup-test-backup/pg_backups/20220315-daily-rt4.
 creating daily backup - s3://s3backup-test-backup/pg_backups/20220315-daily-rt5.sql.gz
 ```
 
+### create automated backups and upload to s3 via cron
+
+```
+$ sudo vi /etc/cron.d/pg_backup
+0 5 * * * bps /bin/bash /opt/postgresql_auto_backup_s3/pg_backup_rotated.sh --config /opt/postgresql_auto_backup_s3/pg_backup.config.s3 --quiet
+```
+
 ## CAVEATS
 
 The backup scripts in `postgresql_auto_backup_s3` have been specifically modified to backup RT databases as outlined in the [RT 5.0.2 database administration documentation](https://docs.bestpractical.com/rt/5.0.2/system_administration/database.html#PostgreSQL).
-----------------------------------------------------------------------

Summary of changes:
 README.md | 7 +++++++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 
postgresql_auto_backup_s3


More information about the Bps-public-commit mailing list