Difference between revisions of "Database Restore command"

From Origami_Wiki
Jump to navigation Jump to search
imported>Midhungirish
 
 
Line 6: Line 6:
 
   -U username
 
   -U username
 
   -W force password prompt
 
   -W force password prompt
 +
 +
Alternate command in Windows:
 +
 +
psql.exe -U postgres -d cherthala_db -f C:\db\cherthalasandboxdb.sql
 +
 +
  
 
[[Category:development]]
 
[[Category:development]]
 
[[Category:it-support]]
 
[[Category:it-support]]

Latest revision as of 18:52, 23 July 2025

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