My personal backup script
- Backup from PostgreSQL databases
- Backup from File or Directory using scp
- Notify on email using SMTP
- Backup to one file with Zip method.
- sshpass
- zip
- curl
- pg_dump
- jq
- git clone
https://github.com/ahmdrz/backup. - modify
config.jsonfile. - run
sh backup.sh. - (optional) configure a
cronjobfor this backup script.
NOTE
You can use sh backup.sh <config_file> for change configuration file name.
Default is config.json
This project is forked from narbehaj/backup