postgres how to backup database code example
Example 1: postgresql restore from dump
psql -U postgres -h localhost -p 5432 -f data_dump.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