pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
lost database
6+ messages / 4 participants
[nested] [flat]

* lost database
@ 2003-12-09 16:12 Jodi Kanter <jkanter@virginia.edu>
  2003-12-09 16:44 ` Re: lost database Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Jodi Kanter @ 2003-12-09 16:12 UTC (permalink / raw)
  To: pgsql-admin

I am working with someone who has been running creating and maintaining 
his own database. He somehow managed to blow away his database and needs 
to restore. However, he has not been running regular dumps because he 
figured the tape backups were enough.
Is there anyway that I can assist him in retreiving his tables from 
backup tapes? I am not sure how or where that data is stored.
Thanks
Jodi Kanter
-- 

/_______________________________
//Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu <mailto:jkanter@virginia.edu>/

 

/ /

/ /

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

* Re: lost database
  2003-12-09 16:12 lost database Jodi Kanter <jkanter@virginia.edu>
@ 2003-12-09 16:44 ` Peter Eisentraut <peter_e@gmx.net>
  2003-12-09 17:17   ` Re: lost database Jodi Kanter <jkanter@virginia.edu>
  0 siblings, 1 reply; 6+ messages in thread

From: Peter Eisentraut @ 2003-12-09 16:44 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; pgsql-admin

Jodi Kanter wrote:
> Is there anyway that I can assist him in retreiving his tables from
> backup tapes? I am not sure how or where that data is stored.

Tell us more about how the backup was made, then we can tell you more 
about how to restore it.




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

* Re: lost database
  2003-12-09 16:12 lost database Jodi Kanter <jkanter@virginia.edu>
  2003-12-09 16:44 ` Re: lost database Peter Eisentraut <peter_e@gmx.net>
@ 2003-12-09 17:17   ` Jodi Kanter <jkanter@virginia.edu>
  2003-12-09 17:18     ` Re: lost database Peter Eisentraut <peter_e@gmx.net>
  2003-12-09 17:19     ` Re: lost database Joe Conway <mail@joeconway.com>
  0 siblings, 2 replies; 6+ messages in thread

From: Jodi Kanter @ 2003-12-09 17:17 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-admin

I am not sure I understand your question. why does the type of backup 
matter? It is a tape backup and it includes the entire /var directory 
where the pgsql directory exists. I am trying to determine what 
particular files need to be retrieved in order to restore the database 
as it existed yesterday. Is this possible?
Thanks for the assistance.
Jodi

Peter Eisentraut wrote:

>Jodi Kanter wrote:
>  
>
>>Is there anyway that I can assist him in retreiving his tables from
>>backup tapes? I am not sure how or where that data is stored.
>>    
>>
>
>Tell us more about how the backup was made, then we can tell you more 
>about how to restore it.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>  
>

-- 

/_______________________________
//Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu <mailto:jkanter@virginia.edu>/

 

/ /

/ /

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

* Re: lost database
  2003-12-09 16:12 lost database Jodi Kanter <jkanter@virginia.edu>
  2003-12-09 16:44 ` Re: lost database Peter Eisentraut <peter_e@gmx.net>
  2003-12-09 17:17   ` Re: lost database Jodi Kanter <jkanter@virginia.edu>
@ 2003-12-09 17:18     ` Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2003-12-09 17:18 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin

Jodi Kanter wrote:
> I am not sure I understand your question. why does the type of backup
> matter? It is a tape backup and it includes the entire /var directory
> where the pgsql directory exists.

That was the missing piece of information.

> I am trying to determine what
> particular files need to be retrieved in order to restore the
> database as it existed yesterday. Is this possible?
> Thanks for the assistance.

Shut down the server if still running, put back the entire data 
directory (probably /var/lib/pgsql in your case), and start the server. 
Partial restoration is not possibly from file system backup.




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

* Re: lost database
  2003-12-09 16:12 lost database Jodi Kanter <jkanter@virginia.edu>
  2003-12-09 16:44 ` Re: lost database Peter Eisentraut <peter_e@gmx.net>
  2003-12-09 17:17   ` Re: lost database Jodi Kanter <jkanter@virginia.edu>
@ 2003-12-09 17:19     ` Joe Conway <mail@joeconway.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Joe Conway @ 2003-12-09 17:19 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: Peter Eisentraut <peter_e@gmx.net>; pgsql-admin

Jodi Kanter wrote:
> I am not sure I understand your question. why does the type of backup 
> matter? It is a tape backup and it includes the entire /var directory 
> where the pgsql directory exists. I am trying to determine what 
> particular files need to be retrieved in order to restore the database 
> as it existed yesterday. Is this possible?
> Thanks for the assistance.

Restore the entire $PGDATA directory. If this is a default Red Hat 
system that would be something like /var/lib/pgsql/data

HTH,

Joe





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

* Re: lost database
@ 2003-12-09 21:30 Naomi Walker <nwalker@eldocomp.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Naomi Walker @ 2003-12-09 21:30 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin

I'm assuming you are using pg_dumpall for your backups.  In that case, i'd 
restore the instance somewhere else, and pg_dump the one database.

At 09:12 AM 12/9/2003, Jodi Kanter wrote:
>I am working with someone who has been running creating and maintaining 
>his own database. He somehow managed to blow away his database and needs 
>to restore. However, he has not been running regular dumps because he 
>figured the tape backups were enough.
>Is there anyway that I can assist him in retreiving his tables from backup 
>tapes? I am not sure how or where that data is stored.
>Thanks
>Jodi Kanter
>--
>
>_______________________________
>Jodi L Kanter
>BioInformatics Database Administrator
>University of Virginia
>(434) 924-2846
><mailto:jkanter@virginia.edu>jkanter@virginia.edu
>
>
>
>
>
>

-------------------------------------------------------------------------------------------------------------------------
Naomi Walker                         Chief Information Officer
                                               Eldorado Computing, Inc.
nwalker@eldocomp.com           602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Never eat more than you can lift.  - Miss Piggy
------------------------------------------------------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

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


end of thread, other threads:[~2003-12-09 21:30 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 16:12 lost database Jodi Kanter <jkanter@virginia.edu>
2003-12-09 16:44 ` Peter Eisentraut <peter_e@gmx.net>
2003-12-09 17:17   ` Jodi Kanter <jkanter@virginia.edu>
2003-12-09 17:18     ` Peter Eisentraut <peter_e@gmx.net>
2003-12-09 17:19     ` Joe Conway <mail@joeconway.com>
2003-12-09 21:30 Re: lost database Naomi Walker <nwalker@eldocomp.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