pgsql-tools
PgSQL Backup Script
Usage: backup.sh [--help|--clean|--backup|--restore]
--clean: Run's backup cull/cleanup job
--backup [database]: Runs backup job (leave 'database' variable to run all)
--restore [restorefile] [newdatabase]: Restore's an archive to the new database name
Like my stuff?
Would you like to buy me a coffee or send me a tip? While it's not expected, I would really appreciate it.