/
DB Dump - playground
DB Dump - playground
Steps:
kubectl exec <playground-pod-name> -it -n playground bash
pg_dump -Fp --no-acl --no-owner --no-privileges -h <db-host> egov_db -U dbusername > backup.sql | gzip > backup.sql.gz (inside the pod)
kubectl cp <playground-pod-name>:/backup.sql.gz backup.sql.gz -n playground //copying to local machine
, multiple selections available,
Related content
Database Dump and Restore Approaches
Database Dump and Restore Approaches
More like this
GIT Basics
GIT Basics
Read with this
Database Dump and Restore Approaches
Database Dump and Restore Approaches
More like this
eGov DevOps Ticketing process
eGov DevOps Ticketing process
Read with this
MongoDB Migration Doc v2.0
MongoDB Migration Doc v2.0
More like this