Database Restore command

From Origami_Wiki
Revision as of 18:52, 23 July 2025 by 103.72.179.172 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PG Restore

pg_restore -a -F t -d kailath_nov_9 -h localhost -U origami_dbadmin -W owrench_backup_kailath_corebiz_09-11-2012-08-01-02-am.tar
 -d database name
 -U username
 -W force password prompt

Alternate command in Windows:

psql.exe -U postgres -d cherthala_db -f C:\db\cherthalasandboxdb.sql