Thread: AW: Big 7.1 open items
> It's just not possible to do > multiple file renames atomically. This is not necessary, since *_<OID> is unique regardless of relname prefix. Andreas
At 10:04 AM 6/15/00 +0200, Zeugswetter Andreas SB wrote: > >> In reality, very few people are going to be interested in restoring >> a table in a way that breaks referential integrity and other >> normal assumptions about what exists in the database. > >This is not true. In my DBA history it would have saved me manweeks >of work if an easy and efficient restore of one single table from backup >would have been available in Informix and Oracle. >We allways had to restore most of the whole system to another machine only >to get back at some table info that would then be manually re-added >to the production system. I'm missing something, I guess. You would do a createdb, do a filesystem copy of pg_log and one file into it, and then read data from the tablewithout having to restore the other tables in the database? I'm just curious - when was the last time you restored a Postgres database in this piecemeal manner, and how often do you do it? - Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert Serviceand other goodies at http://donb.photo.net.
Don Baccus wrote: > At 10:04 AM 6/15/00 +0200, Zeugswetter Andreas SB wrote: > > > >This is not true. In my DBA history it would have saved me manweeks > >of work if an easy and efficient restore of one single table from backup > >would have been available in Informix and Oracle. > >We allways had to restore most of the whole system to another machine only > >to get back at some table info that would then be manually re-added > >to the production system. > > I'm missing something, I guess. You would do a createdb, do a filesystem > copy of pg_log and one file into it, and then read data from the table > without having to restore the other tables in the database? > > I'm just curious - when was the last time you restored a Postgres > database in this piecemeal manner, and how often do you do it? More curios to me is that people seem to use physical file based backup at all. Do they shutdown the postmaster during backup or do they live with the fact that maybe not every backup is a vital one? Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #
> > I'm just curious - when was the last time you restored a Postgres > > database in this piecemeal manner, and how often do you do it? > > More curios to me is that people seem to use physical file > based backup at all. Do they shutdown the postmaster during > backup or do they live with the fact that maybe not every > backup is a vital one? I sure hope they shut down the postmaster, or know that nothing is happening during the backup. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
On Thu, 15 Jun 2000, Bruce Momjian wrote: > > > I'm just curious - when was the last time you restored a Postgres > > > database in this piecemeal manner, and how often do you do it? > > > > More curios to me is that people seem to use physical file > > based backup at all. Do they shutdown the postmaster during > > backup or do they live with the fact that maybe not every > > backup is a vital one? > > I sure hope they shut down the postmaster, or know that nothing is > happening during the backup. I do a backup based on a pg_dump snapshot at the time of the backup ...