pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
duplicate records after restore
2+ messages / 2 participants
[nested] [flat]

* duplicate records after restore
@ 2006-08-28 06:21 Gera Mel Handumon <geramel.h@gmail.com>
  2006-08-29 00:00 ` Re: duplicate records after restore Aaron Bono <postgresql@aranya.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gera Mel Handumon @ 2006-08-28 06:21 UTC (permalink / raw)
  To: pgsql-admin

hi,

I have 2 pc pc1,pc2. i create a backup from pc1 and restore to pc2. After
database restore it will create a duplicate records of my attendance table.
i used pgadmin3 1.4.3 for backup/restore.

Any help would be greatly appreciated.

TIA,

Mel

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: duplicate records after restore
  2006-08-28 06:21 duplicate records after restore Gera Mel Handumon <geramel.h@gmail.com>
@ 2006-08-29 00:00 ` Aaron Bono <postgresql@aranya.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Aaron Bono @ 2006-08-29 00:00 UTC (permalink / raw)
  To: Gera Mel Handumon <geramel.h@gmail.com>; +Cc: pgsql-admin

On 8/28/06, Gera Mel Handumon <geramel.h@gmail.com> wrote:
>
> hi,
>
> I have 2 pc pc1,pc2. i create a backup from pc1 and restore to pc2. After
> database restore it will create a duplicate records of my attendance table.
> i used pgadmin3 1.4.3 for backup/restore.
>
> Any help would be greatly appreciated.
>


When I do backup/restore, I just use pg_dump to do the backup and then psql
to import the backup.  Note that before restoring, I drop the database and
recreate it.  This ensures the database is "clean" before the import.

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-08-29 00:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-28 06:21 duplicate records after restore Gera Mel Handumon <geramel.h@gmail.com>
2006-08-29 00:00 ` Aaron Bono <postgresql@aranya.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox