Difference between revisions of "Restore DB"

From wikieduonline
Jump to navigation Jump to search
(Created page with " gunzip < your_latest_backup.gz | psql -h YOUR_DB_ENDPOINT -U your_user -d your_db")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  gunzip < your_latest_backup.gz | psql -h YOUR_DB_ENDPOINT -U your_user -d your_db
+
  [[gunzip]] < your_latest_backup.gz | [[psql -h]] YOUR_DB_ENDPOINT -U your_user -d your_db
 +
 
 +
Related:
 +
[[SET]]
 +
[[CREATE SEQUENCE]]
 +
[[ALTER SEQUENCE]]
 +
[[COPY]] 23038138
 +
[[CREATE INDEX]]
 +
[[ALTER TABLE]]
 +
ERROR:  role "NONEXITSROLE" does not exist
 +
WARNING:  [[no privileges could be revoked for]] "public"
 +
[[REVOKE]]
 +
[[WARNING]]:  no privileges were granted for "public"
 +
GRANT
 +
ERROR:  role "your_sole" does not exist
 +
[[set_config]]
 +
 
 +
== Related ==
 +
* <code>[[pg_restore]]</code>
 +
 
 +
== See also ==
 +
* {{PostgreSQL}}
 +
 
 +
[[Category:PostgreSQL]]

Latest revision as of 19:21, 23 June 2022

Advertising: