https://github.com/bcambl/pgbackup
A simple PostgreSQL backup rotation script
https://github.com/bcambl/pgbackup
Last synced: 4 days ago
JSON representation
A simple PostgreSQL backup rotation script
- Host: GitHub
- URL: https://github.com/bcambl/pgbackup
- Owner: bcambl
- License: bsd-3-clause
- Created: 2015-02-06T06:06:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-06T06:07:17.000Z (over 11 years ago)
- Last Synced: 2025-02-27T11:28:46.465Z (over 1 year ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
A simple PostgreSQL backup rotation
-----------------------------------
###Description
A simple script to perform a full database dump using pg_dumpall.
Create a cron job for this script to run every day. Every backup will
over-write the previous months backup for the current day.
Script must be run by a user with permissions to the backup location and
ability to switch to the postgres user.
..or run as root.
Default backup file name:
/path/to/backups/pg_dumpall-.bz2