backup and restore questions

From: "Sally Sally" <dedeb17(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: backup and restore questions
Date: 2004-02-19 17:41:26
Message-ID: BAY9-F658F3dUJUsiGK0006d4f9@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<html><div style='background-color:'><DIV class=RTE>I had a few questions concerning the backup/restore process for pg. </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>1) Is it possible to dump&nbsp;data onto an existing database that contains data (assumning the schema of both are the same). Has anyone done this? I am thinking of this in order to expediate the data load process</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>2) I read that when dumping and restoring data the insert option is safer but slower than copy? Does anyone know from experience how much slower (especially for a database containing millions of records).</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>3) can pg_restore accept a file that is not archived like a zipped file or plain text file (file.gz or file)</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>4) Is the general practise to have one&nbsp;whole&nbsp;dump of a database or several separate dumps (by table etc...)?</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Thanks a lot</DIV>
<DIV class=RTE>Sally</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2746??PS=">Take off on a romantic weekend or a family adventure to these great U.S. locations.</a> </html>

Attachment Content-Type Size
unknown_filename text/html 1.2 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-02-19 17:52:04 Re: PostgreSQL on Windows
Previous Message anwar 2004-02-19 17:39:13 Post gresql commands