From yogvinder@newgen.co.in Wed Jan 17 13:56:12 2007 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6FDAD9FB283 for ; Wed, 17 Jan 2007 09:56:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 93245-02 for ; Wed, 17 Jan 2007 09:55:46 -0400 (AST) X-Greylist: delayed 00:06:01.136183 by SQLgrey-1.7.4 Received: from newgen.co.in (unknown [202.131.146.233]) by postgresql.org (Postfix) with SMTP id 034C49FB25F for ; Wed, 17 Jan 2007 09:55:50 -0400 (AST) Received: (qmail 2682 invoked by uid 507); 17 Jan 2007 13:49:44 -0000 Received: from 202.140.41.205 by mx.newgen.co.in (envelope-from , uid 501) with qmail-scanner-1.25 (fireav: ???. spamassassin: 3.1.3. Clear:RC:0(202.140.41.205):SA:0(-100.0/4.5):. Processed in 0.242946 secs); 17 Jan 2007 13:49:44 -0000 Received: from unknown (HELO ngmail.newgen.co.in) (okhlaoffice@202.140.41.205) by mx.newgen.co.in with SMTP; 17 Jan 2007 13:49:43 -0000 Received: (qmail 14158 invoked by uid 504); 17 Jan 2007 13:48:45 -0000 Received: from yogvinder@newgen.co.in by ngmail.newgen.co.in by uid 501 with qmail-scanner-1.21 (fireav: ???. Clear:RC:1(192.168.4.4):. Processed in 2.147636 secs); 17 Jan 2007 13:48:45 -0000 Received: from unknown (HELO ng4244a) (yogvinder@192.168.4.4) by ngmail.newgen.co.in with SMTP; 17 Jan 2007 13:48:43 -0000 Message-ID: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> From: "Yogvinder Singh" To: Subject: Incremental Backup of a particular database Date: Wed, 17 Jan 2007 19:18:39 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C73A6C.4B51F5D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.491 tagged_above=0 required=5 tests=BAYES_50, HTML_30_40, HTML_MESSAGE, HTML_TEXT_AFTER_BODY X-Spam-Level: X-Archive-Number: 200701/131 X-Sequence-Number: 24287 This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C73A6C.4B51F5D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Ppl, I have Two PostgreSQL Database Servers. The situation is like this:- 1) On first database server ball the operations (i.e live server) will = be done. This server may contain n number of databases.=20 2) On the second database server, i want to keep one particular database = (from the first database server ) and keep it updated to the latest = from the First Database Server. I just want to be able to take some sort = of incremental backup from the first server and restore it to the second = server.=20 Is this situation feasible. How can i take an incremental backup of a = particular database out of many databases? On which version this is = supported? IF not supported, is there any alternative way to handle this = situatio.=20 Regards, Yogvinder Singh, ------=_NextPart_000_000F_01C73A6C.4B51F5D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Ppl,
 
I have Two PostgreSQL = Database Servers. The=20 situation is like this:-
1) On first database server ball the = operations=20 (i.e live server) will be done. This server may contain n number of = databases.
 
2) On the second database server, i = want to keep=20 one particular database (from the first database server  = ) and=20 keep it updated to the latest from the First Database Server. I just = want to be=20 able to take some sort of incremental backup from the first server and = restore=20 it to the second server.
 
Is this situation feasible. How can = i take an=20 incremental backup of a particular database out of many databases? = On which version this is supported? IF not = supported, is=20 there any alternative way to handle this situatio.
 
Regards,
Yogvinder = Singh,
Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. ------=_NextPart_000_000F_01C73A6C.4B51F5D0-- From andy.shellam-lists@mailnetwork.co.uk Wed Jan 17 14:47:29 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C2A619FB286 for ; Wed, 17 Jan 2007 10:47:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 65281-08 for ; Wed, 17 Jan 2007 10:47:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from perth.mailnetwork.co.uk (perth.mailnetwork.co.uk [80.175.28.46]) by postgresql.org (Postfix) with ESMTP id D85BF9FB262 for ; Wed, 17 Jan 2007 10:47:10 -0400 (AST) Received: from [213.146.139.35] (port=15161 helo=[172.21.18.250]) by perth.mailnetwork.co.uk with esmtpa (Exim 4.63) (envelope-from ) id 1H7C4D-00012p-9D; Wed, 17 Jan 2007 14:47:09 +0000 Message-ID: <45AE370B.2070805@mailnetwork.co.uk> Date: Wed, 17 Jan 2007 14:47:39 +0000 From: "Andy Shellam (Mailing Lists)" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Yogvinder Singh CC: pgsql-admin@postgresql.org Subject: Re: Incremental Backup of a particular database References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> In-Reply-To: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/132 X-Sequence-Number: 24288 I believe the option for a "warm standby" (which sounds like it is what you need) was made available in 8.2.0. You'd have to look at the manual though, I haven't had time to investigate, and I'm not sure whether it's cluster-wide, or database-specific. Yogvinder Singh wrote: > Hi Ppl, > > I have Two PostgreSQL Database Servers. The situation is like this:- > 1) On first database server ball the operations (i.e live server) will > be done. This server may contain n number of databases. > > 2) On the second database server, i want to keep one particular > database (from the first database server ) and keep it updated to the > latest from the First Database Server. I just want to be able to take > some sort of incremental backup from the first server and restore it > to the second server. > > Is this situation feasible. How can i take an incremental backup of a > particular database out of many databases? On which version this is > supported? IF not supported, is there any alternative way to handle > this situatio. > > Regards, > Yogvinder Singh, > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > including any attachment may contain confidential, proprietary or > legally privileged information. It should not be used by who is not > the original intended recipient. If you have erroneously received this > message, you are notified that you are strictly prohibited from using, > copying, altering or disclosing the content of this message. Please > delete it immediately and notify the sender. Newgen Software > Technologies Ltd and / or its subsidiary Companies accept no > responsibility for loss or damage arising from the use of the > information transmitted by this email including damage from virus and > further acknowledges that any views expressed in this message are > those of the individual sender and no binding nature of the message > shall be implied or assumed unless the sender does so expressly with > due authority of Newgen Software Technologies Ltd and / or its > subsidiary Companies, as applicable. From shoaibmir@gmail.com Wed Jan 17 15:05:23 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 0A0289FB254 for ; Wed, 17 Jan 2007 11:05:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 68915-03 for ; Wed, 17 Jan 2007 11:04:43 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by postgresql.org (Postfix) with ESMTP id 38EE09F9FDA for ; Wed, 17 Jan 2007 11:04:49 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id i11so465706nzh for ; Wed, 17 Jan 2007 07:04:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Q9gb+RqH8BgNka0aJkc+Dw+1WI3nhU/C4iRf0D+DWYssvTY9DkDgKOYsr8JibIiNs2h51QcR3vJLgT+joaWMBDmIeANQTDrYA5Mv9OU/P+84TKOxGEcu0yVc6li2VH85JwLVD8ID8vCHURfyDAGlJOZzCAfVU55ojjNTqyFbu8A= Received: by 10.65.54.9 with SMTP id g9mr10117927qbk.1169046287586; Wed, 17 Jan 2007 07:04:47 -0800 (PST) Received: by 10.65.188.5 with HTTP; Wed, 17 Jan 2007 07:04:47 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2007 20:04:47 +0500 From: "Shoaib Mir" To: "Andy Shellam (Mailing Lists)" Subject: Re: Incremental Backup of a particular database Cc: "Yogvinder Singh" , pgsql-admin@postgresql.org In-Reply-To: <45AE370B.2070805@mailnetwork.co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71063_8007506.1169046287479" References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/133 X-Sequence-Number: 24289 ------=_Part_71063_8007506.1169046287479 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Even with ver 8.1 you can use WAL archive backups (PITR) to implement an incremental backup strategy. ------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 1/17/07, Andy Shellam (Mailing Lists) < andy.shellam-lists@mailnetwork.co.uk> wrote: > > I believe the option for a "warm standby" (which sounds like it is what > you need) was made available in 8.2.0. > You'd have to look at the manual though, I haven't had time to > investigate, and I'm not sure whether it's cluster-wide, or > database-specific. > > > Yogvinder Singh wrote: > > Hi Ppl, > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > 1) On first database server ball the operations (i.e live server) will > > be done. This server may contain n number of databases. > > > > 2) On the second database server, i want to keep one particular > > database (from the first database server ) and keep it updated to the > > latest from the First Database Server. I just want to be able to take > > some sort of incremental backup from the first server and restore it > > to the second server. > > > > Is this situation feasible. How can i take an incremental backup of a > > particular database out of many databases? On which version this is > > supported? IF not supported, is there any alternative way to handle > > this situatio. > > > > Regards, > > Yogvinder Singh, > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > > including any attachment may contain confidential, proprietary or > > legally privileged information. It should not be used by who is not > > the original intended recipient. If you have erroneously received this > > message, you are notified that you are strictly prohibited from using, > > copying, altering or disclosing the content of this message. Please > > delete it immediately and notify the sender. Newgen Software > > Technologies Ltd and / or its subsidiary Companies accept no > > responsibility for loss or damage arising from the use of the > > information transmitted by this email including damage from virus and > > further acknowledges that any views expressed in this message are > > those of the individual sender and no binding nature of the message > > shall be implied or assumed unless the sender does so expressly with > > due authority of Newgen Software Technologies Ltd and / or its > > subsidiary Companies, as applicable. > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > ------=_Part_71063_8007506.1169046287479 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Even with ver 8.1 you can use WAL archive backups (PITR) to implement an incremental backup strategy.

-------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/17/07, Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk> wrote:
I believe the option for a "warm standby" (which sounds like it is what
you need) was made available in 8.2.0.
You'd have to look at the manual though, I haven't had time to
investigate, and I'm not sure whether it's cluster-wide, or
database-specific.


Yogvinder Singh wrote:
> Hi Ppl,
>
> I have Two PostgreSQL Database Servers. The situation is like this:-
> 1) On first database server ball the operations (i.e live server) will
> be done. This server may contain n number of databases.
>
> 2) On the second database server, i want to keep one particular
> database (from the first database server  ) and keep it updated to the
> latest from the First Database Server. I just want to be able to take
> some sort of incremental backup from the first server and restore it
> to the second server.
>
> Is this situation feasible. How can i take an incremental backup of a
> particular database out of many databases? On which version this is
> supported? IF not supported, is there any alternative way to handle
> this situatio.
>
> Regards,
> Yogvinder Singh,
> !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message
> including any attachment may contain confidential, proprietary or
> legally privileged information. It should not be used by who is not
> the original intended recipient. If you have erroneously received this
> message, you are notified that you are strictly prohibited from using,
> copying, altering or disclosing the content of this message. Please
> delete it immediately and notify the sender. Newgen Software
> Technologies Ltd and / or its subsidiary Companies accept no
> responsibility for loss or damage arising from the use of the
> information transmitted by this email including damage from virus and
> further acknowledges that any views expressed in this message are
> those of the individual sender and no binding nature of the message
> shall be implied or assumed unless the sender does so expressly with
> due authority of Newgen Software Technologies Ltd and / or its
> subsidiary Companies, as applicable.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

------=_Part_71063_8007506.1169046287479-- From andy.shellam-lists@mailnetwork.co.uk Wed Jan 17 15:15:42 2007 Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9FCAA9FB283 for ; Wed, 17 Jan 2007 11:15:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 70739-08-2 for ; Wed, 17 Jan 2007 11:15:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from perth.mailnetwork.co.uk (perth.mailnetwork.co.uk [80.175.28.46]) by postgresql.org (Postfix) with ESMTP id F11A49FB254 for ; Wed, 17 Jan 2007 11:15:12 -0400 (AST) Received: from [213.146.139.35] (port=17243 helo=[172.21.18.250]) by perth.mailnetwork.co.uk with esmtpa (Exim 4.63) (envelope-from ) id 1H7CVJ-0001VH-7f; Wed, 17 Jan 2007 15:15:09 +0000 Message-ID: <45AE3D9A.7010908@mailnetwork.co.uk> Date: Wed, 17 Jan 2007 15:15:38 +0000 From: "Andy Shellam (Mailing Lists)" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Shoaib Mir CC: Yogvinder Singh , pgsql-admin@postgresql.org Subject: Re: Incremental Backup of a particular database References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/134 X-Sequence-Number: 24290 Shoaib Mir wrote: > Even with ver 8.1 you can use WAL archive backups (PITR) to implement > an incremental backup strategy. Yes, true, but it's harder with 8.1 as you always have to start from a base backup and roll WAL logs forward - without a custom script you cannot "wait" for new WAL logs to arrive and apply them on top of a base backup. There is a project in PgFoundry to allow for warm-standby in the 8.0 and 8.1 series, however this is reportedly built-in to 8.2 now. > > ------------- > Shoaib Mir > EnterpriseDB (www.enterprisedb.com ) > > On 1/17/07, *Andy Shellam (Mailing Lists)* > > wrote: > > I believe the option for a "warm standby" (which sounds like it is > what > you need) was made available in 8.2.0. > You'd have to look at the manual though, I haven't had time to > investigate, and I'm not sure whether it's cluster-wide, or > database-specific. > > > Yogvinder Singh wrote: > > Hi Ppl, > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > 1) On first database server ball the operations (i.e live > server) will > > be done. This server may contain n number of databases. > > > > 2) On the second database server, i want to keep one particular > > database (from the first database server ) and keep it updated > to the > > latest from the First Database Server. I just want to be able to > take > > some sort of incremental backup from the first server and restore it > > to the second server. > > > > Is this situation feasible. How can i take an incremental backup > of a > > particular database out of many databases? On which version this is > > supported? IF not supported, is there any alternative way to handle > > this situatio. > > > > Regards, > > Yogvinder Singh, > > Disclaimer :- This e-mail message > > including any attachment may contain confidential, proprietary or > > legally privileged information. It should not be used by who is not > > the original intended recipient. If you have erroneously > received this > > message, you are notified that you are strictly prohibited from > using, > > copying, altering or disclosing the content of this message. Please > > delete it immediately and notify the sender. Newgen Software > > Technologies Ltd and / or its subsidiary Companies accept no > > responsibility for loss or damage arising from the use of the > > information transmitted by this email including damage from > virus and > > further acknowledges that any views expressed in this message are > > those of the individual sender and no binding nature of the message > > shall be implied or assumed unless the sender does so expressly > with > > due authority of Newgen Software Technologies Ltd and / or its > > subsidiary Companies, as applicable. > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > > > !DSPAM:37,45ae3b61137103926781350! From shoaibmir@gmail.com Wed Jan 17 15:23:40 2007 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 06A079F9FDA for ; Wed, 17 Jan 2007 11:23:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 41492-08 for ; Wed, 17 Jan 2007 11:23:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by postgresql.org (Postfix) with ESMTP id 963999FA49D for ; Wed, 17 Jan 2007 11:23:08 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c24so1235935ana for ; Wed, 17 Jan 2007 07:23:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=llzxHJ/EXdAna7SCF3QKmyk5vEchlr5CaIfH6wm4eaObwmy/pjG7YqUCFwSxWrAl0gSMAzAnyshwADvvrBIFHISLqFAgAyPBprzx7Ez4NOucbGAE55WFdaR70o1WZJCcp6yVTyZvUM2oU6SPYicLYYjlWUwUZBuValWHm0wBGTc= Received: by 10.65.234.2 with SMTP id l2mr3596604qbr.1169047386928; Wed, 17 Jan 2007 07:23:06 -0800 (PST) Received: by 10.65.188.5 with HTTP; Wed, 17 Jan 2007 07:23:06 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2007 20:23:06 +0500 From: "Shoaib Mir" To: "Andy Shellam (Mailing Lists)" Subject: Re: Incremental Backup of a particular database Cc: "Yogvinder Singh" , pgsql-admin@postgresql.org In-Reply-To: <45AE3D9A.7010908@mailnetwork.co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71445_9549850.1169047386890" References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <45AE3D9A.7010908@mailnetwork.co.uk> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/135 X-Sequence-Number: 24291 ------=_Part_71445_9549850.1169047386890 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, I guess that is true with 8.2 but with a few configurations for WAL copying scripts. Saw the following in documentation that specifies a good flow for doing it --> http://www.postgresql.org/docs/8.2/static/warm-standby.html --------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 1/17/07, Andy Shellam (Mailing Lists) < andy.shellam-lists@mailnetwork.co.uk> wrote: > > Shoaib Mir wrote: > > Even with ver 8.1 you can use WAL archive backups (PITR) to implement > > an incremental backup strategy. > Yes, true, but it's harder with 8.1 as you always have to start from a > base backup and roll WAL logs forward - without a custom script you > cannot "wait" for new WAL logs to arrive and apply them on top of a base > backup. > There is a project in PgFoundry to allow for warm-standby in the 8.0 and > 8.1 series, however this is reportedly built-in to 8.2 now. > > > > ------------- > > Shoaib Mir > > EnterpriseDB (www.enterprisedb.com ) > > > > On 1/17/07, *Andy Shellam (Mailing Lists)* > > > > wrote: > > > > I believe the option for a "warm standby" (which sounds like it is > > what > > you need) was made available in 8.2.0. > > You'd have to look at the manual though, I haven't had time to > > investigate, and I'm not sure whether it's cluster-wide, or > > database-specific. > > > > > > Yogvinder Singh wrote: > > > Hi Ppl, > > > > > > I have Two PostgreSQL Database Servers. The situation is like > this:- > > > 1) On first database server ball the operations (i.e live > > server) will > > > be done. This server may contain n number of databases. > > > > > > 2) On the second database server, i want to keep one particular > > > database (from the first database server ) and keep it updated > > to the > > > latest from the First Database Server. I just want to be able to > > take > > > some sort of incremental backup from the first server and restore > it > > > to the second server. > > > > > > Is this situation feasible. How can i take an incremental backup > > of a > > > particular database out of many databases? On which version this > is > > > supported? IF not supported, is there any alternative way to > handle > > > this situatio. > > > > > > Regards, > > > Yogvinder Singh, > > > Disclaimer :- This e-mail message > > > including any attachment may contain confidential, proprietary or > > > legally privileged information. It should not be used by who is > not > > > the original intended recipient. If you have erroneously > > received this > > > message, you are notified that you are strictly prohibited from > > using, > > > copying, altering or disclosing the content of this message. > Please > > > delete it immediately and notify the sender. Newgen Software > > > Technologies Ltd and / or its subsidiary Companies accept no > > > responsibility for loss or damage arising from the use of the > > > information transmitted by this email including damage from > > virus and > > > further acknowledges that any views expressed in this message are > > > those of the individual sender and no binding nature of the > message > > > shall be implied or assumed unless the sender does so expressly > > with > > > due authority of Newgen Software Technologies Ltd and / or its > > > subsidiary Companies, as applicable. > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > > > > http://www.postgresql.org/docs/faq > > > > > > !DSPAM:37,45ae3b61137103926781350! > ------=_Part_71445_9549850.1169047386890 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, I guess that is true with 8.2 but with a few configurations for WAL copying scripts.

Saw the following in documentation that specifies a good flow for doing it --> http://www.postgresql.org/docs/8.2/static/warm-standby.html

---------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/17/07, Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk> wrote:
Shoaib Mir wrote:
> Even with ver 8.1 you can use WAL archive backups (PITR) to implement
> an incremental backup strategy.
Yes, true, but it's harder with 8.1 as you always have to start from a
base backup and roll WAL logs forward - without a custom script you
cannot "wait" for new WAL logs to arrive and apply them on top of a base
backup.
There is a project in PgFoundry to allow for warm-standby in the 8.0 and
8.1 series, however this is reportedly built-in to 8.2 now.
>
> -------------
> Shoaib Mir
> EnterpriseDB (www.enterprisedb.com <http://www.enterprisedb.com>)
>
> On 1/17/07, *Andy Shellam (Mailing Lists)*
> <andy.shellam-lists@mailnetwork.co.uk
> <mailto: andy.shellam-lists@mailnetwork.co.uk>> wrote:
>
>     I believe the option for a "warm standby" (which sounds like it is
>     what
>     you need) was made available in 8.2.0.
>     You'd have to look at the manual though, I haven't had time to
>     investigate, and I'm not sure whether it's cluster-wide, or
>     database-specific.
>
>
>     Yogvinder Singh wrote:
>     > Hi Ppl,
>     >
>     > I have Two PostgreSQL Database Servers. The situation is like this:-
>     > 1) On first database server ball the operations (i.e live
>     server) will
>     > be done. This server may contain n number of databases.
>     >
>     > 2) On the second database server, i want to keep one particular
>     > database (from the first database server  ) and keep it updated
>     to the
>     > latest from the First Database Server. I just want to be able to
>     take
>     > some sort of incremental backup from the first server and restore it
>     > to the second server.
>     >
>     > Is this situation feasible. How can i take an incremental backup
>     of a
>     > particular database out of many databases? On which version this is
>     > supported? IF not supported, is there any alternative way to handle
>     > this situatio.
>     >
>     > Regards,
>     > Yogvinder Singh,
>     > Disclaimer :- This e-mail message
>     > including any attachment may contain confidential, proprietary or
>     > legally privileged information. It should not be used by who is not
>     > the original intended recipient. If you have erroneously
>     received this
>     > message, you are notified that you are strictly prohibited from
>     using,
>     > copying, altering or disclosing the content of this message. Please
>     > delete it immediately and notify the sender. Newgen Software
>     > Technologies Ltd and / or its subsidiary Companies accept no
>     > responsibility for loss or damage arising from the use of the
>     > information transmitted by this email including damage from
>     virus and
>     > further acknowledges that any views expressed in this message are
>     > those of the individual sender and no binding nature of the message
>     > shall be implied or assumed unless the sender does so expressly
>     with
>     > due authority of Newgen Software Technologies Ltd and / or its
>     > subsidiary Companies, as applicable.
>
>     ---------------------------(end of
>     broadcast)---------------------------
>     TIP 3: Have you checked our extensive FAQ?
>
>                    http://www.postgresql.org/docs/faq
>
>
> !DSPAM:37,45ae3b61137103926781350!

------=_Part_71445_9549850.1169047386890-- From ejortegau@cable.net.co Thu Jan 18 05:26:13 2007 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 33CC89FB2B6 for ; Thu, 18 Jan 2007 01:26:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 85589-10 for ; Thu, 18 Jan 2007 01:26:02 -0400 (AST) X-Greylist: delayed 00:09:15.339854 by SQLgrey-1.7.4 Received: from ironport3.cable.net.co (ironport3.cable.net.co [200.118.0.14]) by postgresql.org (Postfix) with ESMTP id 9481D9FB2B4 for ; Thu, 18 Jan 2007 01:26:08 -0400 (AST) Received: from epicac.cable.net.co ([200.118.2.50]) by ironport3.cable.net.co with ESMTP; 18 Jan 2007 00:14:11 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoQrAEKPrkXIdgIyh2dsb2JhbACDaoloAQEJDio X-IronPort-AV: i="4.13,201,1167609600"; d="scan'208"; a="33365686:sNHT28608090" Received: from dynamic-ip-cr200118213132.cable.net.co ([200.118.213.132]) by epicac.cable.net.co (Sun Java System Messaging Server 6.2-7.06 (built Oct 6 2006)) with ESMTPA id <0JC0004DEY37KU50@epicac.cable.net.co> for pgsql-admin@postgresql.org; Wed, 17 Jan 2007 23:01:56 +0500 (GMT) Date: Wed, 17 Jan 2007 23:09:57 -0500 From: "Eduardo J. Ortega" Subject: Re: Incremental Backup of a particular database In-reply-to: To: pgsql-admin@postgresql.org Message-id: <200701172309.59137.ejortegau@cable.net.co> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE3D9A.7010908@mailnetwork.co.uk> User-Agent: KMail/1.9.5 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.03 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, INVALID_TZ_GMT X-Spam-Level: *** X-Archive-Number: 200701/148 X-Sequence-Number: 24304 Not sure, but i think WAL based incremental backup is for the whole database cluster, and not for an specific database, so don't think this is going to work for you. Is yoor database too large? If not, you could stick to the old fashioned pg_dump output. On Wednesday 17 January 2007 10:23, Shoaib Mir wrote: > Yes, I guess that is true with 8.2 but with a few configurations for WAL > copying scripts. > > Saw the following in documentation that specifies a good flow for doing it > --> http://www.postgresql.org/docs/8.2/static/warm-standby.html > > --------------- > Shoaib Mir > EnterpriseDB (www.enterprisedb.com) > > On 1/17/07, Andy Shellam (Mailing Lists) < > > andy.shellam-lists@mailnetwork.co.uk> wrote: > > Shoaib Mir wrote: > > > Even with ver 8.1 you can use WAL archive backups (PITR) to implement > > > an incremental backup strategy. > > > > Yes, true, but it's harder with 8.1 as you always have to start from a > > base backup and roll WAL logs forward - without a custom script you > > cannot "wait" for new WAL logs to arrive and apply them on top of a base > > backup. > > There is a project in PgFoundry to allow for warm-standby in the 8.0 and > > 8.1 series, however this is reportedly built-in to 8.2 now. > > > > > ------------- > > > Shoaib Mir > > > EnterpriseDB (www.enterprisedb.com ) > > > > > > On 1/17/07, *Andy Shellam (Mailing Lists)* > > > > > > wrote: > > > > > > I believe the option for a "warm standby" (which sounds like it is > > > what > > > you need) was made available in 8.2.0. > > > You'd have to look at the manual though, I haven't had time to > > > investigate, and I'm not sure whether it's cluster-wide, or > > > database-specific. > > > > > > Yogvinder Singh wrote: > > > > Hi Ppl, > > > > > > > > I have Two PostgreSQL Database Servers. The situation is like > > > > this:- > > > > > > 1) On first database server ball the operations (i.e live > > > > > > server) will > > > > > > > be done. This server may contain n number of databases. > > > > > > > > 2) On the second database server, i want to keep one particular > > > > database (from the first database server ) and keep it updated > > > > > > to the > > > > > > > latest from the First Database Server. I just want to be able to > > > > > > take > > > > > > > some sort of incremental backup from the first server and restore > > > > it > > > > > > to the second server. > > > > > > > > Is this situation feasible. How can i take an incremental backup > > > > > > of a > > > > > > > particular database out of many databases? On which version this > > > > is > > > > > > supported? IF not supported, is there any alternative way to > > > > handle > > > > > > this situatio. > > > > > > > > Regards, > > > > Yogvinder Singh, > > > > Disclaimer :- This e-mail message > > > > including any attachment may contain confidential, proprietary or > > > > legally privileged information. It should not be used by who is > > > > not > > > > > > the original intended recipient. If you have erroneously > > > > > > received this > > > > > > > message, you are notified that you are strictly prohibited from > > > > > > using, > > > > > > > copying, altering or disclosing the content of this message. > > > > Please > > > > > > delete it immediately and notify the sender. Newgen Software > > > > Technologies Ltd and / or its subsidiary Companies accept no > > > > responsibility for loss or damage arising from the use of the > > > > information transmitted by this email including damage from > > > > > > virus and > > > > > > > further acknowledges that any views expressed in this message are > > > > those of the individual sender and no binding nature of the > > > > message > > > > > > shall be implied or assumed unless the sender does so expressly > > > > > > with > > > > > > > due authority of Newgen Software Technologies Ltd and / or its > > > > subsidiary Companies, as applicable. > > > > > > ---------------------------(end of > > > broadcast)--------------------------- > > > TIP 3: Have you checked our extensive FAQ? > > > > > > http://www.postgresql.org/docs/faq > > > > > > > > > !DSPAM:37,45ae3b61137103926781350! -- Eduardo J. Ortega - Linux user #222873 "No fake - I'm a big fan of konqueror, and I use it for everything." -- Linus Torvalds From yogvinder@newgen.co.in Thu Jan 18 05:23:06 2007 Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id CC2D39FB2B6 for ; Thu, 18 Jan 2007 01:23:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 16007-07 for ; Thu, 18 Jan 2007 01:22:56 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from newgen.co.in (unknown [202.131.146.233]) by postgresql.org (Postfix) with SMTP id 4FA6B9FB2B4 for ; Thu, 18 Jan 2007 01:22:59 -0400 (AST) Received: (qmail 17907 invoked by uid 507); 18 Jan 2007 05:15:48 -0000 Received: from 202.140.41.205 by mx.newgen.co.in (envelope-from , uid 501) with qmail-scanner-1.25 (fireav: ???. spamassassin: 3.1.3. Clear:RC:0(202.140.41.205):SA:0(-100.0/4.5):. Processed in 0.196475 secs); 18 Jan 2007 05:15:48 -0000 Received: from unknown (HELO ngmail.newgen.co.in) (okhlaoffice@202.140.41.205) by mx.newgen.co.in with SMTP; 18 Jan 2007 05:15:48 -0000 Received: (qmail 16513 invoked by uid 504); 18 Jan 2007 05:14:29 -0000 Received: from yogvinder@newgen.co.in by ngmail.newgen.co.in by uid 501 with qmail-scanner-1.21 (fireav: ???. Clear:RC:1(192.168.4.4):. Processed in 2.139865 secs); 18 Jan 2007 05:14:29 -0000 Received: from unknown (HELO ng4244a) (yogvinder@192.168.4.4) by ngmail.newgen.co.in with SMTP; 18 Jan 2007 05:14:26 -0000 Message-ID: <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> From: "Yogvinder Singh" To: "Andy Shellam \(Mailing Lists\)" Cc: References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 10:44:25 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.485 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200701/147 X-Sequence-Number: 24303 I only want one of many databases to be restored to the other server incrementally. Is this possible? If yes, Wht are the steps?? Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 Tel no 26815467 Ext 143 ----- Original Message ----- From: "Andy Shellam (Mailing Lists)" To: "Yogvinder Singh" Cc: Sent: Wednesday, January 17, 2007 8:17 PM Subject: Re: [ADMIN] Incremental Backup of a particular database > I believe the option for a "warm standby" (which sounds like it is what > you need) was made available in 8.2.0. > You'd have to look at the manual though, I haven't had time to > investigate, and I'm not sure whether it's cluster-wide, or > database-specific. > > > Yogvinder Singh wrote: > > Hi Ppl, > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > 1) On first database server ball the operations (i.e live server) will > > be done. This server may contain n number of databases. > > > > 2) On the second database server, i want to keep one particular > > database (from the first database server ) and keep it updated to the > > latest from the First Database Server. I just want to be able to take > > some sort of incremental backup from the first server and restore it > > to the second server. > > > > Is this situation feasible. How can i take an incremental backup of a > > particular database out of many databases? On which version this is > > supported? IF not supported, is there any alternative way to handle > > this situatio. > > > > Regards, > > Yogvinder Singh, > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > > including any attachment may contain confidential, proprietary or > > legally privileged information. It should not be used by who is not > > the original intended recipient. If you have erroneously received this > > message, you are notified that you are strictly prohibited from using, > > copying, altering or disclosing the content of this message. Please > > delete it immediately and notify the sender. Newgen Software > > Technologies Ltd and / or its subsidiary Companies accept no > > responsibility for loss or damage arising from the use of the > > information transmitted by this email including damage from virus and > > further acknowledges that any views expressed in this message are > > those of the individual sender and no binding nature of the message > > shall be implied or assumed unless the sender does so expressly with > > due authority of Newgen Software Technologies Ltd and / or its > > subsidiary Companies, as applicable. > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. From yogvinder@newgen.co.in Thu Jan 18 05:31:42 2007 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E3B039FB2B6 for ; Thu, 18 Jan 2007 01:31:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 87445-03 for ; Thu, 18 Jan 2007 01:31:32 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from newgen.co.in (unknown [202.131.146.233]) by postgresql.org (Postfix) with SMTP id 420D89FB2B4 for ; Thu, 18 Jan 2007 01:31:30 -0400 (AST) Received: (qmail 29426 invoked by uid 507); 18 Jan 2007 05:32:06 -0000 Received: from 202.140.41.205 by mx.newgen.co.in (envelope-from , uid 501) with qmail-scanner-1.25 (fireav: ???. spamassassin: 3.1.3. Clear:RC:0(202.140.41.205):SA:0(-100.0/4.5):. Processed in 0.259126 secs); 18 Jan 2007 05:32:06 -0000 Received: from unknown (HELO ngmail.newgen.co.in) (okhlaoffice@202.140.41.205) by ns.newgen.co.in with SMTP; 18 Jan 2007 05:32:06 -0000 Received: (qmail 29183 invoked by uid 504); 18 Jan 2007 05:30:51 -0000 Received: from yogvinder@newgen.co.in by ngmail.newgen.co.in by uid 501 with qmail-scanner-1.21 (fireav: ???. Clear:RC:1(192.168.4.4):. Processed in 2.187984 secs); 18 Jan 2007 05:30:51 -0000 Received: from unknown (HELO ng4244a) (yogvinder@192.168.4.4) by ngmail.newgen.co.in with SMTP; 18 Jan 2007 05:30:48 -0000 Message-ID: <001901c73ac1$cf841ef0$0404a8c0@central.newgen.local> From: "Yogvinder Singh" To: "Eduardo J. Ortega" , References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE3D9A.7010908@mailnetwork.co.uk> <200701172309.59137.ejortegau@cable.net.co> Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 11:00:46 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.482 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200701/149 X-Sequence-Number: 24305 Yes Database size is going to grow very large over time. The situation is going to be like this that ther is one central server where n nr of databases are there. I want one of these databases to be restored to the Other database Server. What i have found so far implies tht the whole of database server will be restored not one particular database. Any light on this ?? Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 Tel no 26815467 Ext 143 ----- Original Message ----- From: "Eduardo J. Ortega" To: Sent: Thursday, January 18, 2007 9:39 AM Subject: Re: [ADMIN] Incremental Backup of a particular database > Not sure, but i think WAL based incremental backup is for the whole database > cluster, and not for an specific database, so don't think this is going to > work for you. Is yoor database too large? If not, you could stick to the old > fashioned pg_dump output. > > On Wednesday 17 January 2007 10:23, Shoaib Mir wrote: > > Yes, I guess that is true with 8.2 but with a few configurations for WAL > > copying scripts. > > > > Saw the following in documentation that specifies a good flow for doing it > > --> http://www.postgresql.org/docs/8.2/static/warm-standby.html > > > > --------------- > > Shoaib Mir > > EnterpriseDB (www.enterprisedb.com) > > > > On 1/17/07, Andy Shellam (Mailing Lists) < > > > > andy.shellam-lists@mailnetwork.co.uk> wrote: > > > Shoaib Mir wrote: > > > > Even with ver 8.1 you can use WAL archive backups (PITR) to implement > > > > an incremental backup strategy. > > > > > > Yes, true, but it's harder with 8.1 as you always have to start from a > > > base backup and roll WAL logs forward - without a custom script you > > > cannot "wait" for new WAL logs to arrive and apply them on top of a base > > > backup. > > > There is a project in PgFoundry to allow for warm-standby in the 8.0 and > > > 8.1 series, however this is reportedly built-in to 8.2 now. > > > > > > > ------------- > > > > Shoaib Mir > > > > EnterpriseDB (www.enterprisedb.com ) > > > > > > > > On 1/17/07, *Andy Shellam (Mailing Lists)* > > > > > > > > wrote: > > > > > > > > I believe the option for a "warm standby" (which sounds like it is > > > > what > > > > you need) was made available in 8.2.0. > > > > You'd have to look at the manual though, I haven't had time to > > > > investigate, and I'm not sure whether it's cluster-wide, or > > > > database-specific. > > > > > > > > Yogvinder Singh wrote: > > > > > Hi Ppl, > > > > > > > > > > I have Two PostgreSQL Database Servers. The situation is like > > > > > > this:- > > > > > > > > 1) On first database server ball the operations (i.e live > > > > > > > > server) will > > > > > > > > > be done. This server may contain n number of databases. > > > > > > > > > > 2) On the second database server, i want to keep one particular > > > > > database (from the first database server ) and keep it updated > > > > > > > > to the > > > > > > > > > latest from the First Database Server. I just want to be able to > > > > > > > > take > > > > > > > > > some sort of incremental backup from the first server and restore > > > > > > it > > > > > > > > to the second server. > > > > > > > > > > Is this situation feasible. How can i take an incremental backup > > > > > > > > of a > > > > > > > > > particular database out of many databases? On which version this > > > > > > is > > > > > > > > supported? IF not supported, is there any alternative way to > > > > > > handle > > > > > > > > this situatio. > > > > > > > > > > Regards, > > > > > Yogvinder Singh, > > > > > Disclaimer :- This e-mail message > > > > > including any attachment may contain confidential, proprietary or > > > > > legally privileged information. It should not be used by who is > > > > > > not > > > > > > > > the original intended recipient. If you have erroneously > > > > > > > > received this > > > > > > > > > message, you are notified that you are strictly prohibited from > > > > > > > > using, > > > > > > > > > copying, altering or disclosing the content of this message. > > > > > > Please > > > > > > > > delete it immediately and notify the sender. Newgen Software > > > > > Technologies Ltd and / or its subsidiary Companies accept no > > > > > responsibility for loss or damage arising from the use of the > > > > > information transmitted by this email including damage from > > > > > > > > virus and > > > > > > > > > further acknowledges that any views expressed in this message are > > > > > those of the individual sender and no binding nature of the > > > > > > message > > > > > > > > shall be implied or assumed unless the sender does so expressly > > > > > > > > with > > > > > > > > > due authority of Newgen Software Technologies Ltd and / or its > > > > > subsidiary Companies, as applicable. > > > > > > > > ---------------------------(end of > > > > broadcast)--------------------------- > > > > TIP 3: Have you checked our extensive FAQ? > > > > > > > > http://www.postgresql.org/docs/faq > > > > > > > > > > > > !DSPAM:37,45ae3b61137103926781350! > > -- > Eduardo J. Ortega - Linux user #222873 > "No fake - I'm a big fan of konqueror, and I use it for everything." -- Linus > Torvalds > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. From yogvinder@newgen.co.in Thu Jan 18 06:00:26 2007 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C73AF9FB28A for ; Thu, 18 Jan 2007 02:00:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 06981-06 for ; Thu, 18 Jan 2007 02:00:24 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from newgen.co.in (unknown [202.131.146.233]) by postgresql.org (Postfix) with SMTP id 92EB19FA25B for ; Thu, 18 Jan 2007 02:00:08 -0400 (AST) Received: (qmail 19656 invoked by uid 507); 18 Jan 2007 06:00:44 -0000 Received: from 202.140.41.205 by mx.newgen.co.in (envelope-from , uid 501) with qmail-scanner-1.25 (fireav: ???. spamassassin: 3.1.3. Clear:RC:0(202.140.41.205):SA:0(-100.0/4.5):. Processed in 0.253177 secs); 18 Jan 2007 06:00:44 -0000 Received: from unknown (HELO ngmail.newgen.co.in) (okhlaoffice@202.140.41.205) by ns.newgen.co.in with SMTP; 18 Jan 2007 06:00:44 -0000 Received: (qmail 26104 invoked by uid 504); 18 Jan 2007 05:59:37 -0000 Received: from yogvinder@newgen.co.in by ngmail.newgen.co.in by uid 501 with qmail-scanner-1.21 (fireav: ???. Clear:RC:1(192.168.4.4):. Processed in 2.166334 secs); 18 Jan 2007 05:59:37 -0000 Received: from unknown (HELO ng4244a) (yogvinder@192.168.4.4) by ngmail.newgen.co.in with SMTP; 18 Jan 2007 05:59:34 -0000 Message-ID: <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> From: "Yogvinder Singh" To: References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 11:29:32 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.481 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200701/150 X-Sequence-Number: 24306 pg_dump is a utility for saving a PostgreSQL database into a script or an archive file. The script files are in plain-text format and contain the SQL commands required to reconstruct the database to the state it was in at the time it was saved. "At the time it was saved" What is the meaning of this statement? Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 New Delhi Tel no 26815467 Ext 143 ----- Original Message ----- From: "Yogvinder Singh" To: "Andy Shellam (Mailing Lists)" Cc: Sent: Thursday, January 18, 2007 10:44 AM Subject: Re: [ADMIN] Incremental Backup of a particular database > I only want one of many databases to be restored to the other server > incrementally. > Is this possible? > If yes, Wht are the steps?? > > Regards, > Yogvinder Singh, > Software Engineer, E-WorkStyle Group, > Newgen Software Technologies Ltd. > D-152, Okhla Phase - 1 > Tel no 26815467 Ext 143 > > > ----- Original Message ----- > From: "Andy Shellam (Mailing Lists)" > To: "Yogvinder Singh" > Cc: > Sent: Wednesday, January 17, 2007 8:17 PM > Subject: Re: [ADMIN] Incremental Backup of a particular database > > > > I believe the option for a "warm standby" (which sounds like it is what > > you need) was made available in 8.2.0. > > You'd have to look at the manual though, I haven't had time to > > investigate, and I'm not sure whether it's cluster-wide, or > > database-specific. > > > > > > Yogvinder Singh wrote: > > > Hi Ppl, > > > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > > 1) On first database server ball the operations (i.e live server) will > > > be done. This server may contain n number of databases. > > > > > > 2) On the second database server, i want to keep one particular > > > database (from the first database server ) and keep it updated to the > > > latest from the First Database Server. I just want to be able to take > > > some sort of incremental backup from the first server and restore it > > > to the second server. > > > > > > Is this situation feasible. How can i take an incremental backup of a > > > particular database out of many databases? On which version this is > > > supported? IF not supported, is there any alternative way to handle > > > this situatio. > > > > > > Regards, > > > Yogvinder Singh, > > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > > > including any attachment may contain confidential, proprietary or > > > legally privileged information. It should not be used by who is not > > > the original intended recipient. If you have erroneously received this > > > message, you are notified that you are strictly prohibited from using, > > > copying, altering or disclosing the content of this message. Please > > > delete it immediately and notify the sender. Newgen Software > > > Technologies Ltd and / or its subsidiary Companies accept no > > > responsibility for loss or damage arising from the use of the > > > information transmitted by this email including damage from virus and > > > further acknowledges that any views expressed in this message are > > > those of the individual sender and no binding nature of the message > > > shall be implied or assumed unless the sender does so expressly with > > > due authority of Newgen Software Technologies Ltd and / or its > > > subsidiary Companies, as applicable. > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > > > > http://www.postgresql.org/docs/faq > > > > > > Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. From shoaibmir@gmail.com Thu Jan 18 10:38:02 2007 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3753B9FA667 for ; Thu, 18 Jan 2007 06:38:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 56741-09 for ; Thu, 18 Jan 2007 06:37:58 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by postgresql.org (Postfix) with ESMTP id 23C759FA39A for ; Thu, 18 Jan 2007 06:37:58 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id i11so106411nzh for ; Thu, 18 Jan 2007 02:37:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dPJZjkXCoKAEl54ni2wWsNKZk7Epnt/oUZP+6Ku34CzgFo1H3PPxlLliw2hijy0HbNslCgGFPhbrzlxFQgHQZNNkoZPK55gMrTuenvn3I+HsR1hmoKHP9wz8LkGAT9w2vQ54eBPdsV/1MXukooIxjH9tzNprwLQBn/3OJGnZxTk= Received: by 10.65.177.6 with SMTP id e6mr606335qbp.1169116676893; Thu, 18 Jan 2007 02:37:56 -0800 (PST) Received: by 10.65.188.5 with HTTP; Thu, 18 Jan 2007 02:37:56 -0800 (PST) Message-ID: Date: Thu, 18 Jan 2007 15:37:56 +0500 From: "Shoaib Mir" To: "Yogvinder Singh" Subject: Re: Incremental Backup of a particular database Cc: pgsql-admin@postgresql.org In-Reply-To: <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_82701_7740560.1169116676650" References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/151 X-Sequence-Number: 24307 ------=_Part_82701_7740560.1169116676650 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline When the pg_dump process starts it takes one point and then makes a backup for that specific time even if more updates on the database are happening during the pg_dump process. So when you restore on the other machine it will restore to that specific time when the pg_dump process started. ---------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 1/18/07, Yogvinder Singh wrote: > > pg_dump is a utility for saving a PostgreSQL database into a script or an > archive file. The script files are in plain-text format and contain the > SQL > commands required to reconstruct the database to the state it > was in > at the time it was saved. > > "At the time it was saved" What is the meaning of this statement? > > > Regards, > Yogvinder Singh, > Software Engineer, E-WorkStyle Group, > Newgen Software Technologies Ltd. > D-152, Okhla Phase - 1 > New Delhi > Tel no 26815467 Ext 143 > > > ----- Original Message ----- > From: "Yogvinder Singh" > To: "Andy Shellam (Mailing Lists)" > Cc: > Sent: Thursday, January 18, 2007 10:44 AM > Subject: Re: [ADMIN] Incremental Backup of a particular database > > > > I only want one of many databases to be restored to the other server > > incrementally. > > Is this possible? > > If yes, Wht are the steps?? > > > > Regards, > > Yogvinder Singh, > > Software Engineer, E-WorkStyle Group, > > Newgen Software Technologies Ltd. > > D-152, Okhla Phase - 1 > > Tel no 26815467 Ext 143 > > > > > > ----- Original Message ----- > > From: "Andy Shellam (Mailing Lists)" > > > To: "Yogvinder Singh" > > Cc: > > Sent: Wednesday, January 17, 2007 8:17 PM > > Subject: Re: [ADMIN] Incremental Backup of a particular database > > > > > > > I believe the option for a "warm standby" (which sounds like it is > what > > > you need) was made available in 8.2.0. > > > You'd have to look at the manual though, I haven't had time to > > > investigate, and I'm not sure whether it's cluster-wide, or > > > database-specific. > > > > > > > > > Yogvinder Singh wrote: > > > > Hi Ppl, > > > > > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > > > 1) On first database server ball the operations (i.e live server) > will > > > > be done. This server may contain n number of databases. > > > > > > > > 2) On the second database server, i want to keep one particular > > > > database (from the first database server ) and keep it updated to > the > > > > latest from the First Database Server. I just want to be able to > take > > > > some sort of incremental backup from the first server and restore it > > > > to the second server. > > > > > > > > Is this situation feasible. How can i take an incremental backup of > a > > > > particular database out of many databases? On which version this is > > > > supported? IF not supported, is there any alternative way to handle > > > > this situatio. > > > > > > > > Regards, > > > > Yogvinder Singh, > > > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > > > > including any attachment may contain confidential, proprietary or > > > > legally privileged information. It should not be used by who is not > > > > the original intended recipient. If you have erroneously received > this > > > > message, you are notified that you are strictly prohibited from > using, > > > > copying, altering or disclosing the content of this message. Please > > > > delete it immediately and notify the sender. Newgen Software > > > > Technologies Ltd and / or its subsidiary Companies accept no > > > > responsibility for loss or damage arising from the use of the > > > > information transmitted by this email including damage from virus > and > > > > further acknowledges that any views expressed in this message are > > > > those of the individual sender and no binding nature of the message > > > > shall be implied or assumed unless the sender does so expressly with > > > > due authority of Newgen Software Technologies Ltd and / or its > > > > subsidiary Companies, as applicable. > > > > > > ---------------------------(end of > broadcast)--------------------------- > > > TIP 3: Have you checked our extensive FAQ? > > > > > > http://www.postgresql.org/docs/faq > > > > > > > > > > > Disclaimer :- This e-mail message including any attachment may contain > confidential, proprietary or legally privileged information. It should not > be used by who is not the original intended recipient. If you have > erroneously received this message, you are notified that you are strictly > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software > Technologies Ltd and / or its subsidiary Companies accept no > responsibility > for loss or damage arising from the use of the information transmitted by > this email including damage from virus and further acknowledges that any > views expressed in this message are those of the individual sender and no > binding nature of the message shall be implied or assumed unless the > sender > does so expressly with due authority of Newgen Software Technologies Ltd > and > / or its subsidiary Companies, as applicable. > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 6: explain analyze is your friend > > > > > > Disclaimer :- This e-mail message including any attachment may contain > confidential, proprietary or legally privileged information. It should not > be used by who is not the original intended recipient. If you have > erroneously received this message, you are notified that you are strictly > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen Software > Technologies Ltd and / or its subsidiary Companies accept no responsibility > for loss or damage arising from the use of the information transmitted by > this email including damage from virus and further acknowledges that any > views expressed in this message are those of the individual sender and no > binding nature of the message shall be implied or assumed unless the sender > does so expressly with due authority of Newgen Software Technologies Ltd and > / or its subsidiary Companies, as applicable. > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > ------=_Part_82701_7740560.1169116676650 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline When the pg_dump process starts it takes one point and then makes a backup = for that specific time even if more updates on the database are happening d= uring the pg_dump process. So when you restore on the other machine it will= restore to that specific time when the pg_dump process started.

----------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/18/07, Yogvinder Singh &= lt; yogvinder@newgen.co.in> wr= ote:
pg_dum= p is a utility for saving a PostgreSQL database into a script or an
archive file. The script files are in plain-text format and contain&nbs= p; the SQL
commands required to reconstruct the database to the sta= te  it       was  in
a= t  the  time  it  was saved.
"At the time it was saved" What is the meaning of this statement= ?


Regards,
Yogvinder Singh,
Software Engineer, E-WorkStyle = Group,
Newgen Software Technologies Ltd.
D-152, Okhla Phase - 1
Ne= w Delhi
Tel no 26815467 Ext 143


----- Original Message -----
From: "Yogvinder Singh" <yogvinder@newgen.co.in>
To: "Andy Shellam (Mailing = Lists)" <an= dy.shellam-lists@mailnetwork.co.uk >
Cc: <pgsql-adm= in@postgresql.org>
Sent: Thursday, January 18, 2007 10:44 AM
S= ubject: Re: [ADMIN] Incremental Backup of a particular database


> I only want one of many databases to be restored to the other server> incrementally.
> Is this possible?
> If yes, Wht are the= steps??
>
> Regards,
> Yogvinder Singh,
> Software= Engineer, E-WorkStyle Group,
> Newgen Software Technologies Ltd.
> D-152, Okhla Phase - 1> Tel no 26815467 Ext 143
>
>
> ----- Original Messa= ge -----
> From: "Andy Shellam (Mailing Lists)"
< andy.shellam-lists@= mailnetwork.co.uk>
> To: "Yogvinder Singh" <yogvinder@newgen.co.in>
>= Cc: < pgsql-admin@postgresql.org>
> Sent: Wednesday, January 17, 2007 8:17 PM
> Subject: Re= : [ADMIN] Incremental Backup of a particular database
>
>
> > I believe the option for a "warm standby" (which sounds= like it is what
> > you need) was made available in 8.2.0.
>= ; > You'd have to look at the manual though, I haven't had time = to
> > investigate, and I'm not sure whether it's cluster-wi= de, or
> > database-specific.
> >
> >
> &g= t; Yogvinder Singh wrote:
> > > Hi Ppl,
> > >
> > > I have Two PostgreSQL Database Servers. The situation is lik= e this:-
> > > 1) On first database server ball the operations = (i.e live server) will
> > > be done. This server may contain n= number of databases.
> > >
> > > 2) On the second database server, i wa= nt to keep one particular
> > > database (from the first databa= se server  ) and keep it updated to the
> > > latest = from the First Database Server. I just want to be able to take
> > > some sort of incremental backup from the first server an= d restore it
> > > to the second server.
> > >
&= gt; > > Is this situation feasible. How can i take an incremental bac= kup of a
> > > particular database out of many databases? On which vers= ion this is
> > > supported? IF not supported, is there any alt= ernative way to handle
> > > this situatio.
> > >
> > > Regards,
> > > Yogvinder Singh,
> >= > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message<= br>> > > including any attachment may contain confidential, propri= etary or
> > > legally privileged information. It should not be used by= who is not
> > > the original intended recipient. If you have = erroneously received this
> > > message, you are notified that = you are strictly prohibited from using,
> > > copying, altering or disclosing the content of this mess= age. Please
> > > delete it immediately and notify the sender. = Newgen Software
> > > Technologies Ltd and / or its subsidiary = Companies accept no
> > > responsibility for loss or damage arising from the use o= f the
> > > information transmitted by this email including dam= age from virus and
> > > further acknowledges that any views ex= pressed in this message are
> > > those of the individual sender and no binding nature of = the message
> > > shall be implied or assumed unless the sender= does so expressly with
> > > due authority of Newgen Software = Technologies Ltd and / or its
> > > subsidiary Companies, as applicable.
> >
>= ; > ---------------------------(end of broadcast)-----------------------= ----
> > TIP 3: Have you checked our extensive FAQ?
> >
> >          &n= bsp;     
http://www.postgresql.org/docs/faq
> >
>
>>
> Disclaimer :- This e-mail message including any attachment m= ay contain
confidential, proprietary or legally privileged information. It should = not
be used by who is not the original intended recipient. If you haveerroneously received this message, you are notified that you are strictly
prohibited from using, copying, altering or disclosing the content of t= his
message. Please delete it immediately and notify the sender. Newgen = Software
Technologies Ltd and / or its subsidiary Companies accept no re= sponsibility
for loss or damage arising from the use of the information transmitted = by
this email including damage from virus and further acknowledges that = any
views expressed in this message are those of the individual sender a= nd no
binding nature of the message shall be implied or assumed unless the se= nder
does so expressly with due authority of Newgen Software Technologie= s Ltd and
/ or its subsidiary Companies, as applicable.
>
>
> ---------------------------(end of broadcast)---------------------= ------
> TIP 6: explain analyze is your friend
>


Disclaimer :- This e-mail message including any attachment may contain con= fidential, proprietary or legally privileged information. It should not be = used by who is not the original intended recipient. If you have erroneously= received this message, you are notified that you are strictly prohibited f= rom using, copying, altering or disclosing the content of this message. Ple= ase delete it immediately and notify the sender. Newgen Software Technologi= es Ltd and / or its subsidiary Companies accept no responsibility for loss = or damage arising from the use of the information transmitted by this email= including damage from virus and further acknowledges that any views expres= sed in this message are those of the individual sender and no binding natur= e of the message shall be implied or assumed unless the sender does so expr= essly with due authority of Newgen Software Technologies Ltd and / or its s= ubsidiary Companies, as applicable.


---------------------------(end of broadcast)------------------= ---------
TIP 6: explain analyze is your friend
------=_Part_82701_7740560.1169116676650-- From yogvinder@newgen.co.in Thu Jan 18 11:39:38 2007 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8A46C9FB28E for ; Thu, 18 Jan 2007 07:39:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 62662-06 for ; Thu, 18 Jan 2007 07:39:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from newgen.co.in (unknown [202.131.146.233]) by postgresql.org (Postfix) with SMTP id 094099FB1D2 for ; Thu, 18 Jan 2007 07:39:24 -0400 (AST) Received: (qmail 30283 invoked by uid 507); 18 Jan 2007 11:25:17 -0000 Received: from 202.140.41.205 by mx.newgen.co.in (envelope-from , uid 501) with qmail-scanner-1.25 (fireav: ???. spamassassin: 3.1.3. Clear:RC:0(202.140.41.205):SA:0(-100.0/4.5):. Processed in 0.594481 secs); 18 Jan 2007 11:25:17 -0000 Received: from unknown (HELO ngmail.newgen.co.in) (okhlaoffice@202.140.41.205) by mx.newgen.co.in with SMTP; 18 Jan 2007 11:25:16 -0000 Received: (qmail 20159 invoked by uid 504); 18 Jan 2007 11:23:23 -0000 Received: from yogvinder@newgen.co.in by ngmail.newgen.co.in by uid 501 with qmail-scanner-1.21 (fireav: ???. Clear:RC:1(192.168.4.4):. Processed in 2.224914 secs); 18 Jan 2007 11:23:23 -0000 Received: from unknown (HELO ng4244a) (yogvinder@192.168.4.4) by ngmail.newgen.co.in with SMTP; 18 Jan 2007 11:23:20 -0000 Message-ID: <001101c73af3$0f0d43e0$0404a8c0@central.newgen.local> From: "Yogvinder Singh" To: "Shoaib Mir" Cc: References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 16:53:19 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C73B21.283FFC30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.241 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200701/152 X-Sequence-Number: 24308 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C73B21.283FFC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable So it means there is no way i can take incremental backup of one of the = databases from a postgresql database server?? Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 New Delhi Tel no 26815467 Ext 143 ----- Original Message -----=20 From: Shoaib Mir=20 To: Yogvinder Singh=20 Cc: pgsql-admin@postgresql.org=20 Sent: Thursday, January 18, 2007 4:07 PM Subject: Re: [ADMIN] Incremental Backup of a particular database When the pg_dump process starts it takes one point and then makes a = backup for that specific time even if more updates on the database are = happening during the pg_dump process. So when you restore on the other = machine it will restore to that specific time when the pg_dump process = started.=20 ---------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 1/18/07, Yogvinder Singh < yogvinder@newgen.co.in> wrote: pg_dump is a utility for saving a PostgreSQL database into a script = or an=20 archive file. The script files are in plain-text format and contain = the SQL commands required to reconstruct the database to the state it = was in at the time it was saved. "At the time it was saved" What is the meaning of this statement?=20 Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 New Delhi Tel no 26815467 Ext 143 ----- Original Message -----=20 From: "Yogvinder Singh" To: "Andy Shellam (Mailing Lists)" = Cc: Sent: Thursday, January 18, 2007 10:44 AM Subject: Re: [ADMIN] Incremental Backup of a particular database > I only want one of many databases to be restored to the other = server > incrementally. > Is this possible? > If yes, Wht are the steps?? > > Regards, > Yogvinder Singh, > Software Engineer, E-WorkStyle Group,=20 > Newgen Software Technologies Ltd. > D-152, Okhla Phase - 1 > Tel no 26815467 Ext 143 > > > ----- Original Message ----- > From: "Andy Shellam (Mailing Lists)" < andy.shellam-lists@mailnetwork.co.uk> > To: "Yogvinder Singh" > Cc: < pgsql-admin@postgresql.org> > Sent: Wednesday, January 17, 2007 8:17 PM > Subject: Re: [ADMIN] Incremental Backup of a particular database > > > > I believe the option for a "warm standby" (which sounds like it = is what > > you need) was made available in 8.2.0. > > You'd have to look at the manual though, I haven't had time to=20 > > investigate, and I'm not sure whether it's cluster-wide, or > > database-specific. > > > > > > Yogvinder Singh wrote: > > > Hi Ppl, > > > > > > I have Two PostgreSQL Database Servers. The situation is like = this:- > > > 1) On first database server ball the operations (i.e live = server) will > > > be done. This server may contain n number of databases.=20 > > > > > > 2) On the second database server, i want to keep one = particular > > > database (from the first database server ) and keep it = updated to the > > > latest from the First Database Server. I just want to be able = to take=20 > > > some sort of incremental backup from the first server and = restore it > > > to the second server. > > > > > > Is this situation feasible. How can i take an incremental = backup of a=20 > > > particular database out of many databases? On which version = this is > > > supported? IF not supported, is there any alternative way to = handle > > > this situatio. > > >=20 > > > Regards, > > > Yogvinder Singh, > > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail = message > > > including any attachment may contain confidential, proprietary = or=20 > > > legally privileged information. It should not be used by who = is not > > > the original intended recipient. If you have erroneously = received this > > > message, you are notified that you are strictly prohibited = from using,=20 > > > copying, altering or disclosing the content of this message. = Please > > > delete it immediately and notify the sender. Newgen Software > > > Technologies Ltd and / or its subsidiary Companies accept no=20 > > > responsibility for loss or damage arising from the use of the > > > information transmitted by this email including damage from = virus and > > > further acknowledges that any views expressed in this message = are=20 > > > those of the individual sender and no binding nature of the = message > > > shall be implied or assumed unless the sender does so = expressly with > > > due authority of Newgen Software Technologies Ltd and / or its = > > > subsidiary Companies, as applicable. > > > > ---------------------------(end of = broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > >=20 > > http://www.postgresql.org/docs/faq > > > > > > Disclaimer :- This e-mail message including any attachment may = contain=20 confidential, proprietary or legally privileged information. It = should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are = strictly=20 prohibited from using, copying, altering or disclosing the content = of this message. Please delete it immediately and notify the sender. Newgen = Software Technologies Ltd and / or its subsidiary Companies accept no = responsibility=20 for loss or damage arising from the use of the information = transmitted by this email including damage from virus and further acknowledges that = any views expressed in this message are those of the individual sender = and no=20 binding nature of the message shall be implied or assumed unless the = sender does so expressly with due authority of Newgen Software Technologies = Ltd and / or its subsidiary Companies, as applicable. > >=20 > ---------------------------(end of = broadcast)--------------------------- > TIP 6: explain analyze is your friend > Disclaimer :- This e-mail message including any attachment may = contain confidential, proprietary or legally privileged information. It = should not be used by who is not the original intended recipient. If you = have erroneously received this message, you are notified that you are = strictly prohibited from using, copying, altering or disclosing the = content of this message. Please delete it immediately and notify the = sender. Newgen Software Technologies Ltd and / or its subsidiary = Companies accept no responsibility for loss or damage arising from the = use of the information transmitted by this email including damage from = virus and further acknowledges that any views expressed in this message = are those of the individual sender and no binding nature of the message = shall be implied or assumed unless the sender does so expressly with due = authority of Newgen Software Technologies Ltd and / or its subsidiary = Companies, as applicable.=20 ---------------------------(end of = broadcast)--------------------------- TIP 6: explain analyze is your friend ------=_NextPart_000_000E_01C73B21.283FFC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
So it means there is no way i can = take=20 incremental backup of  one of the databases from a postgresql = database=20 server??
 
Regards,
Yogvinder Singh,
Software Engineer, E-WorkStyle=20 Group,
Newgen Software Technologies Ltd.
D-152, Okhla Phase - = 1
New=20 Delhi
Tel no 26815467 Ext 143
 
 
----- Original Message -----
From:=20 Shoaib Mir=20
Sent: Thursday, January 18, = 2007 4:07=20 PM
Subject: Re: [ADMIN] = Incremental Backup=20 of a particular database

When the pg_dump process starts it takes one point and = then=20 makes a backup for that specific time even if more updates on the = database are=20 happening during the pg_dump process. So when you restore on the other = machine=20 it will restore to that specific time when the pg_dump process = started.=20

----------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/18/07, Yogvinder=20 Singh < yogvinder@newgen.co.in>=20 wrote:
pg_dump=20 is a utility for saving a PostgreSQL database into a script or an=20
archive file. The script files are in plain-text format and=20 contain  the SQL
commands required to reconstruct the = database=20 to the state  it      =20 = was  in
at  the  time  it = ; was=20 saved.

"At the time it was saved" What is the meaning of this = statement?


Regards,
Yogvinder Singh,
Software = Engineer,=20 E-WorkStyle Group,
Newgen Software Technologies Ltd.
D-152, = Okhla=20 Phase - 1
New Delhi
Tel no 26815467 Ext 143


----- = Original=20 Message -----
From: "Yogvinder Singh" <yogvinder@newgen.co.in>
= To:=20 "Andy Shellam (Mailing Lists)" <andy.shellam-lists@m= ailnetwork.co.uk=20 >
Cc: <pgsql-admin@postgresql.org= >
Sent:=20 Thursday, January 18, 2007 10:44 AM
Subject: Re: [ADMIN] = Incremental=20 Backup of a particular database


> I only want one of = many=20 databases to be restored to the other server
> = incrementally.
>=20 Is this possible?
> If yes, Wht are the = steps??
>
>=20 Regards,
> Yogvinder Singh,
> Software Engineer, = E-WorkStyle=20 Group,
> Newgen Software Technologies Ltd.
> D-152, = Okhla Phase=20 - 1
> Tel no 26815467 Ext 143
>
>
> ----- = Original=20 Message -----
> From: "Andy Shellam (Mailing Lists)"
< = andy.shellam-lists@m= ailnetwork.co.uk>
>=20 To: "Yogvinder Singh" <yogvinder@newgen.co.in>
= >=20 Cc: < pgsql-admin@postgresql.org= >
>=20 Sent: Wednesday, January 17, 2007 8:17 PM
> Subject: Re: = [ADMIN]=20 Incremental Backup of a particular database
>
>
> = > I=20 believe the option for a "warm standby" (which sounds like it is=20 what
> > you need) was made available in 8.2.0.
> = > You'd=20 have to look at the manual though, I haven't had time to
> = >=20 investigate, and I'm not sure whether it's cluster-wide, or
> = >=20 database-specific.
> >
> >
> > Yogvinder = Singh=20 wrote:
> > > Hi Ppl,
> > >
> > > = I have=20 Two PostgreSQL Database Servers. The situation is like = this:-
> >=20 > 1) On first database server ball the operations (i.e live = server)=20 will
> > > be done. This server may contain n number of=20 databases.
> > >
> > > 2) On the second = database=20 server, i want to keep one particular
> > > database = (from the=20 first database server  ) and keep it updated to = the
> >=20 > latest from the First Database Server. I just want to be able = to take=20
> > > some sort of incremental backup from the first = server and=20 restore it
> > > to the second server.
> > = >
>=20 > > Is this situation feasible. How can i take an incremental = backup=20 of a
> > > particular database out of many databases? = On which=20 version this is
> > > supported? IF not supported, is = there any=20 alternative way to handle
> > > this situatio.
> = > >=20
> > > Regards,
> > > Yogvinder = Singh,
> >=20 > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail=20 message
> > > including any attachment may contain = confidential,=20 proprietary or
> > > legally privileged information. It = should=20 not be used by who is not
> > > the original intended = recipient.=20 If you have erroneously received this
> > > message, you = are=20 notified that you are strictly prohibited from using,
> > = >=20 copying, altering or disclosing the content of this message. = Please
>=20 > > delete it immediately and notify the sender. Newgen=20 Software
> > > Technologies Ltd and / or its subsidiary=20 Companies accept no
> > > responsibility for loss or = damage=20 arising from the use of the
> > > information = transmitted by=20 this email including damage from virus and
> > > further = acknowledges that any views expressed in this message are
> = > >=20 those of the individual sender and no binding nature of the = message
>=20 > > shall be implied or assumed unless the sender does so = expressly=20 with
> > > due authority of Newgen Software Technologies = Ltd and=20 / or its
> > > subsidiary Companies, as = applicable.
>=20 >
> > ---------------------------(end of=20 broadcast)---------------------------
> > TIP 3: Have you = checked=20 our extensive FAQ?
> >
>=20 = >           &nb= sp;    http://www.postgresql.org/doc= s/faq
>=20 >
>
>
>
> Disclaimer :- This e-mail = message=20 including any attachment may contain
confidential, proprietary = or=20 legally privileged information. It should not
be used by who is = not the=20 original intended recipient. If you have
erroneously received = this=20 message, you are notified that you are strictly
prohibited from = using,=20 copying, altering or disclosing the content of this
message. = Please=20 delete it immediately and notify the sender. Newgen = Software
Technologies=20 Ltd and / or its subsidiary Companies accept no responsibility =
for loss=20 or damage arising from the use of the information transmitted = by
this=20 email including damage from virus and further acknowledges that = any
views=20 expressed in this message are those of the individual sender and no=20
binding nature of the message shall be implied or assumed unless = the=20 sender
does so expressly with due authority of Newgen Software=20 Technologies Ltd and
/ or its subsidiary Companies, as=20 applicable.
>
>
> ---------------------------(end = of=20 broadcast)---------------------------
> TIP 6: explain analyze = is your=20 friend
>



Disclaimer :- This e-mail message = including=20 any attachment may contain confidential, proprietary or legally = privileged=20 information. It should not be used by who is not the original = intended=20 recipient. If you have erroneously received this message, you are = notified=20 that you are strictly prohibited from using, copying, altering or = disclosing=20 the content of this message. Please delete it immediately and notify = the=20 sender. Newgen Software Technologies Ltd and / or its subsidiary = Companies=20 accept no responsibility for loss or damage arising from the use of = the=20 information transmitted by this email including damage from virus = and=20 further acknowledges that any views expressed in this message are = those of=20 the individual sender and no binding nature of the message shall be = implied=20 or assumed unless the sender does so expressly with due authority of = Newgen=20 Software Technologies Ltd and / or its subsidiary Companies, as = applicable.=20


---------------------------(end of=20 broadcast)---------------------------
TIP 6: explain analyze is = your=20 friend

Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. ------=_NextPart_000_000E_01C73B21.283FFC30-- From sbq@cayuse.com Thu Jan 18 17:18:09 2007 Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id CF4409FA66C for ; Thu, 18 Jan 2007 13:18:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 32554-05 for ; Thu, 18 Jan 2007 13:18:00 -0400 (AST) X-Greylist: delayed 00:28:05.182417 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 1F0819FB2C6 for ; Thu, 18 Jan 2007 13:15:59 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from brain.cayuse.com (mail.cayuse.com [66.213.255.190]) by svr4.postgresql.org (Postfix) with ESMTP id 14D0B5AF989 for ; Thu, 18 Jan 2007 16:47:52 +0000 (GMT) Received: from SamsBox2 ([10.255.7.60]) (authenticated bits=0) by brain.cayuse.com (8.13.1/8.13.1) with ESMTP id l0IGlkF8003836 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 18 Jan 2007 08:47:47 -0800 Message-ID: <018f01c73b20$633c7fd0$3c07ff0a@SamsBox2> From: "Samuel B. Quiring" To: "Yogvinder Singh" , References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 06:21:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200701/158 X-Sequence-Number: 24314 You can use pg_dump while the application(s) that use the database are active. pg_dump saves that database at a point in time. If the application(s) continue to modify the database after you use pg_dump, the script/archive file created by pg_dump will not contain those modifications. ----- Original Message ----- From: "Yogvinder Singh" To: Sent: Wednesday, January 17, 2007 9:59 PM Subject: Re: [ADMIN] Incremental Backup of a particular database > pg_dump is a utility for saving a PostgreSQL database into a script or an > archive file. The script files are in plain-text format and contain the > SQL > commands required to reconstruct the database to the state it was > in > at the time it was saved. > > "At the time it was saved" What is the meaning of this statement? > > > Regards, > Yogvinder Singh, > Software Engineer, E-WorkStyle Group, > Newgen Software Technologies Ltd. > D-152, Okhla Phase - 1 > New Delhi > Tel no 26815467 Ext 143 > > > ----- Original Message ----- > From: "Yogvinder Singh" > To: "Andy Shellam (Mailing Lists)" > Cc: > Sent: Thursday, January 18, 2007 10:44 AM > Subject: Re: [ADMIN] Incremental Backup of a particular database > > >> I only want one of many databases to be restored to the other server >> incrementally. >> Is this possible? >> If yes, Wht are the steps?? >> >> Regards, >> Yogvinder Singh, >> Software Engineer, E-WorkStyle Group, >> Newgen Software Technologies Ltd. >> D-152, Okhla Phase - 1 >> Tel no 26815467 Ext 143 >> >> >> ----- Original Message ----- >> From: "Andy Shellam (Mailing Lists)" > >> To: "Yogvinder Singh" >> Cc: >> Sent: Wednesday, January 17, 2007 8:17 PM >> Subject: Re: [ADMIN] Incremental Backup of a particular database >> >> >> > I believe the option for a "warm standby" (which sounds like it is what >> > you need) was made available in 8.2.0. >> > You'd have to look at the manual though, I haven't had time to >> > investigate, and I'm not sure whether it's cluster-wide, or >> > database-specific. >> > >> > >> > Yogvinder Singh wrote: >> > > Hi Ppl, >> > > >> > > I have Two PostgreSQL Database Servers. The situation is like this:- >> > > 1) On first database server ball the operations (i.e live server) >> > > will >> > > be done. This server may contain n number of databases. >> > > >> > > 2) On the second database server, i want to keep one particular >> > > database (from the first database server ) and keep it updated to >> > > the >> > > latest from the First Database Server. I just want to be able to take >> > > some sort of incremental backup from the first server and restore it >> > > to the second server. >> > > >> > > Is this situation feasible. How can i take an incremental backup of a >> > > particular database out of many databases? On which version this is >> > > supported? IF not supported, is there any alternative way to handle >> > > this situatio. >> > > >> > > Regards, >> > > Yogvinder Singh, >> > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message >> > > including any attachment may contain confidential, proprietary or >> > > legally privileged information. It should not be used by who is not >> > > the original intended recipient. If you have erroneously received >> > > this >> > > message, you are notified that you are strictly prohibited from >> > > using, >> > > copying, altering or disclosing the content of this message. Please >> > > delete it immediately and notify the sender. Newgen Software >> > > Technologies Ltd and / or its subsidiary Companies accept no >> > > responsibility for loss or damage arising from the use of the >> > > information transmitted by this email including damage from virus and >> > > further acknowledges that any views expressed in this message are >> > > those of the individual sender and no binding nature of the message >> > > shall be implied or assumed unless the sender does so expressly with >> > > due authority of Newgen Software Technologies Ltd and / or its >> > > subsidiary Companies, as applicable. >> > >> > ---------------------------(end of >> > broadcast)--------------------------- >> > TIP 3: Have you checked our extensive FAQ? >> > >> > http://www.postgresql.org/docs/faq >> > >> >> >> >> Disclaimer :- This e-mail message including any attachment may contain > confidential, proprietary or legally privileged information. It should not > be used by who is not the original intended recipient. If you have > erroneously received this message, you are notified that you are strictly > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software > Technologies Ltd and / or its subsidiary Companies accept no > responsibility > for loss or damage arising from the use of the information transmitted by > this email including damage from virus and further acknowledges that any > views expressed in this message are those of the individual sender and no > binding nature of the message shall be implied or assumed unless the > sender > does so expressly with due authority of Newgen Software Technologies Ltd > and > / or its subsidiary Companies, as applicable. >> >> >> ---------------------------(end of broadcast)--------------------------- >> TIP 6: explain analyze is your friend >> > > > > Disclaimer :- This e-mail message including any attachment may contain > confidential, proprietary or legally privileged information. It should not > be used by who is not the original intended recipient. If you have > erroneously received this message, you are notified that you are strictly > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen > Software Technologies Ltd and / or its subsidiary Companies accept no > responsibility for loss or damage arising from the use of the information > transmitted by this email including damage from virus and further > acknowledges that any views expressed in this message are those of the > individual sender and no binding nature of the message shall be implied or > assumed unless the sender does so expressly with due authority of Newgen > Software Technologies Ltd and / or its subsidiary Companies, as > applicable. > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > From jason.minion@sigler.com Thu Jan 18 16:26:16 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 740C29FB2FD for ; Thu, 18 Jan 2007 12:26:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 95762-04 for ; Thu, 18 Jan 2007 12:25:54 -0400 (AST) X-Greylist: delayed 00:20:03.948109 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 3F3849FB2F6 for ; Thu, 18 Jan 2007 12:25:59 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail.siglercompanies.com (sig-gw.isunet.net [63.175.165.221]) by svr4.postgresql.org (Postfix) with ESMTP id 2130B5AFA47 for ; Thu, 18 Jan 2007 16:05:53 +0000 (GMT) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C73B19.BFA2B551" Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 10:02:03 -0600 Message-ID: <261CF9EEB14F5442894AB6DDA93AA6F44EDAD2@mail.siglercompanies.com> In-Reply-To: <001101c73af3$0f0d43e0$0404a8c0@central.newgen.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Incremental Backup of a particular database Thread-Index: Acc69SHOmF8gcBgRTC2lyRJnzU1HHQAIwc4A From: "Jason Minion" To: "Yogvinder Singh" , "Shoaib Mir" Cc: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.511 tagged_above=0 required=5 tests=BAYES_50, FORGED_RCVD_HELO, HTML_30_40, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200701/156 X-Sequence-Number: 24312 This is a multi-part message in MIME format. ------_=_NextPart_001_01C73B19.BFA2B551 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable There is no incremental backup process that focuses on an individual database for PostgreSQL. Anything that has to do with PITR on a PostgreSQL installation is system-wide, and cannot be configured to support a single database out of many in an installation. If you need to support PITR with a single database, you will need to initdb another directory and set up another PostgreSQL postmaster to manage that installation separate from your primary installation (and on a different port, etc), or set up PostgreSQL for that specific database on another server. =20 Also, there really are no incremental backup tools for PostgreSQL, assuming you are looking at an incremental backup in the way that the Progress database system takes an incremental backup (copy of all of the blocks changed since the last full or incremental backup). PostgreSQL has PITR, which is a roll-forward system using log data from a full point-in-time backup, as well as pg_dump. One could say that the log files are the incremental backups. However, many commercial database systems (that many are migrating to PostgreSQL from) provide both an "incremental" backup option (very fast recovery) as well as a "log based recovery" option (slow recovery), and of the two, PostgreSQL supports only the log based recovery through PITR. =20 Please correct me where possible guys, I enjoy the stability and useability of my PostgreSQL very much, but I have to admit that I lose a bit more sleep over it than some other db's with regards to recovery time in a DR scenario. I am very eager to see where we go in the future. Jason Minion jason.minion@sigler.com =20 ________________________________ From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Yogvinder Singh Sent: Thursday, January 18, 2007 5:23 AM To: Shoaib Mir Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Incremental Backup of a particular database So it means there is no way i can take incremental backup of one of the databases from a postgresql database server?? =20 Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 New Delhi Tel no 26815467 Ext 143 =20 =20 ----- Original Message -----=20 From: Shoaib Mir =20 To: Yogvinder Singh =20 Cc: pgsql-admin@postgresql.org=20 Sent: Thursday, January 18, 2007 4:07 PM Subject: Re: [ADMIN] Incremental Backup of a particular database When the pg_dump process starts it takes one point and then makes a backup for that specific time even if more updates on the database are happening during the pg_dump process. So when you restore on the other machine it will restore to that specific time when the pg_dump process started.=20 =09 ---------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) =09 =09 On 1/18/07, Yogvinder Singh < yogvinder@newgen.co.in> wrote:=20 pg_dump is a utility for saving a PostgreSQL database into a script or an=20 archive file. The script files are in plain-text format and contain the SQL commands required to reconstruct the database to the state it was in at the time it was saved. =09 "At the time it was saved" What is the meaning of this statement?=20 =09 =09 Regards, Yogvinder Singh, Software Engineer, E-WorkStyle Group, Newgen Software Technologies Ltd. D-152, Okhla Phase - 1 New Delhi Tel no 26815467 Ext 143 =09 =09 ----- Original Message -----=20 From: "Yogvinder Singh" To: "Andy Shellam (Mailing Lists)" Cc: Sent: Thursday, January 18, 2007 10:44 AM Subject: Re: [ADMIN] Incremental Backup of a particular database =09 =09 > I only want one of many databases to be restored to the other server > incrementally. > Is this possible? > If yes, Wht are the steps?? > > Regards, > Yogvinder Singh, > Software Engineer, E-WorkStyle Group,=20 > Newgen Software Technologies Ltd. > D-152, Okhla Phase - 1 > Tel no 26815467 Ext 143 > > > ----- Original Message ----- > From: "Andy Shellam (Mailing Lists)" < andy.shellam-lists@mailnetwork.co.uk> > To: "Yogvinder Singh" > Cc: < pgsql-admin@postgresql.org> > Sent: Wednesday, January 17, 2007 8:17 PM > Subject: Re: [ADMIN] Incremental Backup of a particular database > > > > I believe the option for a "warm standby" (which sounds like it is what > > you need) was made available in 8.2.0. > > You'd have to look at the manual though, I haven't had time to=20 > > investigate, and I'm not sure whether it's cluster-wide, or > > database-specific. > > > > > > Yogvinder Singh wrote: > > > Hi Ppl, > > > > > > I have Two PostgreSQL Database Servers. The situation is like this:- > > > 1) On first database server ball the operations (i.e live server) will > > > be done. This server may contain n number of databases.=20 > > > > > > 2) On the second database server, i want to keep one particular > > > database (from the first database server ) and keep it updated to the > > > latest from the First Database Server. I just want to be able to take=20 > > > some sort of incremental backup from the first server and restore it > > > to the second server. > > > > > > Is this situation feasible. How can i take an incremental backup of a=20 > > > particular database out of many databases? On which version this is > > > supported? IF not supported, is there any alternative way to handle > > > this situatio. > > >=20 > > > Regards, > > > Yogvinder Singh, > > > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail message > > > including any attachment may contain confidential, proprietary or=20 > > > legally privileged information. It should not be used by who is not > > > the original intended recipient. If you have erroneously received this > > > message, you are notified that you are strictly prohibited from using,=20 > > > copying, altering or disclosing the content of this message. Please > > > delete it immediately and notify the sender. Newgen Software > > > Technologies Ltd and / or its subsidiary Companies accept no=20 > > > responsibility for loss or damage arising from the use of the > > > information transmitted by this email including damage from virus and > > > further acknowledges that any views expressed in this message are=20 > > > those of the individual sender and no binding nature of the message > > > shall be implied or assumed unless the sender does so expressly with > > > due authority of Newgen Software Technologies Ltd and / or its=20 > > > subsidiary Companies, as applicable. > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > >=20 > > http://www.postgresql.org/docs/faq > > > > > > Disclaimer :- This e-mail message including any attachment may contain=20 confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly=20 prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility=20 for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no=20 binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable. > >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > =09 =09 =09 Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable.=20 =09 =09 ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend =09 Disclaimer :- This e-mail message including any attachment may contain confidential, proprietary or legally privileged information. It should not be used by who is not the original intended recipient. If you have erroneously received this message, you are notified that you are strictly prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd and / or its subsidiary Companies accept no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of Newgen Software Technologies Ltd and / or its subsidiary Companies, as applicable.=20 ------_=_NextPart_001_01C73B19.BFA2B551 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
There is no incremental backup process that focuses on an = individual=20 database for PostgreSQL. Anything that has to do with PITR on a = PostgreSQL=20 installation is system-wide, and cannot be configured to support a = single=20 database out of many in an installation. If you need to support PITR = with a=20 single database, you will need to initdb another directory and set up = another=20 PostgreSQL postmaster to manage that installation separate from your = primary=20 installation (and on a different port, etc), or set up PostgreSQL for = that=20 specific database on another server.
 
Also, there really are no incremental backup tools for = PostgreSQL,=20 assuming you are looking at an incremental backup in the way that the = Progress=20 database system takes an incremental backup (copy of all of the blocks = changed=20 since the last full or incremental backup). PostgreSQL has PITR, which = is a=20 roll-forward system using log data from a full point-in-time backup, as = well as=20 pg_dump. One could say that the log files are the incremental backups. = However,=20 many commercial database systems (that many are migrating to PostgreSQL=20 from) provide both an "incremental" backup option (very fast=20 recovery) as well as a "log based recovery" option (slow recovery), = and of=20 the two, PostgreSQL supports only the log based recovery through=20 PITR.
 
Please correct me where possible guys, I enjoy the stability = and=20 useability of my PostgreSQL very much, but I have to admit that I lose a = bit=20 more sleep over it than some other db's with regards to recovery time in = a DR=20 scenario. I am very eager to see where we go in the = future.

Jason=20 Minion
jason.minion@sigler.com

 


From: = pgsql-admin-owner@postgresql.org=20 [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Yogvinder=20 Singh
Sent: Thursday, January 18, 2007 5:23 AM
To: = Shoaib=20 Mir
Cc: pgsql-admin@postgresql.org
Subject: Re: = [ADMIN]=20 Incremental Backup of a particular database

So it means there is no way i can = take=20 incremental backup of  one of the databases from a postgresql = database=20 server??
 
Regards,
Yogvinder Singh,
Software Engineer, E-WorkStyle=20 Group,
Newgen Software Technologies Ltd.
D-152, Okhla Phase - = 1
New=20 Delhi
Tel no 26815467 Ext 143
 
 
----- Original Message -----
From:=20 Shoaib Mir=20
Sent: Thursday, January 18, = 2007 4:07=20 PM
Subject: Re: [ADMIN] = Incremental Backup=20 of a particular database

When the pg_dump process starts it takes one point and = then=20 makes a backup for that specific time even if more updates on the = database are=20 happening during the pg_dump process. So when you restore on the other = machine=20 it will restore to that specific time when the pg_dump process = started.=20

----------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/18/07, Yogvinder=20 Singh < yogvinder@newgen.co.in>=20 wrote:=20
pg_dump=20 is a utility for saving a PostgreSQL database into a script or an=20
archive file. The script files are in plain-text format and=20 contain  the SQL
commands required to reconstruct the = database=20 to the state  it      =20 = was  in
at  the  time  it = ; was=20 saved.

"At the time it was saved" What is the meaning of this = statement?


Regards,
Yogvinder Singh,
Software = Engineer,=20 E-WorkStyle Group,
Newgen Software Technologies Ltd.
D-152, = Okhla=20 Phase - 1
New Delhi
Tel no 26815467 Ext 143


----- = Original=20 Message -----
From: "Yogvinder Singh" <yogvinder@newgen.co.in>
= To:=20 "Andy Shellam (Mailing Lists)" <andy.shellam-lists@m= ailnetwork.co.uk=20 >
Cc: <pgsql-admin@postgresql.org= >
Sent:=20 Thursday, January 18, 2007 10:44 AM
Subject: Re: [ADMIN] = Incremental=20 Backup of a particular database


> I only want one of = many=20 databases to be restored to the other server
> = incrementally.
>=20 Is this possible?
> If yes, Wht are the = steps??
>
>=20 Regards,
> Yogvinder Singh,
> Software Engineer, = E-WorkStyle=20 Group,
> Newgen Software Technologies Ltd.
> D-152, = Okhla Phase=20 - 1
> Tel no 26815467 Ext 143
>
>
> ----- = Original=20 Message -----
> From: "Andy Shellam (Mailing Lists)"
< = andy.shellam-lists@m= ailnetwork.co.uk>
>=20 To: "Yogvinder Singh" <yogvinder@newgen.co.in>
= >=20 Cc: < pgsql-admin@postgresql.org= >
>=20 Sent: Wednesday, January 17, 2007 8:17 PM
> Subject: Re: = [ADMIN]=20 Incremental Backup of a particular database
>
>
> = > I=20 believe the option for a "warm standby" (which sounds like it is=20 what
> > you need) was made available in 8.2.0.
> = > You'd=20 have to look at the manual though, I haven't had time to
> = >=20 investigate, and I'm not sure whether it's cluster-wide, or
> = >=20 database-specific.
> >
> >
> > Yogvinder = Singh=20 wrote:
> > > Hi Ppl,
> > >
> > > = I have=20 Two PostgreSQL Database Servers. The situation is like = this:-
> >=20 > 1) On first database server ball the operations (i.e live = server)=20 will
> > > be done. This server may contain n number of=20 databases.
> > >
> > > 2) On the second = database=20 server, i want to keep one particular
> > > database = (from the=20 first database server  ) and keep it updated to = the
> >=20 > latest from the First Database Server. I just want to be able = to take=20
> > > some sort of incremental backup from the first = server and=20 restore it
> > > to the second server.
> > = >
>=20 > > Is this situation feasible. How can i take an incremental = backup=20 of a
> > > particular database out of many databases? = On which=20 version this is
> > > supported? IF not supported, is = there any=20 alternative way to handle
> > > this situatio.
> = > >=20
> > > Regards,
> > > Yogvinder = Singh,
> >=20 > !DSPAM:37,45ae2b2f137105304223843! Disclaimer :- This e-mail=20 message
> > > including any attachment may contain = confidential,=20 proprietary or
> > > legally privileged information. It = should=20 not be used by who is not
> > > the original intended = recipient.=20 If you have erroneously received this
> > > message, you = are=20 notified that you are strictly prohibited from using,
> > = >=20 copying, altering or disclosing the content of this message. = Please
>=20 > > delete it immediately and notify the sender. Newgen=20 Software
> > > Technologies Ltd and / or its subsidiary=20 Companies accept no
> > > responsibility for loss or = damage=20 arising from the use of the
> > > information = transmitted by=20 this email including damage from virus and
> > > further = acknowledges that any views expressed in this message are
> = > >=20 those of the individual sender and no binding nature of the = message
>=20 > > shall be implied or assumed unless the sender does so = expressly=20 with
> > > due authority of Newgen Software Technologies = Ltd and=20 / or its
> > > subsidiary Companies, as = applicable.
>=20 >
> > ---------------------------(end of=20 broadcast)---------------------------
> > TIP 3: Have you = checked=20 our extensive FAQ?
> >
>=20 = >           &nb= sp;    http://www.postgresql.org/doc= s/faq
>=20 >
>
>
>
> Disclaimer :- This e-mail = message=20 including any attachment may contain
confidential, proprietary = or=20 legally privileged information. It should not
be used by who is = not the=20 original intended recipient. If you have
erroneously received = this=20 message, you are notified that you are strictly
prohibited from = using,=20 copying, altering or disclosing the content of this
message. = Please=20 delete it immediately and notify the sender. Newgen = Software
Technologies=20 Ltd and / or its subsidiary Companies accept no responsibility =
for loss=20 or damage arising from the use of the information transmitted = by
this=20 email including damage from virus and further acknowledges that = any
views=20 expressed in this message are those of the individual sender and no=20
binding nature of the message shall be implied or assumed unless = the=20 sender
does so expressly with due authority of Newgen Software=20 Technologies Ltd and
/ or its subsidiary Companies, as=20 applicable.
>
>
> ---------------------------(end = of=20 broadcast)---------------------------
> TIP 6: explain analyze = is your=20 friend
>



Disclaimer :- This e-mail message = including=20 any attachment may contain confidential, proprietary or legally = privileged=20 information. It should not be used by who is not the original = intended=20 recipient. If you have erroneously received this message, you are = notified=20 that you are strictly prohibited from using, copying, altering or = disclosing=20 the content of this message. Please delete it immediately and notify = the=20 sender. Newgen Software Technologies Ltd and / or its subsidiary = Companies=20 accept no responsibility for loss or damage arising from the use of = the=20 information transmitted by this email including damage from virus = and=20 further acknowledges that any views expressed in this message are = those of=20 the individual sender and no binding nature of the message shall be = implied=20 or assumed unless the sender does so expressly with due authority of = Newgen=20 Software Technologies Ltd and / or its subsidiary Companies, as = applicable.=20


---------------------------(end of=20 broadcast)---------------------------
TIP 6: explain analyze is = your=20 friend

Disclaimer :- This = e-mail message=20 including any attachment may contain confidential, proprietary or = legally=20 privileged information. It should not be used by who is not the original = intended recipient. If you have erroneously received this message, you = are=20 notified that you are strictly prohibited from using, copying, altering = or=20 disclosing the content of this message. Please delete it immediately and = notify=20 the sender. Newgen Software Technologies Ltd and / or its subsidiary = Companies=20 accept no responsibility for loss or damage arising from the use of the=20 information transmitted by this email including damage from virus and = further=20 acknowledges that any views expressed in this message are those of the=20 individual sender and no binding nature of the message shall be implied = or=20 assumed unless the sender does so expressly with due authority of Newgen = Software Technologies Ltd and / or its subsidiary Companies, as = applicable.=20 ------_=_NextPart_001_01C73B19.BFA2B551-- From smarlowe@g2switchworks.com Thu Jan 18 16:22:26 2007 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 4BA4B9FB2FD for ; Thu, 18 Jan 2007 12:22:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 97856-07 for ; Thu, 18 Jan 2007 12:22:18 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 00F469FB2F6 for ; Thu, 18 Jan 2007 12:22:17 -0400 (AST) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Thu, 18 Jan 2007 16:22:15 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 18 Jan 2007 10:22:15 -0600 Subject: Re: Incremental Backup of a particular database From: Scott Marlowe To: Yogvinder Singh Cc: Shoaib Mir , pgsql-admin@postgresql.org In-Reply-To: <001101c73af3$0f0d43e0$0404a8c0@central.newgen.local> References: <001201c73a3e$33bbaf70$0404a8c0@central.newgen.local> <45AE370B.2070805@mailnetwork.co.uk> <000a01c73abf$863c45d0$0404a8c0@central.newgen.local> <009901c73ac5$d45de4c0$0404a8c0@central.newgen.local> <001101c73af3$0f0d43e0$0404a8c0@central.newgen.local> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1169137334.9586.81.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 18 Jan 2007 10:22:15 -0600 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/155 X-Sequence-Number: 24311 On Thu, 2007-01-18 at 05:23, Yogvinder Singh wrote: > So it means there is no way i can take incremental backup of one of > the databases from a postgresql database server?? Correct. You could replicate its tables to another server with slony and then use that to make incrementals with PITR. Maybe a better definition of what you're trying to do from a higher level would help. From nwalke@eldocomp.com Thu Jan 18 21:24:16 2007 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 3A9F09FB1D2 for ; Thu, 18 Jan 2007 17:24:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 43249-01 for ; Thu, 18 Jan 2007 17:24:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 09FBF9FB228 for ; Thu, 18 Jan 2007 17:24:10 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from eciweb.eldocomp.com (eciweb.eldocomp.com [205.159.99.39]) by svr4.postgresql.org (Postfix) with ESMTP id 3B83D5AF985 for ; Thu, 18 Jan 2007 21:24:08 +0000 (GMT) Received: from ecimail.eldocomp.com [172.20.128.2] by eciweb.eldocomp.com with XWall v3.38 ; Thu, 18 Jan 2007 14:23:51 -0700 Received: from [127.0.0.1] ([172.20.131.10]) by ecimail.eldocomp.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Jan 2007 14:23:50 -0700 References: <261CF9EEB14F5442894AB6DDA93AA6F44EDAD2@mail.siglercompanies.com> In-Reply-To: <261CF9EEB14F5442894AB6DDA93AA6F44EDAD2@mail.siglercompanies.com> From: Naomi Walker To: Jason Minion Cc: Yogvinder Singh , Shoaib Mir , "pgsql-admin@postgresql.org" Subject: Re: Incremental Backup of a particular database Date: Thu, 18 Jan 2007 14:23:49 -0700 X-Assembled-By: XWall v3.38 Message-ID: <45AFE565.4000804@eldocomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/159 X-Sequence-Number: 24315 I've been thinking about PITR. Since we have one production instance and one test instance of Postgres, in order to perform a PITR on any particular database would require reloading the entire instance onto another server, and extracting what I needed. Clunky, but do-able.=20