Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

vutrandn94/backup-restore-postgresql

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Backup & Restore PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.