Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>, pgsql-general(at)postgreSQL(dot)org, PostgreSQL Developers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Date: 1999-11-29 19:10:20
Message-ID: 199911291910.OAA29896@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Moving table file to/off database dir separately is not right way for
> backup/restore...
>
> On-line/off-line full backup utility will copy _all_ database files to
> _somewhere_ (tape etc) as well as on-line transaction logs
> and pg_control (to know when was the last checkpoint made).
> And to restore things after disk failure administrator will
> have to copy _all_ files + logs (+logs made as incremental backup)
> + pg_control back and start postmaster.

No, I am talking about restoring a single table without doing the entire
database. If you recreate the table empty with the same structure,
shutdown db, mv table restored file to data directory and restart, table
not has old contents.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-11-29 19:12:04 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Bruce Momjian 1999-11-29 19:08:41 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-29 19:12:04 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions
Previous Message Bruce Momjian 1999-11-29 19:08:41 Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions