pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dump and schemas
3+ messages / 2 participants
[nested] [flat]
* pg_dump and schemas
@ 2003-12-02 19:58 ow <oneway_111@yahoo.com>
0 siblings, 0 replies; 3+ messages in thread
From: ow @ 2003-12-02 19:58 UTC (permalink / raw)
To: pgsql-admin
pgSql 7.4.0
Hi,
Suppose, there are two (2) schemas in the database: schemaA and schemaB.
schemaA is relatively small and updated all the time, schemaB is huge and
updated occasionally, maybe several times a day. The whole database, with
schemaA and schemaB, is dumped once a week, say Sunday, and schemaA is also
dumped every night. The whole db cannot be backed up every night due to lack of
time.
Say, on Thursday, it was determined that db is corrupt and we need to restore
it from backups. We'll take Sunday's dump of the whole database and then try to
apply Wednesday's dump of schemaA to it. I guess we'll also need Wednesday's
pg_catalog schema dump?
I wonder if the above approach will lead to problems since the state of schemaB
is from Sunday but schemaA and, most importantly, pg_catalog schema, is from
Wednesday. schemaB may have been updated between Sunday and Wednesday.
Any ideas? Thanks
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
* pg_dump and schemas
@ 2003-12-04 18:57 ow <oneway_111@yahoo.com>
2003-12-04 20:55 ` Re: pg_dump and schemas Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: ow @ 2003-12-04 18:57 UTC (permalink / raw)
To: pgsql-admin
pgSql 7.4.0
Hi,
If a *schema* is dumped and then restored on a different server, will it be
necessary to also restore system schemas, e.g. pg_catalog?
Thanks
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_dump and schemas
2003-12-04 18:57 pg_dump and schemas ow <oneway_111@yahoo.com>
@ 2003-12-04 20:55 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 3+ messages in thread
From: Peter Eisentraut @ 2003-12-04 20:55 UTC (permalink / raw)
To: ow <oneway_111@yahoo.com>; +Cc: pgsql-admin
ow writes:
> If a *schema* is dumped and then restored on a different server, will it be
> necessary to also restore system schemas, e.g. pg_catalog?
No.
--
Peter Eisentraut peter_e@gmx.net
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-12-04 20:55 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-02 19:58 pg_dump and schemas ow <oneway_111@yahoo.com>
2003-12-04 18:57 pg_dump and schemas ow <oneway_111@yahoo.com>
2003-12-04 20:55 ` Peter Eisentraut <peter_e@gmx.net>
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