Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vutrandn94/backup-restore-postgresql
Backup & Restore PostgreSQL
https://github.com/vutrandn94/backup-restore-postgresql
backup-script postgresql restore-script
Last synced: 7 days ago
JSON representation
Backup & Restore PostgreSQL
- Host: GitHub
- URL: https://github.com/vutrandn94/backup-restore-postgresql
- Owner: vutrandn94
- Created: 2025-01-06T09:45:08.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T10:08:59.000Z (14 days ago)
- Last Synced: 2025-01-06T10:44:48.985Z (14 days ago)
- Topics: backup-script, postgresql, restore-script
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# backup-restore-postgresql
Backup & Restore PostgreSQL with user authentication*Backup will be stored in folder with format "%d%m%Y"*
## Detailed information of variables
| Variable | Describe |
| :--- | :--- |
| PGUSER | PostgreSQL login user (Default: root) |
| PGPASSWORD | PostgreSQL password login user |
| PGPORT | PostgreSQL port connection (Default: 5432) |
| PGHOST | PostgreSQL host connection (Default: localhost) |
| DB_EXCLUDE | Exclude database backups |
| BACKUP_FOLDER | Folder storage backups |
| ROTATE_KEEP | Specify the number of backup copies to keep (Default: 7)|
| BACKUP_DIR | Exact path to the folder storing the backup files in (.sql) format that need to be restored |