Difference between revisions of "Pg restore"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
  pg_restore --jobs="${numcores}" --format=directory [[--dbname]]=cexplorer "${tmp_dir}/db/"
 
  pg_restore --jobs="${numcores}" --format=directory [[--dbname]]=cexplorer "${tmp_dir}/db/"
 +
 +
 +
cat filename.tgz | [[tar -xzO]] filename.backup | pg_restore -U username -d databasename
  
  

Revision as of 04:43, 3 May 2023

Advertising: