how to backup postgresql database fastest code example
Example 1: backup postgres database docker
docker exec -t your-db-container pg_dumpall -c -U postgres > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
Example 2: how to take backup in dbeaver with postgresql
Check
Native client configuration
Example 3: how to backup postgresql database using pg_dump
pg_dump dbname > outfile