Backup your databases
docker exec -t your-db-container pg_dumpall -c -U postgres > dump_date +%d-%m-%Y"_"%H_%M_%S
.sql
Restore your databases
cat your_dump.sql | docker exec -i your-db-container psql -U postgres
Backup your databases
docker exec -t your-db-container pg_dumpall -c -U postgres > dump_date +%d-%m-%Y"_"%H_%M_%S
.sql
Restore your databases
cat your_dump.sql | docker exec -i your-db-container psql -U postgres
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Ahmad Tibibi -
Lior Amsalem -
Ahmad Tibibi -
Turing -
Top comments (0)