Backup & Restore

From: Felipe Giotto <felipe(at)metasoftware(dot)com(dot)br>
To: pgsql-novice(at)postgresql(dot)org
Subject: Backup & Restore
Date: 2006-09-27 12:13:54
Message-ID: 451A6B02.9050402@metasoftware.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi!

I know this is a extremely novice question :D, but I'm trying to use a
simple command to backup an entire database to a file, and then restore
the entire database from the file, overwriting all the previously data
stored on the old database. I tried pg_dump and pg_restore (i can't
remember the parameters right now), but pg_restore always returns an
error about primary key violations. Can anybody tell me two commands to
backup and restore my databases without these key violation problems?

Thanks for the help!

Felipe Giotto ;-)

PS: Sorry for my poor english!! :D

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message A. Kretschmer 2006-09-27 12:57:05 Re: Backup & Restore
Previous Message toto titi 2006-09-27 11:40:27 RE : Re: Problem with template1 database