pg restore

From wikieduonline
Revision as of 14:25, 3 May 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


pg_restore --jobs="${numcores}" --format=directory --dbname=cexplorer "${tmp_dir}/db/"


cat filename.tgz | tar -xzOf - path/to/filename.backup | pg_restore -U username -d databasename


cat filename.tgz | tar -xzO path/to/filename.backup | pg_restore -U username -d databasename


pg_restore --help
could not open input file

Related

See also

Advertising: