Difference between revisions of "Restore DB"
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
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[edit]
See also[edit]
- PostgreSQL:
pg_dump, pg_restore
,pgAdmin, pg_config, psql, pg_ctl, pg_isready, initdb
, Role, Schema, DBeaver, Navicat, DataGrip, OmniDB,Adminer
, docker-compose.xml PostgreSQL, PostgreSQL version, PostgreSQL logs,postgresql.conf
,pg_hba.conf, $HOME/.pg_service.conf
, Create database (PostgreSQL), Create user,createdb
,GRANT
,pg_stat
, PostgreSQL VACUUM, EXPLAIN,pg stat activity
, Autovacuum, ALTER DATABASE, PostgreSQL statistics collector, Shared buffers, EXPLAIN (PostgreSQL),EXPLAIN ANALYZE
, Bitmap scan,EXPLAIN VERBOSE
,EXPLAIN VERBOSE (PostgresSQL)
,WAL
,ALTER USER
,CREATE ROLE, CREATE USER
,\du
,show users
,\l
, The Statistics Collector, pganalyze,cron.schedule
, Master,pg_tables
, PostgreSQL replication,CREATE, SET
, TOAST, PgBouncer, Restore DB, Index, meta-commands, Table, foreign table, Schema, Sequence, Views, materialized view, Table Partitioning, monitoring, PostgreSQL System Administration Functions, PostgreSQL extension, privileges, logging, PGTune, PostgreSQL parameter tunning, PostgreSQL modules, pgbench, PostgreSQL users, catalogs
Advertising: