Експорт та імпорт
pg_dump -U postgres -Fc -d mydb > mydb.dump
createdb -U postgres mydb_new
pg_restore -U postgres -d mydb_new -j 4 mydb.dump
💡 Custom формат (-Fc) підтримує паралельне відновлення з -j і стискання.
pg_dump -U postgres -Fc -d mydb > mydb.dump
createdb -U postgres mydb_new
pg_restore -U postgres -d mydb_new -j 4 mydb.dump