system table backup strategy

Started by Flower Sunabout 23 years ago5 messagesgeneral
Jump to latest
#1Flower Sun
sun_2002_flower@yahoo.com

Hi, all,

What's the best way to backup system tables? Are system tables belong to template1 database?

Thank you,

Jing

---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

#2Ed L.
pgsql@bluepolka.net
In reply to: Flower Sun (#1)
Re: system table backup strategy

On Thursday March 20 2003 3:55, Flower Sun wrote:

What's the best way to backup system tables? Are system tables belong to
template1 database?

Just use pg_dump and it'll backup what needs to be backed up.

Ed

#3Steve Crawford
scrawford@pinpointresearch.com
In reply to: Ed L. (#2)
Re: system table backup strategy

Read through the man pages for pg_dump AND pg_dumpall then try each of them.
Run a couple of tests and read the output (it's just text psql commands) to
be sure you are getting what you want.

Cheers,
Steve

Show quoted text

On Thursday 20 March 2003 3:53 pm, Ed L. wrote:

On Thursday March 20 2003 3:55, Flower Sun wrote:

What's the best way to backup system tables? Are system tables belong to
template1 database?

Just use pg_dump and it'll backup what needs to be backed up.

Ed

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#4Dennis Gearon
gearond@cvc.net
In reply to: Ed L. (#2)
Re: system table backup strategy

While the system is hot and being accessed?

Ed L. wrote:

Show quoted text

On Thursday March 20 2003 3:55, Flower Sun wrote:

What's the best way to backup system tables? Are system tables belong to
template1 database?

Just use pg_dump and it'll backup what needs to be backed up.

Ed

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#5Ed L.
pgsql@bluepolka.net
In reply to: Dennis Gearon (#4)
Re: system table backup strategy

On Thursday March 20 2003 5:13, you wrote:

Ed L. wrote:

On Thursday March 20 2003 3:55, Flower Sun wrote:

What's the best way to backup system tables? Are system tables belong
to template1 database?

Just use pg_dump and it'll backup what needs to be backed up.

While the system is hot and being accessed?

Yes.