pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Disaster Recovery!!
3+ messages / 3 participants
[nested] [flat]

* Disaster Recovery!!
@ 2001-06-12 13:07 James Snelling <spare1@cqm.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: James Snelling @ 2001-06-12 13:07 UTC (permalink / raw)
  To: pgsql-admin

I had a Linux 6.2 box running serveral virtual domain hosted websites.

Several of these websites used postgres databases, connecting via php3.

I ran a script by accident that totaly messed up the server, basicly rm'ed most of the files on the whole box that were less than 24 hours old. -doh!

Luckily I have some tar-ed backups of  all the normal stuff you would have in the pg data directory. and also the websites and http conf files.

So the plan is to set up a new box with a clean install of redhat, apache, postgres and php then drop the data directory back in from the backup.

Do you think this will work?

Any other thoughts on disaster recorvery are also welcomed.

Cheers, James (embarrased taht he could run such a daft script in the first place!!!)

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

* disaster recovery...
@ 2003-10-23 20:11 Dave [Hawk-Systems] <dave@hawk-systems.com>
  2003-10-23 20:26 ` Re: disaster recovery... scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Dave [Hawk-Systems] @ 2003-10-23 20:11 UTC (permalink / raw)
  To: pgsql-admin

have a server that went belly up on us.

We do have copies of the data directories on backups, but no recent dumps.
Old server was ver 7.0 branch (7.0.3 if memory serves)

New server is set up with pg ver 7.3 branch (7.3.4)

Is there any way to recover the data using the 7.0 data files?

We do have another server that has a 7.0 branch installation...  have not tried
transplanting the data files to that server as of yet.

thoughts, shared experiences, or other such insight would be appreciated.

Dave





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

* Re: disaster recovery...
  2003-10-23 20:11 disaster recovery... Dave [Hawk-Systems] <dave@hawk-systems.com>
@ 2003-10-23 20:26 ` scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 0 replies; 3+ messages in thread

From: scott.marlowe @ 2003-10-23 20:26 UTC (permalink / raw)
  To: Dave [Hawk-Systems] <dave@hawk-systems.com>; +Cc: pgsql-admin

You'll have to transfer the data over to a 7.0.x machine to recover it.

On Thu, 23 Oct 2003, Dave [Hawk-Systems] wrote:

> have a server that went belly up on us.
> 
> We do have copies of the data directories on backups, but no recent dumps.
> Old server was ver 7.0 branch (7.0.3 if memory serves)
> 
> New server is set up with pg ver 7.3 branch (7.3.4)
> 
> Is there any way to recover the data using the 7.0 data files?
> 
> We do have another server that has a 7.0 branch installation...  have not tried
> transplanting the data files to that server as of yet.
> 
> thoughts, shared experiences, or other such insight would be appreciated.
> 
> Dave
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 
> 




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


end of thread, other threads:[~2003-10-23 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-12 13:07 Disaster Recovery!! James Snelling <spare1@cqm.co.uk>
2003-10-23 20:11 disaster recovery... Dave [Hawk-Systems] <dave@hawk-systems.com>
2003-10-23 20:26 ` Re: disaster recovery... scott.marlowe <scott.marlowe@ihs.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