Backup database production : pg_dump -U postgres -h mtu.clwymxkzujl0.ap-southeast-1.rds.amazonaws.com -p 5432 -d mtu > dbexport.pgsql-24-Mei-2021
pg_dump -U postgres -h mtu.clwymxkzujl0.ap-southeast-1.rds.amazonaws.com -p 5432 -d mtu > dbexport.pgsql-24-Mei-2021
Download it to local : scp -i ~/.ssh/mtu.pem ubuntu@mtu-aws-web:/home/ubuntu/projects/mtu/.pg-backups/dbexport.pgsql-24-Mei-2021 ~/Downloads
scp -i ~/.ssh/mtu.pem ubuntu@mtu-aws-web:/home/ubuntu/projects/mtu/.pg-backups/dbexport.pgsql-24-Mei-2021 ~/Downloads
Take snapshot for each server
If there is mongodb server
Upload database postgres & mongodb to Google Drive Project
There was an error while loading. Please reload this page.