From jkanter@virginia.edu Tue Dec 9 16:00:30 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9AB69D1B4A9 for ; Tue, 9 Dec 2003 16:00:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 55171-10 for ; Tue, 9 Dec 2003 11:59:59 -0400 (AST) Received: from unix.mail.Virginia.EDU (unix.mail.Virginia.EDU [128.143.2.28]) by svr1.postgresql.org (Postfix) with ESMTP id 3A7DCD1B475 for ; Tue, 9 Dec 2003 11:59:58 -0400 (AST) Received: from smtp.mail.Virginia.EDU (smtp.mail.Virginia.EDU [128.143.22.52]) by unix.mail.Virginia.EDU (Postfix) with ESMTP id 40D01A9F4 for ; Tue, 9 Dec 2003 10:59:51 -0500 (EST) Received: from virginia.edu (d-137-133-128.bootp.Virginia.EDU [137.54.133.128]) by smtp.mail.Virginia.EDU (Postfix) with ESMTP id 5F25C21042 for ; Tue, 9 Dec 2003 10:59:50 -0500 (EST) Message-ID: <3FD5F45F.6070309@virginia.edu> Date: Tue, 09 Dec 2003 11:12:15 -0500 From: Jodi Kanter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Postgres Admin List Subject: lost database Content-Type: multipart/alternative; boundary="------------020109010704070209060509" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=ASCII_FORM_ENTRY, HTML_70_80, USER_AGENT_MOZILLA_UA X-Spam-Level: * X-Archive-Number: 200312/105 X-Sequence-Number: 11613 This is a multi-part message in MIME format. --------------020109010704070209060509 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 / / / / / --------------020109010704070209060509 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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


 

 

 

--------------020109010704070209060509-- From peter_e@gmx.net Tue Dec 9 16:44:47 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D968ED1B42F for ; Tue, 9 Dec 2003 16:44:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66023-06 for ; Tue, 9 Dec 2003 12:44:16 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 867EED1B480 for ; Tue, 9 Dec 2003 12:44:15 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id BB975562C8; Tue, 9 Dec 2003 17:44:14 +0100 (CET) Received: from 192.168.2.126 (dsl-213-023-254-243.arcor-ip.net [213.23.254.243]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 2148A56271; Tue, 9 Dec 2003 17:44:14 +0100 (CET) From: Peter Eisentraut To: Jodi Kanter , Postgres Admin List Subject: Re: lost database Date: Tue, 9 Dec 2003 17:44:12 +0100 User-Agent: KMail/1.5.4 References: <3FD5F45F.6070309@virginia.edu> In-Reply-To: <3FD5F45F.6070309@virginia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312091744.12260.peter_e@gmx.net> X-Virus-Scanned: by AMaViS X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/107 X-Sequence-Number: 11615 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. From jkanter@virginia.edu Tue Dec 9 17:05:47 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 55F39D1B47D for ; Tue, 9 Dec 2003 17:05:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 69890-07 for ; Tue, 9 Dec 2003 13:05:16 -0400 (AST) Received: from unix.mail.Virginia.EDU (unix.mail.Virginia.EDU [128.143.2.28]) by svr1.postgresql.org (Postfix) with ESMTP id E4BA9D1B474 for ; Tue, 9 Dec 2003 13:05:14 -0400 (AST) Received: from smtp.mail.Virginia.EDU (smtp.mail.Virginia.EDU [128.143.22.52]) by unix.mail.Virginia.EDU (Postfix) with ESMTP id 1BF32A8D5; Tue, 9 Dec 2003 12:05:13 -0500 (EST) Received: from virginia.edu (d-137-133-128.bootp.Virginia.EDU [137.54.133.128]) by smtp.mail.Virginia.EDU (Postfix) with ESMTP id 920B621044; Tue, 9 Dec 2003 12:05:12 -0500 (EST) Message-ID: <3FD603B1.6020808@virginia.edu> Date: Tue, 09 Dec 2003 12:17:37 -0500 From: Jodi Kanter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Eisentraut Cc: Postgres Admin List Subject: Re: lost database References: <3FD5F45F.6070309@virginia.edu> <200312091744.12260.peter_e@gmx.net> In-Reply-To: <200312091744.12260.peter_e@gmx.net> Content-Type: multipart/alternative; boundary="------------000303020403000307000300" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=ASCII_FORM_ENTRY, EMAIL_ATTRIBUTION, HTML_60_70, IN_REP_TO, REFERENCES, REPLY_WITH_QUOTES, USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200312/110 X-Sequence-Number: 11618 This is a multi-part message in MIME format. --------------000303020403000307000300 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 / / / / / --------------000303020403000307000300 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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


 

 

 

--------------000303020403000307000300-- From peter_e@gmx.net Tue Dec 9 17:19:30 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5A558D1B47D for ; Tue, 9 Dec 2003 17:19:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 72187-07 for ; Tue, 9 Dec 2003 13:18:59 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 8CA21D1B4AD for ; Tue, 9 Dec 2003 13:18:58 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id 10621562CC; Tue, 9 Dec 2003 18:18:58 +0100 (CET) Received: from 192.168.2.126 (dsl-213-023-254-243.arcor-ip.net [213.23.254.243]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 5C620562CB; Tue, 9 Dec 2003 18:18:57 +0100 (CET) From: Peter Eisentraut To: Jodi Kanter Subject: Re: lost database Date: Tue, 9 Dec 2003 18:18:55 +0100 User-Agent: KMail/1.5.4 Cc: Postgres Admin List References: <3FD5F45F.6070309@virginia.edu> <200312091744.12260.peter_e@gmx.net> <3FD603B1.6020808@virginia.edu> In-Reply-To: <3FD603B1.6020808@virginia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312091818.55401.peter_e@gmx.net> X-Virus-Scanned: by AMaViS X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/112 X-Sequence-Number: 11620 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. From mail@joeconway.com Tue Dec 9 17:21:02 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F3936D1B53E for ; Tue, 9 Dec 2003 17:21:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 74650-01 for ; Tue, 9 Dec 2003 13:20:31 -0400 (AST) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id D1E46D1B4C7 for ; Tue, 9 Dec 2003 13:20:30 -0400 (AST) Received: from [206.19.64.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 723880; Tue, 09 Dec 2003 09:17:59 -0800 Message-ID: <3FD60426.5040306@joeconway.com> Date: Tue, 09 Dec 2003 09:19:34 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jodi Kanter Cc: Peter Eisentraut , Postgres Admin List Subject: Re: lost database References: <3FD5F45F.6070309@virginia.edu> <200312091744.12260.peter_e@gmx.net> <3FD603B1.6020808@virginia.edu> In-Reply-To: <3FD603B1.6020808@virginia.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/113 X-Sequence-Number: 11621 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 From nwalker@eldocomp.com Tue Dec 9 21:31:15 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5FD06D1B461 for ; Tue, 9 Dec 2003 21:31:15 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 21028-10 for ; Tue, 9 Dec 2003 17:30:46 -0400 (AST) Received: from ecintweb.eldocomp.com (smtp.eldocomp.com [205.159.99.8]) by svr1.postgresql.org (Postfix) with ESMTP id 894C8D1B49E for ; Tue, 9 Dec 2003 17:30:43 -0400 (AST) Received: by ecintweb.eldocomp.com with XWall v3.28 ; Tue, 9 Dec 2003 14:30:29 -0700 From: Naomi Walker To: Jodi Kanter Cc: Postgres Admin List Subject: Re: lost database Date: Tue, 9 Dec 2003 14:30:26 -0700 X-Assembled-By: XWall v3.28 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Message-ID: <5.1.0.14.2.20031209142923.02821008@imap.eldocomp.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/125 X-Sequence-Number: 11633 This is a multi part message in MIME format. --_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm assuming you are using pg_dumpall for your backups. In that case, i'd= =20 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=20 >his own database. He somehow managed to blow away his database and needs= =20 >to restore. However, he has not been running regular dumps because he=20 >figured the tape backups were enough. >Is there anyway that I can assist him in retreiving his tables from backup= =20 >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 > > > > > > ---------------------------------------------------------------------------= ---------------------------------------------- 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 w= hom it is addressed, and may contain information that is privileged, confid= ential and exempt from disclosure under applicable law. If you are not the = intended addressee, nor authorized to receive for the intended addressee, y= ou are hereby notified that you may not use, copy, disclose or distribute t= o anyone the message or any information contained in the message. If you ha= ve received this message in error, please immediately advise the sender by = reply email, and delete the message. Thank you. --_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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
jkanter@virginia.edu


 

 

 

---------------------------------------------------------------------------= ----------------------------------------------
Naomi Walker           &nb= sp;             Chief Information Officer
            &nb= sp;            =             &nb= sp;        Eldorado Computing, Inc.
nwalker@eldocomp.com         &= nbsp; 602-604-3100 
---------------------------------------------------------------------------= ----------------------------------------------
Never eat more than you can lift.  - Miss Piggy
---------------------------------------------------------------------------= ---------------------------------------------
-- CONFIDENTIALITY NOTICE --

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom i= t 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 he= reby 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 t= his message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

 

--_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb--