pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
2+ messages / 2 participants
[nested] [flat]

* (no subject)
@ 2002-06-13 09:57  Yuen Joyce <joyceyuen36@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Yuen Joyce @ 2002-06-13 09:57 UTC (permalink / raw)
  To: pgsql-admin

Hello, 

I am interested in the file system level backup: 

http://www.postgresql.org/idocs/index.php?backup-file.html 

Is there any documentation/ suggestions on restoring file system backups. 

Thanks. 

Joyce Yuen 

_________________________________________________________________
¦b http://explorer.msn.com.hk/intl.asp §K¶O¤U¸ü MSN Explorer




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

* Re:
@ 2002-06-13 16:21  Tim Ellis <Tim.Ellis@gamet.com>
  parent: Yuen Joyce <joyceyuen36@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tim Ellis @ 2002-06-13 16:21 UTC (permalink / raw)
  To: Yuen Joyce <joyceyuen36@hotmail.com>; +Cc: pgsql-admin

> I am interested in the file system level backup: 
> 
> http://www.postgresql.org/idocs/index.php?backup-file.html 
> 
> Is there any documentation/ suggestions on restoring file system
> backups. 

It would be identical to Oracle's cold backup strategy (about which I'm
sure you'll find volumes on the web).

It is actually rather simple in concept:

1. tar up your entire Postgres directory (assuming your databases live
   within the Postgres directory) after you've shut down all your
   databases.

2. Wait until database crashes and is irrecoverable.

3. De-tar your Postgres backup into the directory again.

4. Start up your database.

5. Be delighted about how well it worked out, but because you're paranoid,
   do as many queries as you can on the data to see if it looks sane.

Of course, it is suggested you replace step #2 with: "Every now and then
when you're paranoid do steps 3-5 somewhere."

I suggest you read any backup and recovery book. I particularly recommend
Unix Backup and Recovery here: http://www.backupcentral.com/thebook.html
-- that book, although dealing not with database backups, will cover 90%
of the concepts you need to understand Postgres "cold" filesystem-level
backups.

As a DBA, though, I'd finally give you this advice: use the online backup
facility. It shouldn't be any more difficult, and it will let you leave
the database up and running whilst you backup.

--
Tim Ellis
DBA, Gamet



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


end of thread, other threads:[~2002-06-13 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-13 09:57  Yuen Joyce <joyceyuen36@hotmail.com>
2002-06-13 16:21 ` Re: Tim Ellis <Tim.Ellis@gamet.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