From dmiller@espgroup.net Fri Jun 22 21:31:42 2001 Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5MLVga02344 for ; Fri, 22 Jun 2001 17:31:42 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f5MLJFn46075 for pgsql-general@postgresql.org; Fri, 22 Jun 2001 17:19:15 -0400 (EDT) (envelope-from news) From: "P. Dwayne Miller" X-Newsgroups: comp.databases.postgresql.general Subject: Backup - Restore Date: Fri, 22 Jun 2001 17:14:09 -0400 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 6 Message-ID: <3B33B521.DA77E49F@espgroup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf To: pgsql-general@postgresql.org X-Archive-Number: 200106/878 X-Sequence-Number: 11443 Where would I find documentation on the best way to back up an on-line database on a regular basis, to include any log files, so that a recovery operation would drop the least amount of data (if any)? Tks From rjpawley@shaw.ca Thu Dec 28 18:59:31 2006 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EE0949FA222 for ; Thu, 28 Dec 2006 14:59:31 -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 91202-06 for ; Thu, 28 Dec 2006 14:59:21 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd2mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id D51B59FA31D for ; Thu, 28 Dec 2006 14:59:19 -0400 (AST) Received: from pd4mr7so.prod.shaw.ca (pd4mr7so-qfe3.prod.shaw.ca [10.0.141.84]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JAZ00IEHZ9FA110@l-daemon> for pgsql-general@postgresql.org; Thu, 28 Dec 2006 11:56:03 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd4mr7so.prod.shaw.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JAZ00BD9Z9FTQE1@pd4mr7so.prod.shaw.ca> for pgsql-general@postgresql.org; Thu, 28 Dec 2006 11:56:03 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JAZ003LGZ9E7FN1@l-daemon> for pgsql-general@postgresql.org; Thu, 28 Dec 2006 11:56:03 -0700 (MST) Date: Thu, 28 Dec 2006 10:55:25 -0800 From: Bob Pawley Subject: Backup Restore To: Postgresql Message-id: <000e01c72ab1$ceec0220$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: multipart/alternative; boundary="----=_NextPart_000_0009_01C72A6E.ADA9E430" X-Priority: 3 X-MSMail-priority: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1513 X-Sequence-Number: 106451 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C72A6E.ADA9E430 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable PostgreSQL 8.1 running on Win XP. PGAdmin Version 1.6.2 When I backup my database on one computer using PG Admin 3 then attempt = to open the file on a second computer - PG Admin does NOT recognize the = file. The documentation isn't helpful, at least for a neophyte such as = I. Can someone point me to a simple instruction set for a backup/restore = operation using the PG Admin resource?? Bob ------=_NextPart_000_0009_01C72A6E.ADA9E430 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
PostgreSQL 8.1 running on Win XP. PGAdmin = Version=20 1.6.2
 
When I backup my database on one computer using = PG Admin 3=20 then attempt to open the file on a second computer - PG Admin does NOT = recognize=20 the file. The documentation isn't helpful, at least for a neophyte such = as=20 I.
 
Can someone point me to a simple instruction set = for a=20 backup/restore operation using the PG Admin resource??
 
Bob
------=_NextPart_000_0009_01C72A6E.ADA9E430-- From shoaibmir@gmail.com Thu Dec 28 19:08:40 2006 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 2D9D19FA097 for ; Thu, 28 Dec 2006 15:08:40 -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 56942-07-3 for ; Thu, 28 Dec 2006 15:08:32 -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.234]) by postgresql.org (Postfix) with ESMTP id E6DB09FA589 for ; Thu, 28 Dec 2006 15:08:33 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id i11so2019330nzh for ; Thu, 28 Dec 2006 11:08:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=CuJ5MW+CDRh7xTrJtFE6gHEDPu6L18Nji3PwkIbh0k/oAB+ALP01GKY9KLXA/Gm1MRZoGnEOvj7xm1bJFKjuXvA5XvCHWkuvzL4+RHRq/kAIsRlP9M3WmKLnrp5PCgsGrQEAM0UAp9O52F+8uJ+M82GSD5M8PXLpGgJjqWv7hQg= Received: by 10.65.114.11 with SMTP id r11mr5754583qbm.1167332909448; Thu, 28 Dec 2006 11:08:29 -0800 (PST) Received: by 10.65.206.17 with HTTP; Thu, 28 Dec 2006 11:08:29 -0800 (PST) Message-ID: Date: Fri, 29 Dec 2006 00:08:29 +0500 From: "Shoaib Mir" To: "Bob Pawley" Subject: Re: Backup Restore Cc: Postgresql In-Reply-To: <000e01c72ab1$ceec0220$8e904618@owner> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_75918_24280823.1167332909419" References: <000e01c72ab1$ceec0220$8e904618@owner> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1515 X-Sequence-Number: 106453 ------=_Part_75918_24280823.1167332909419 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well I haven't use much of PGAdmin but I will always be using pg_dump and pg_restore for that as they are really easy to use. You can find help on backup and restore at --> http://www.postgresql.org/docs/8.2/static/backup.html -------------------- Shoaib Mir EnterpriseDB (www.enterprisedb.com) On 12/28/06, Bob Pawley wrote: > > PostgreSQL 8.1 running on Win XP. PGAdmin Version 1.6.2 > > When I backup my database on one computer using PG Admin 3 then attempt to > open the file on a second computer - PG Admin does NOT recognize the file. > The documentation isn't helpful, at least for a neophyte such as I. > > Can someone point me to a simple instruction set for a backup/restore > operation using the PG Admin resource?? > > Bob > ------=_Part_75918_24280823.1167332909419 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Well I haven't use much of PGAdmin but I will always be using pg_dump and pg_restore for that as they are really easy to use.

You can find help on backup and restore at --> http://www.postgresql.org/docs/8.2/static/backup.html

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

On 12/28/06, Bob Pawley <rjpawley@shaw.ca> wrote:
PostgreSQL 8.1 running on Win XP. PGAdmin Version 1.6.2
 
When I backup my database on one computer using PG Admin 3 then attempt to open the file on a second computer - PG Admin does NOT recognize the file. The documentation isn't helpful, at least for a neophyte such as I.
 
Can someone point me to a simple instruction set for a backup/restore operation using the PG Admin resource??
 
Bob

------=_Part_75918_24280823.1167332909419-- From dpage@postgresql.org Thu Dec 28 19:30:02 2006 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id CE6849FA5CE for ; Thu, 28 Dec 2006 15:30:02 -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 63627-01 for ; Thu, 28 Dec 2006 15:29:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from developer.pgadmin.org (developer.pgadmin.org [63.246.23.140]) by postgresql.org (Postfix) with ESMTP id BD4C29FA5C3 for ; Thu, 28 Dec 2006 15:29:55 -0400 (AST) Received: from [172.16.0.64] ([89.241.28.101]) (authenticated bits=0) by developer.pgadmin.org (8.13.8/8.13.8) with ESMTP id kBSJCfqx009886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Dec 2006 19:12:42 GMT Message-ID: <45941B3B.8060708@postgresql.org> Date: Thu, 28 Dec 2006 19:30:03 +0000 From: Dave Page User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Shoaib Mir CC: Bob Pawley , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> 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: 200612/1517 X-Sequence-Number: 106455 Shoaib Mir wrote: > Well I haven't use much of PGAdmin but I will always be using pg_dump > and pg_restore for that as they are really easy to use. > > You can find help on backup and restore at --> > http://www.postgresql.org/docs/8.2/static/backup.html pgAdmin is just a frontend to pg_dump/pg_restore for backup purposes. Perhaps Bob could share whatever error message he gets with us? Oh, and there is no released 1.6.2 version of pgAdmin - that would be head of the current stable branch. Regards, Dave. From rjpawley@shaw.ca Thu Dec 28 19:46:34 2006 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E3E299FA5D3; Thu, 28 Dec 2006 15:46:34 -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 64016-01; Thu, 28 Dec 2006 15:46:25 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 84CAD9FA5CE; Thu, 28 Dec 2006 15:46:27 -0400 (AST) Received: from pd5mr5so.prod.shaw.ca (pd5mr5so-qfe3.prod.shaw.ca [10.0.141.181]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JB000G7W1IDSG50@l-daemon>; Thu, 28 Dec 2006 12:44:37 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd5mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JB000CDH1IDZV71@pd5mr5so.prod.shaw.ca>; Thu, 28 Dec 2006 12:44:37 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JB000LJU1IC22A0@l-daemon>; Thu, 28 Dec 2006 12:44:37 -0700 (MST) Date: Thu, 28 Dec 2006 11:44:30 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Dave Page , Shoaib Mir Cc: Postgresql Message-id: <002601c72ab8$97bc5640$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1518 X-Sequence-Number: 106456 I'm not getting an error message. The restore utility just doesn't see the backup file. It's looking for a file *.backup which is there but noot seen. I am running a version that identifies itself as 1.6.2. I downloaded it a few weeks ago from the official site. Should I be using an earlier version?? Bob ----- Original Message ----- From: "Dave Page" To: "Shoaib Mir" Cc: "Bob Pawley" ; "Postgresql" Sent: Thursday, December 28, 2006 11:30 AM Subject: Re: [GENERAL] Backup Restore > Shoaib Mir wrote: >> Well I haven't use much of PGAdmin but I will always be using pg_dump and >> pg_restore for that as they are really easy to use. >> >> You can find help on backup and restore at --> >> http://www.postgresql.org/docs/8.2/static/backup.html > > pgAdmin is just a frontend to pg_dump/pg_restore for backup purposes. > Perhaps Bob could share whatever error message he gets with us? > > Oh, and there is no released 1.6.2 version of pgAdmin - that would be head > of the current stable branch. > > Regards, Dave. > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > From dpage@postgresql.org Thu Dec 28 20:06:25 2006 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id B75F99FA4F0 for ; Thu, 28 Dec 2006 16:06:25 -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 20854-03 for ; Thu, 28 Dec 2006 16:06:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from developer.pgadmin.org (developer.pgadmin.org [63.246.23.140]) by postgresql.org (Postfix) with ESMTP id B4BD59FA4EE for ; Thu, 28 Dec 2006 16:06:19 -0400 (AST) Received: from [172.16.0.64] ([89.241.28.101]) (authenticated bits=0) by developer.pgadmin.org (8.13.8/8.13.8) with ESMTP id kBSJn49T010304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Dec 2006 19:49:05 GMT Message-ID: <459423C1.70009@postgresql.org> Date: Thu, 28 Dec 2006 20:06:25 +0000 From: Dave Page User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Bob Pawley CC: Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> In-Reply-To: <002601c72ab8$97bc5640$8e904618@owner> 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: 200612/1520 X-Sequence-Number: 106458 Bob Pawley wrote: > I'm not getting an error message. The restore utility just doesn't see > the backup file. It's looking for a file *.backup which is there but > noot seen. It's a standard file dialogue as provided by your operating system. I can't think of any reason it wouldn't see the file unless you are looking in the wrong place. > I am running a version that identifies itself as 1.6.2. I downloaded it > a few weeks ago from the official site. Should I be using an earlier > version?? You must have downloaded an SVN snapshot version. They are available on the official site, but it's not easy to mistake them for actual release versions. Regards, Dave From rjpawley@shaw.ca Fri Dec 29 01:54:00 2006 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5B01E9FA354; Thu, 28 Dec 2006 21:54:00 -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 50832-10; Thu, 28 Dec 2006 21:53:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 46FB39FA311; Thu, 28 Dec 2006 21:53:48 -0400 (AST) Received: from pd5mr7so.prod.shaw.ca (pd5mr7so-qfe3.prod.shaw.ca [10.0.141.183]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JB0008TOILJSXC0@l-daemon>; Thu, 28 Dec 2006 18:53:43 -0700 (MST) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd5mr7so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JB000MKJILJXYZ0@pd5mr7so.prod.shaw.ca>; Thu, 28 Dec 2006 18:53:43 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JB000JG4ILI0JO0@l-daemon>; Thu, 28 Dec 2006 18:53:43 -0700 (MST) Date: Thu, 28 Dec 2006 17:53:36 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Dave Page Cc: Shoaib Mir , Postgresql Message-id: <006001c72aec$2789cfe0$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1523 X-Sequence-Number: 106461 When I change it to view "all files" it's there - but it won't do anything. Bob ----- Original Message ----- From: "Dave Page" To: "Bob Pawley" Cc: "Shoaib Mir" ; "Postgresql" Sent: Thursday, December 28, 2006 12:06 PM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> I'm not getting an error message. The restore utility just doesn't see >> the backup file. It's looking for a file *.backup which is there but noot >> seen. > > It's a standard file dialogue as provided by your operating system. I > can't think of any reason it wouldn't see the file unless you are looking > in the wrong place. > >> I am running a version that identifies itself as 1.6.2. I downloaded it a >> few weeks ago from the official site. Should I be using an earlier >> version?? > > You must have downloaded an SVN snapshot version. They are available on > the official site, but it's not easy to mistake them for actual release > versions. > > Regards, Dave > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > From dpage@postgresql.org Fri Dec 29 08:10:29 2006 Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0499B9FA38F for ; Fri, 29 Dec 2006 04:10:29 -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 52834-04 for ; Fri, 29 Dec 2006 04:10:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from developer.pgadmin.org (developer.pgadmin.org [63.246.23.140]) by postgresql.org (Postfix) with ESMTP id A00029FA31E for ; Fri, 29 Dec 2006 04:10:24 -0400 (AST) Received: from [192.168.1.154] (mailgate.vale-housing.co.uk [194.217.48.34]) (authenticated bits=0) by developer.pgadmin.org (8.13.8/8.13.8) with ESMTP id kBT7r5wO027761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Dec 2006 07:53:06 GMT Message-ID: <4594CD6D.1050104@postgresql.org> Date: Fri, 29 Dec 2006 08:10:21 +0000 From: Dave Page User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Bob Pawley CC: Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> In-Reply-To: <006001c72aec$2789cfe0$8e904618@owner> 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: 200612/1545 X-Sequence-Number: 106483 Bob Pawley wrote: > When I change it to view "all files" it's there - but it won't do anything. So I assume you've used a different extension than the one the dialogue is expecting by default? When you say "it won't do anything." do you mean you cannot select the file, or that nothing happens when you select it and run the restore? If the former, does it work if you rename the file to use the expected extension? Regards, Dave From rjpawley@shaw.ca Fri Dec 29 18:54:30 2006 Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id CB3869FA2EC; Fri, 29 Dec 2006 14:54:30 -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 24037-06; Fri, 29 Dec 2006 14:54:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id B0D469F9F47; Fri, 29 Dec 2006 14:54:24 -0400 (AST) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JB10027LTUJYC10@l-daemon>; Fri, 29 Dec 2006 11:54:19 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd4mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JB100G9WTUJA980@pd4mr2so.prod.shaw.ca>; Fri, 29 Dec 2006 11:54:19 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JB100B5ETUI03E1@l-daemon>; Fri, 29 Dec 2006 11:54:19 -0700 (MST) Date: Fri, 29 Dec 2006 10:54:10 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Dave Page Cc: Shoaib Mir , Postgresql Message-id: <001001c72b7a$ba2e7600$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/30 X-Sequence-Number: 106570 Hi Dave I can get the restore working if I dump the project spelling out "*.backup" and not relying on the default. However the restore is being aborted due to a pk error for the spatial coordinates. I've removed the gis feature from both applications but still get the error. Any thoughts?? Bob ----- Original Message ----- From: "Dave Page" To: "Bob Pawley" Cc: "Shoaib Mir" ; "Postgresql" Sent: Friday, December 29, 2006 12:10 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> When I change it to view "all files" it's there - but it won't do >> anything. > > So I assume you've used a different extension than the one the dialogue is > expecting by default? > > When you say "it won't do anything." do you mean you cannot select the > file, or that nothing happens when you select it and run the restore? If > the former, does it work if you rename the file to use the expected > extension? > > Regards, Dave > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > From dpage@postgresql.org Fri Dec 29 18:57:16 2006 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C11479FA2EC for ; Fri, 29 Dec 2006 14:57:16 -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 63908-09 for ; Fri, 29 Dec 2006 14:57:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from developer.pgadmin.org (developer.pgadmin.org [63.246.23.140]) by postgresql.org (Postfix) with ESMTP id D40279F9F47 for ; Fri, 29 Dec 2006 14:57:10 -0400 (AST) Received: from [172.16.0.64] ([89.241.28.101]) (authenticated bits=0) by developer.pgadmin.org (8.13.8/8.13.8) with ESMTP id kBTIdlYn013436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Dec 2006 18:39:48 GMT Message-ID: <4595650F.7000504@postgresql.org> Date: Fri, 29 Dec 2006 18:57:19 +0000 From: Dave Page User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Bob Pawley CC: Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> In-Reply-To: <001001c72b7a$ba2e7600$8e904618@owner> 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: 200612/1566 X-Sequence-Number: 106504 Bob Pawley wrote: > Hi Dave > > I can get the restore working if I dump the project spelling out > "*.backup" and not relying on the default. > > However the restore is being aborted due to a pk error for the spatial > coordinates. I've removed the gis feature from both applications but > still get the error. > > Any thoughts?? Nope, someone else will need to help with that I'm afraid. The exact error message would make it infinitely easier to help you though. Regards, Dave From rjpawley@shaw.ca Fri Dec 29 19:27:33 2006 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A15A09FA238; Fri, 29 Dec 2006 15:27:33 -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 93045-10; Fri, 29 Dec 2006 15:27:26 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 8452C9FA217; Fri, 29 Dec 2006 15:27:26 -0400 (AST) Received: from pd4mr8so.prod.shaw.ca (pd4mr8so-qfe3.prod.shaw.ca [10.0.141.101]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JB100333VDQRX40@l-daemon>; Fri, 29 Dec 2006 12:27:26 -0700 (MST) Received: from pn2ml10so.prod.shaw.ca ([10.0.121.80]) by pd4mr8so.prod.shaw.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JB100831VDP3AI0@pd4mr8so.prod.shaw.ca>; Fri, 29 Dec 2006 12:27:26 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JB10031KVDPDVE1@l-daemon>; Fri, 29 Dec 2006 12:27:25 -0700 (MST) Date: Fri, 29 Dec 2006 11:26:52 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Dave Page Cc: Shoaib Mir , Postgresql Message-id: <001901c72b7f$5a5e29f0$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1567 X-Sequence-Number: 106505 Following is the error message on pg_restore:- "pg_restore: ERROR: duplicate key violates unique constraint "spatial_ref_sys_pkey" CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." pg_restore: [archiver (db)] error returned by PQendcopy: ERROR: duplicate key violates unique constraint "spatial_ref_sys_pkey" CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." pg_restore: *** aborted because of error Process returned exit code 1." The GIS feature was removed from the PostgreSQL application before the project dump. Anyone have any thoughts on how to get around this?? Bob ----- Original Message ----- From: "Dave Page" To: "Bob Pawley" Cc: "Shoaib Mir" ; "Postgresql" Sent: Friday, December 29, 2006 10:57 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> Hi Dave >> >> I can get the restore working if I dump the project spelling out >> "*.backup" and not relying on the default. >> >> However the restore is being aborted due to a pk error for the spatial >> coordinates. I've removed the gis feature from both applications but >> still get the error. >> >> Any thoughts?? > > Nope, someone else will need to help with that I'm afraid. The exact error > message would make it infinitely easier to help you though. > > Regards, Dave > From dev@archonet.com Tue Jan 2 10:00:54 2007 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3D89B9FA2EE; Tue, 2 Jan 2007 06:00:54 -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 92689-04; Tue, 2 Jan 2007 06:00:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 78C6D9F938C; Tue, 2 Jan 2007 06:00:41 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 4E2BE751BE; Tue, 2 Jan 2007 10:00:40 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 09DE1FF04; Tue, 2 Jan 2007 10:00:39 +0000 (GMT) Message-ID: <459A2D47.4020206@archonet.com> Date: Tue, 02 Jan 2007 10:00:39 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Bob Pawley Cc: Dave Page , Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> In-Reply-To: <001901c72b7f$5a5e29f0$8e904618@owner> 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/26 X-Sequence-Number: 106566 Bob Pawley wrote: > Following is the error message on pg_restore:- > > "pg_restore: ERROR: duplicate key violates unique constraint > "spatial_ref_sys_pkey" > CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla > 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." > pg_restore: [archiver (db)] error returned by PQendcopy: ERROR: > duplicate key violates unique constraint "spatial_ref_sys_pkey" > CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla > 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." > pg_restore: *** aborted because of error > > Process returned exit code 1." > > The GIS feature was removed from the PostgreSQL application before the > project dump. Not sure what you mean by that - you removed all GIS related types and functions from the source database? > Anyone have any thoughts on how to get around this?? Remove the constraint if you no longer have that requirement. It looks like you have a primary-key defined on spatial_ref_sys and want to remove it. See the SQL Reference section of the manuals for how to use ALTER TABLE to drop primary keys and other constraints. I'm curious as to how this can happen though. Are the definitions of table spatial_ref_sys the same in the source and target database? -- Richard Huxton Archonet Ltd From rjpawley@shaw.ca Wed Jan 3 18:08:30 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A74F69F9CE3; Wed, 3 Jan 2007 14:08:30 -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 39762-06; Wed, 3 Jan 2007 14:08:04 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id E12CB9F931E; Wed, 3 Jan 2007 14:08:05 -0400 (AST) Received: from pd4mr5so.prod.shaw.ca (pd4mr5so-qfe3.prod.shaw.ca [10.0.141.50]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JBB002N71194470@l-daemon>; Wed, 03 Jan 2007 11:07:57 -0700 (MST) Received: from pn2ml10so.prod.shaw.ca ([10.0.121.80]) by pd4mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JBB00KV71189580@pd4mr5so.prod.shaw.ca>; Wed, 03 Jan 2007 11:07:57 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JBB00JCE116TZP1@l-daemon>; Wed, 03 Jan 2007 11:07:54 -0700 (MST) Date: Wed, 03 Jan 2007 10:07:50 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Richard Huxton Cc: Dave Page , Shoaib Mir , Postgresql Message-id: <009d01c72f62$14e98fe0$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> <459A2D47.4020206@archonet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/92 X-Sequence-Number: 106632 Looking through PGAdmin where would I find the spatial references that the errror message references? Bob ----- Original Message ----- From: "Richard Huxton" To: "Bob Pawley" Cc: "Dave Page" ; "Shoaib Mir" ; "Postgresql" Sent: Tuesday, January 02, 2007 2:00 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> Following is the error message on pg_restore:- >> >> "pg_restore: ERROR: duplicate key violates unique constraint >> "spatial_ref_sys_pkey" >> CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla >> 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." >> pg_restore: [archiver (db)] error returned by PQendcopy: ERROR: >> duplicate key violates unique constraint "spatial_ref_sys_pkey" >> CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla >> 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." >> pg_restore: *** aborted because of error >> >> Process returned exit code 1." >> >> The GIS feature was removed from the PostgreSQL application before the >> project dump. > > Not sure what you mean by that - you removed all GIS related types and > functions from the source database? > >> Anyone have any thoughts on how to get around this?? > > Remove the constraint if you no longer have that requirement. It looks > like you have a primary-key defined on spatial_ref_sys and want to remove > it. See the SQL Reference section of the manuals for how to use ALTER > TABLE to drop primary keys and other constraints. > > I'm curious as to how this can happen though. Are the definitions of table > spatial_ref_sys the same in the source and target database? > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > From dev@archonet.com Wed Jan 3 18:44:57 2007 Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id F3DEE9F9CE3; Wed, 3 Jan 2007 14:44:57 -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 56971-01; Wed, 3 Jan 2007 14:44:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id F2F269F931E; Wed, 3 Jan 2007 14:44:49 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id BBC3A74A8F; Wed, 3 Jan 2007 18:44:48 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id A89BCFF04; Wed, 3 Jan 2007 18:44:47 +0000 (GMT) Message-ID: <459BF99F.3090005@archonet.com> Date: Wed, 03 Jan 2007 18:44:47 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Bob Pawley Cc: Dave Page , Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> <459A2D47.4020206@archonet.com> <009d01c72f62$14e98fe0$8e904618@owner> In-Reply-To: <009d01c72f62$14e98fe0$8e904618@owner> 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/93 X-Sequence-Number: 106633 Bob Pawley wrote: > Looking through PGAdmin where would I find the spatial references that > the errror message references? >> Bob Pawley wrote: >>> Following is the error message on pg_restore:- >>> >>> "pg_restore: ERROR: duplicate key violates unique constraint >>> "spatial_ref_sys_pkey" >>> CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 >>> PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla >>> 1957",DATUM["Angui..." Looking at this, you should have a table "spatial_ref_sys" with a primary key constraint "spatial_ref_sys_pkey" Find the table via the left-hand tree conrol and its details should be listed on the right-hand side. The primary key will be detailed at the top and bottom -- Richard Huxton Archonet Ltd From rjpawley@shaw.ca Wed Jan 3 19:27:38 2007 Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 589B39FA0EE; Wed, 3 Jan 2007 15:27:38 -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 98154-08; Wed, 3 Jan 2007 15:27:27 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 589FA9FA4CD; Wed, 3 Jan 2007 15:27:27 -0400 (AST) Received: from pd2mr2so.prod.shaw.ca (pd2mr2so-qfe3.prod.shaw.ca [10.0.141.109]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JBB003XN4O46D10@l-daemon>; Wed, 03 Jan 2007 12:26:28 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd2mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JBB00H9H4O1BIMB@pd2mr2so.prod.shaw.ca>; Wed, 03 Jan 2007 12:26:28 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JBB008TE4NP96N0@l-daemon>; Wed, 03 Jan 2007 12:26:14 -0700 (MST) Date: Wed, 03 Jan 2007 11:26:09 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Richard Huxton Cc: Dave Page , Shoaib Mir , Postgresql Message-id: <00af01c72f6d$060d1590$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> <459A2D47.4020206@archonet.com> <009d01c72f62$14e98fe0$8e904618@owner> <459BF99F.3090005@archonet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/99 X-Sequence-Number: 106639 Found it in template 1. This seems strange as both servers and pgadmins are the same version and I haven't opened the template until today. Bob ----- Original Message ----- From: "Richard Huxton" To: "Bob Pawley" Cc: "Dave Page" ; "Shoaib Mir" ; "Postgresql" Sent: Wednesday, January 03, 2007 10:44 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> Looking through PGAdmin where would I find the spatial references that >> the errror message references? > >>> Bob Pawley wrote: >>>> Following is the error message on pg_restore:- >>>> >>>> "pg_restore: ERROR: duplicate key violates unique constraint >>>> "spatial_ref_sys_pkey" >>>> CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 >>>> PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla >>>> 1957",DATUM["Angui..." > > Looking at this, you should have a table "spatial_ref_sys" with a primary > key constraint "spatial_ref_sys_pkey" > > Find the table via the left-hand tree conrol and its details should be > listed on the right-hand side. The primary key will be detailed at the top > and bottom > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > From dev@archonet.com Thu Jan 4 09:19:48 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3B4809F95E3; Thu, 4 Jan 2007 05:19:48 -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 77345-08; Thu, 4 Jan 2007 05:19:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id B77AE9F931E; Thu, 4 Jan 2007 05:19:43 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 8D8CA7442B; Thu, 4 Jan 2007 09:19:42 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id F1333FF04; Thu, 4 Jan 2007 09:19:39 +0000 (GMT) Message-ID: <459CC6AB.4080804@archonet.com> Date: Thu, 04 Jan 2007 09:19:39 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Bob Pawley Cc: Dave Page , Shoaib Mir , Postgresql Subject: Re: Backup Restore References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> <001901c72b7f$5a5e29f0$8e904618@owner> <459A2D47.4020206@archonet.com> <009d01c72f62$14e98fe0$8e904618@owner> <459BF99F.3090005@archonet.com> <00af01c72f6d$060d1590$8e904618@owner> In-Reply-To: <00af01c72f6d$060d1590$8e904618@owner> 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/113 X-Sequence-Number: 106653 Bob Pawley wrote: > Found it in template 1. This seems strange as both servers and pgadmins > are the same version and I haven't opened the template until today. The only thing I can think of is that you accidentally restored into template1. Probably easier to do with pgadmin than from the command-line. -- Richard Huxton Archonet Ltd From charlie@begeistert.org Mon Aug 6 17:35:42 2007 Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6F3929FBA6E for ; Mon, 6 Aug 2007 14:35:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 47157-08 for ; Mon, 6 Aug 2007 14:35:37 -0300 (ADT) X-Greylist: delayed 02:58:47.924884 by SQLgrey-1.7.5 Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by postgresql.org (Postfix) with ESMTP id 215A79FB9D2 for ; Mon, 6 Aug 2007 14:35:38 -0300 (ADT) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id C745F1E5011 for ; Mon, 6 Aug 2007 16:35:47 +0200 (CEST) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id AC2F613ED80 for ; Mon, 6 Aug 2007 16:35:47 +0200 (CEST) Received: from [192.168.1.2] (f048002170.adsl.alicedsl.de [78.48.2.170]) (Authenticated sender: charlie.clark@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTP id A35AF1CB76E for ; Mon, 6 Aug 2007 16:35:46 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: pgsql-general@postgresql.org From: Charlie Clark Subject: Backup & Restore Date: Mon, 6 Aug 2007 16:35:41 +0200 X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: ClamAV 0.91.1/3877/Mon Aug 6 12:18:31 2007 on mail-in-05.arcor-online.net X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/307 X-Sequence-Number: 118156 Hi, I have a simple question that I can't find the answer to in the =20 documentation: how do I backup & restore a single database, ie. when =20 going from one cluster to another? I'm fairly comfortable with the =20 command line so I can create and restore backups but things do not =20 always work as expected. pg_dump -U postgres -f my_database.dmp -F c my_database now I want to restore this database to another system where a =20 database with the same name already exists (from production to =20 development): According to the documentation the options -c and -a can be set on =20 pg_restore ie., pg_restore -U postgres -c -d psytec psytec.dmp should drop all the tables before recreating them but I get a load of =20= errors: pg_restore: [archiver (db)] Error from TOC entry 1949; 2620 297386 =20 TRIGGER RI_ConstraintTrigger_297386 postgres using -a to restore data only means fewer errors as pg_restore exits =20 on the first error Is the only way to drop the target database and recreate an empty =20 one? Or am I simply misreading the docs? Thanks very much for any help. Charlie -- Charlie Clark Helmholtzstr. 20 D=FCsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 From dor.ben-dov@amdocs.com Mon Feb 24 08:18:23 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j68ws-0001gy-CC for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 08:18:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j68wr-00019Z-26 for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 08:18:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j68wq-00019S-AK for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 08:18:40 +0000 Received: from stlmail1.amdocs.com ([69.150.27.74] helo=mx2.amdocs.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j68wg-0007DD-QV for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 08:18:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdocs.com; i=@amdocs.com; l=0; q=dns/txt; s=mail01; t=1582532484; x=1614068484; h=from:to:subject:date:message-id:mime-version; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=sczJOU7+H6nKML/2hBKxwt+I8os4N0bAzd8YJB/tfUfL2zY0sLLmzHds cCxmhGu5dginHKMU4+EIwkIHW4eL+veK/t9X+Xzpgivaf9hYr+5S3hiVU MFI8SdYauBAbMxwNuK+1dHez04ERXGsERRG81yPaUXrg4R6mEWeSPKJj0 Y=; IronPort-SDR: INqlKl80QhnYvstcKrFqf//LUeuVAhn4vEhNetShzU+j8i7VsTpgaX4yvTk3LvOB2BuQVOLayi A49jDj3ElQRA== Received: from unknown (HELO USSTLEXCHCAS01.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 24 Feb 2020 10:21:20 +0200 Received: from USSTLEXCHCAS01.corp.amdocs.com (10.26.51.231) by USSTLEXCHCAS01.corp.amdocs.com (10.26.51.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3; Mon, 24 Feb 2020 02:18:25 -0600 Received: from USSTLEXCHEDGE02.corp.amdocs.com (10.25.2.168) by USSTLEXCHCAS01.corp.amdocs.com (10.26.51.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3 via Frontend Transport; Mon, 24 Feb 2020 02:18:25 -0600 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (10.26.125.4) by msgedge.amdocs.com (10.26.125.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1531.3; Mon, 24 Feb 2020 02:18:25 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W2NEWKkcAqGHjLOY4G0zb34nqtEfjVRmDacuPSl6kmiPmAqSZ+Y0J9G3kz8YWtncia4qRqG0lHE+CsFhIYOIzndsnzHfQZNoIUvUpk5ec1k8dCJdeS4qFFkcLo7awrr4740xuUSd3dD1FAwnTBqhFx05I3st1yEMyO+cU0ZM/5V/AvWbITiRGKxlJW3t+ucPJDbcS2Mmi7Zh8DG+DS9TRXQv/gdbyDDKyzvAk4FvpnvgGh/iPIka78bD8vHnr05Nj9eTElCvhA1S461EnA1oRvuVH+3vVL7npMr6tkZ8J8phieq5v1R2Y3TNYLpgOc3+bFV7/bTYGskB9cx/R85WfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K/xHuoB1En+ycFyU+uhMBUZ+gZ2hd2mRoq3onYE3fRw=; b=brN9c7GF06P6M3jck7YQCGUhwj28gjK82+WjxwbeL2xA2v4JTU+hBPkhhJx0bREW98uDR6S9JAWpX7LNXr1+Zug9NSxzPpkLRNXiFS2ZwNn/Ojqnx77ntZ5nt32TAyQgseH/AomKthzh5vyBA87Bqcp7gT5O2aeqGLsTND9K9F3xewRdSLOyub6CgJ1McCiJ8aMuEb+OJhjQCtvqEkyad+RI/kcXyrL+3v5p+XSv4wb5Vnd4qNKamrGHZ8Kcb0orP4WREJIpHnJkGoIRbrV/+qT9bDVc/IVoAvP4ZjevUjJvM/2CyLrHXU0tsVm7afzEqUsAE89JytU6g8po+c58Uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amdocs.com; dmarc=pass action=none header.from=amdocs.com; dkim=pass header.d=amdocs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Amdocs.onmicrosoft.com; s=selector2-Amdocs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K/xHuoB1En+ycFyU+uhMBUZ+gZ2hd2mRoq3onYE3fRw=; b=J1YgfQlCrhAxOjbat0+voW21CPwJ1ijOACeFdGnwkI3au/3SqyYv+YgKSkgBy2vt3jurAQ9CUMmaiOO9gyWLWvhL+feRa3wvL47GBckebJN8LGcvdlre2UaQ3Jk7RmoV8M6pL07JRxLI/Dg5jGRecyf5LLCbeUfZFmXz3enaUWA= Received: from AM0PR06MB4817.eurprd06.prod.outlook.com (20.178.18.33) by AM0PR06MB5010.eurprd06.prod.outlook.com (20.178.20.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Mon, 24 Feb 2020 08:18:23 +0000 Received: from AM0PR06MB4817.eurprd06.prod.outlook.com ([fe80::9d40:e21b:4715:2e02]) by AM0PR06MB4817.eurprd06.prod.outlook.com ([fe80::9d40:e21b:4715:2e02%7]) with mapi id 15.20.2750.021; Mon, 24 Feb 2020 08:18:23 +0000 From: Dor Ben Dov To: "pgsql-general@lists.postgresql.org" Subject: Backup & Restore Thread-Topic: Backup & Restore Thread-Index: AdXq6vo0s0o0+DWqSAm6s/P5L8VzEw== Date: Mon, 24 Feb 2020 08:18:23 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dor.ben-dov@amdocs.com; x-originating-ip: [193.43.244.113] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 30986f0f-7b62-4fbd-8bb6-08d7b9021d87 x-ms-traffictypediagnostic: AM0PR06MB5010: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1091; x-forefront-prvs: 032334F434 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(366004)(396003)(39860400002)(346002)(136003)(199004)(189003)(66476007)(76116006)(5660300002)(558084003)(71200400001)(66946007)(33656002)(9326002)(66446008)(64756008)(66556008)(6916009)(52536014)(7696005)(478600001)(8936002)(6506007)(81166006)(8676002)(86362001)(9686003)(26005)(55016002)(2906002)(81156014)(186003)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR06MB5010;H:AM0PR06MB4817.eurprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amdocs.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4eARUEZGwI+B/9XZmnmuhxfwfdMaTDhJYv23OjU7wCEViI1viLkdXu/KhAj16fsM3bbtjX4d8cuShFq6ddEdd0709lK1bAloT13HxEfVdm175mLfs9YKtdnrEL+dO0jP7+yExqwN3qPwMTvIqFklp5KpCaAc4SXrvxxwSI7q0Jgr6E4kKmOQ5xNFNzlKw+uMKaVukAcn06vqohQ9EMlLCmBQHCriFS14XANg5veFcglm1OaWoY5nhVpcW+TMenw5Hb35Pk6wLy75hMG082FWuscN0eZFYQxIwSx7lx/42f656sIX+iLOU/e5ARLq897WfkpDRlwhbAEwL+KfdwEXBPLrToP26cEkrG3VqzbYP+k4YV+t1yfeUqLAXAQJIuA5ea5UssCtRFSdnjHsw85Tktrcgd+2FiSgnWIhtB4rT20GDXTIKRC9MuhLxeKEdq6A x-ms-exchange-antispam-messagedata: UB2oos387Zgc4gzE2ffh2NQARwi4HfYsy6lnahmV0dr3hDbyn8mQ2RKwXJNPDmywVuXsqEnyiBayxKBQK3n3xqYngs3n1Bf5uxLuUCbYiEfA3eESkXrNF/7WRgQP9l9yQkGiKB4GA8D9toisBN8WLQ== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_AM0PR06MB481730486B13F886886B1AB5CCEC0AM0PR06MB4817eurp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 30986f0f-7b62-4fbd-8bb6-08d7b9021d87 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2020 08:18:23.1120 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c8eca3ca-1276-46d5-9d9d-a0f2a028920f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j75qRrffmEb4LSY9ZOd0/Wd6/3tUQp9UTDZI5ajHyV0FpI/WZhH9t8rt125omBVk X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR06MB5010 X-OriginatorOrg: amdocs.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_AM0PR06MB481730486B13F886886B1AB5CCEC0AM0PR06MB4817eurp_ Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 SGkgQWxsLA0KDQpXaGF0IGlzIHlvdXIgYmFja3VwIGFuZCByZXN0b3JlIHNvbHV0aW9uIGluIHBy b2R1Y3Rpb24gd2hlbiB3b3JraW5nIHdpdGggUG9zdGdyZXMgPw0KKCsgaWYgeW91IGNhbiBzYXkg ZmV3IHdvcmRzIHdoeSB5b3UgcGlja2VkIHRoaXMgWCBzb2x1dGlvbiBpbnN0ZWFkIG9mIG90aGVy cykNCg0KUmVnYXJkcywNCkRvcg0KVGhpcyBlbWFpbCBhbmQgdGhlIGluZm9ybWF0aW9uIGNvbnRh aW5lZCBoZXJlaW4gaXMgcHJvcHJpZXRhcnkgYW5kIGNvbmZpZGVudGlhbCBhbmQgc3ViamVjdCB0 byB0aGUgQW1kb2NzIEVtYWlsIFRlcm1zIG9mIFNlcnZpY2UsIHdoaWNoIHlvdSBtYXkgcmV2aWV3 IGF0IGh0dHBzOi8vd3d3LmFtZG9jcy5jb20vYWJvdXQvZW1haWwtdGVybXMtb2Ytc2VydmljZSA8 aHR0cHM6Ly93d3cuYW1kb2NzLmNvbS9hYm91dC9lbWFpbC10ZXJtcy1vZi1zZXJ2aWNlPgo= --_000_AM0PR06MB481730486B13F886886B1AB5CCEC0AM0PR06MB4817eurp_ Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcm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u Zz48L2E+PC9zcGFuPjwvcD48L2JvZHk+DQo8L2h0bWw+DQo= --_000_AM0PR06MB481730486B13F886886B1AB5CCEC0AM0PR06MB4817eurp_-- From andreas@a-kretschmer.de Mon Feb 24 19:54:04 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6Jnw-0002jq-5r for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 19:54:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6Jnu-0003Jc-SM for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 19:54:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6Jnu-0003JV-IP for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 19:54:10 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6Jnq-0004pX-E2 for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 19:54:10 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id 605CD15843E8 for ; Mon, 24 Feb 2020 20:54:00 +0100 (CET) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Backup & Restore To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer Message-ID: Date: Mon, 24 Feb 2020 20:54:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 24.02.20 um 09:18 schrieb Dor Ben Dov: > > Hi All, > > What is your backup and restore solution in production when working > with Postgres ? > most of our customers using Barman: https://www.pgbarman.org/ Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com From sfrost@snowman.net Mon Feb 24 20:16:10 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6K9J-0003OK-Na for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 20:16:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6K9I-000307-A7 for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2020 20:16:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6K9I-000300-06 for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 20:16:16 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1j6K9A-00050k-G4 for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2020 20:16:15 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 73DAF5F799; Mon, 24 Feb 2020 15:16:10 -0500 (EST) Date: Mon, 24 Feb 2020 15:16:10 -0500 From: Stephen Frost To: Dor Ben Dov Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Backup & Restore Message-ID: <20200224201610.GX3195@tamriel.snowman.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cyY4Qm2BPgAKPd8t" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --cyY4Qm2BPgAKPd8t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Dor Ben Dov (dor.ben-dov@amdocs.com) wrote: > What is your backup and restore solution in production when working with Postgres ? > (+ if you can say few words why you picked this X solution instead of others) I'd recommend pgbackrest- https://www.pgbackrest.org, it's got lots of great features including parallel backup, incremental and differential backups, compression, encryption, and all of those can be used together. pgbackrest also can parallelize WAL shipping if you're writing lots of data. There's other options out there, of course. In any case, I strongly recommend that you use one of the existing solutions and don't try to roll your own. Just to be clear- I'm also involved in the project (though not the primary developer, that's David, who you'll also see on this list and on the -hackers list contributing things to PostgreSQL). Thanks! Stephen --cyY4Qm2BPgAKPd8t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJeVC8KAAoJEO1sijiDR2RVci0P/3zI28dSp5sfUxrCMnKI/x7M bbFKG7QQ7qGuKWspCLkJnVbUUzoQaIJtKTHmgxBbwSqfviv0p0Jd27QD5PiREAKG U97lo6S3fKUBD38FrxcyVceFyBTfJYB+slu4rYyBIzZ6sbzb1sV44HNMI2yekk/f DPcto57iQ4bHxoNLAboCA+cMKEUEJD1gAmEfM7lqcZ6MMDi9uY1+oPZoPA4jOCXD /jV+x3EOD6rQbMQ2u0BNrFQWvoVRsuN0W3yyAdSnmwbEw5PGd4RB0AAqFAVyLIFV b+GWRLqyZj6dcxyrQ7aaSksYqELGpmi9C8Tl5i4XZ7Mo1N8DsiO7FSkAKUIUFYH/ RqmeWSdTHK1qj1re7OPG6gMLsBmj07OUlJpJ4nntN4X9cYwdap7Aa66ea2vBswr3 bpovjzP2watPJadNHUZXjmY4Sn4XD9GvGZvDrYwinP46mjbFdXWppqNkMqoALXmu 9ZypAMgekjjIOz0L5XjfdWYRNjINmux/yvs6XqUkSreqTeOfRaMJdVg/kxiEQ4Nl ZvXnAmoG2jchqErF+1PyNW0wsHxRRdWtDFk7zPWKf+RS6D4wf0BtP/dhvvT1YBTu WZEuljXZf8+VBboxUbxMTekrTfUp/1yKCXqbAzvxdvokhaPcoJlvo5SnsmXD40WB UYMRDaWZnXiOkJv5FsCj =04x/ -----END PGP SIGNATURE----- --cyY4Qm2BPgAKPd8t-- From sivapostgres@yahoo.com Tue Feb 25 01:55:48 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6PSC-0004Nu-LS for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 01:56:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6PSB-0008Sh-EQ for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 01:56:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6PSA-0008SM-NO for pgsql-general@lists.postgresql.org; Tue, 25 Feb 2020 01:56:07 +0000 Received: from sonic305-21.consmr.mail.sg3.yahoo.com ([106.10.241.84]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j6PS6-0007dx-Kh for pgsql-general@lists.postgresql.org; Tue, 25 Feb 2020 01:56:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582595757; bh=lvIh5O0RaAzj/YWqJqcI0QFBH7FGlv4yE9Tk+g1wMQo=; h=Date:From:Reply-To:To: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CdSWOtFhRpBMcNdPpR0kO8WBAJDqO1TtM5jNy7Q Qxi2YHVK0DWbs.eTBOIBZwlQFeQ2jRL9GQ4674pbzCDLuB7q8odZSiBwwf3_N_V0DqHaKQpiTz_M U0_.jTYAZb9q.OEy7Hrwk8f2LO8Dyn8eWdFsPEWEAztpo3797QoEiMNA99UxQXmY3RPf3k3cCFpU u.E4cHnc3HnFfSqvS9sTrKY3zforG5ljxJOgXlFS4c.XavyiUTdfQedR7oSzDpvfJywS5oM4cUk6 3M2N_IHC9sCjmkgvCa8pm3HVv5kJE3NyfXhYHwuDBqEu9UJNlEedpcIjunmsm8.NVeZPSLVA9t4. LGPe4kAudGXZt6bsNkgyaZxkpT0YN03rWeGOL8LXykdrYq3bn5UwhQQaQfqb7OhbvCWICFbvkCh1 jwHjgJhO49Gmb0BkZbn_uSWRbMGkTr.RN8QtHKbF7CrH3AY8UtDwfbFSLfatSe0G6cGz1TravVXi J6OA5EKcE3Zn0J4G9UZSELyHmETeIy65alUgXYkaWw2bxkjxt.Zz3eBCjZEMqci6CYnnwImYrAZm XwoCex.JBqaHjYP7yfMDydD3iArUPK7dTRIPbnGZ_0Xt0xHGfkp2XGeHJnrC2N2YEmRP8KlFvx8t sd5mtvVSa1ZJZz0s480svfckwHhum4BVJ0pAFiLSzGySMAFAfS0nZoIh3CAQkPjydhqEwyJ8ESAi RL_MJNIeE.se8kRgPrvbpos3VYogqVO_LuXbR Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.sg3.yahoo.com with HTTP; Tue, 25 Feb 2020 01:55:57 +0000 Received: by smtp424.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cf063603b8bb1ed3ca8aa03571b2582e; Tue, 25 Feb 2020 01:55:53 +0000 (UTC) X-YMail-OSG: p7oQEpEVM1kmzZ4DHd793iOtd0tyNfbQFrcKP4cEUCT8sS8lHMb8cyMABXM40Fx O.Ywk5KW4sWXqylhrF9mYbXrKvl0Lobeu9ECOEkzsv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uMT.Q54JdPA.x 1frS5iEAQseVHMWYcBKpAp17J_PWrpVwPJhAj6CZGVFziIEPi.ohVpQoh2ifN5Qu8MBX124BahLa J0Nwqo01uaIYFAtdck_gIgrmKSYTSEOzkQ6U7x30KHEoAnWbRgyy06vXFKHD.564L74OyYxzVGxB 23Yt9OSs- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 25 Feb 2020 01:55:52 +0000 Date: Tue, 25 Feb 2020 01:55:48 +0000 (UTC) From: "sivapostgres@yahoo.com" Reply-To: "sivapostgres@yahoo.com" To: Dor Ben Dov , Stephen Frost Cc: "pgsql-general@lists.postgresql.org" Message-ID: <6894011.7758830.1582595748083@mail.yahoo.com> In-Reply-To: <20200224201610.GX3195@tamriel.snowman.net> References: <20200224201610.GX3195@tamriel.snowman.net> Subject: Re: Backup & Restore MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7758829_632448488.1582595748082" X-Mailer: WebService/1.1.15199 YMailNorrin Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36 Content-Length: 4057 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_7758829_632448488.1582595748082 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable HiCan u suggest a good backup solution for a windows installation ?=C2=A0 = Looks like the suggested two [ pgbarman, pgbackrest ] works only in Linux. On Tuesday, 25 February, 2020, 01:46:33 am IST, Stephen Frost wrote: =20 =20 Greetings, * Dor Ben Dov (dor.ben-dov@amdocs.com) wrote: > What is your backup and restore solution in production when working with = Postgres ? > (+ if you can say few words why you picked this X solution instead of oth= ers) I'd recommend pgbackrest- https://www.pgbackrest.org, it's got lots of great features including parallel backup, incremental and differential backups, compression, encryption, and all of those can be used together. pgbackrest also can parallelize WAL shipping if you're writing lots of data. There's other options out there, of course.=C2=A0 In any case, I strongly recommend that you use one of the existing solutions and don't try to roll your own. Just to be clear- I'm also involved in the project (though not the primary developer, that's David, who you'll also see on this list and on the -hackers list contributing things to PostgreSQL). Thanks! Stephen =20 ------=_Part_7758829_632448488.1582595748082 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi
Can u suggest a good backup solution for a windows insta= llation ?  Looks like the suggested two [ pgbarman, pgbackrest ] works= only in Linux.

=20
=20
On Tuesday, 25 February, 2020, 01:46:33 am IST, Stephen= Frost <sfrost@snowman.net> wrote:


Greetings,

* Dor Ben Dov (dor.ben-dov@amdocs.com) wrote:
> What is your= backup and restore solution in production when working with Postgres ?
> (+ if you can say few words why you picked this X solut= ion instead of others)


I'd recom= mend pgbackrest- https://www.pgbackrest.org, it's got lots of
great features including parallel backup, incremental and differe= ntial
backups, compression, encryption, and all of those = can be used together.
pgbackrest also can parallelize WAL= shipping if you're writing lots of
data.

There's other options out there, of course.  In = any case, I strongly
recommend that you use one of the ex= isting solutions and don't try to
roll your own.

Just to be clear- I'm also involved in the pro= ject (though not the
primary developer, that's David, who= you'll also see on this list and on
the -hackers list co= ntributing things to PostgreSQL).

Than= ks!

Stephen

------=_Part_7758829_632448488.1582595748082-- From sfrost@snowman.net Tue Feb 25 13:53:47 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6aej-0007e7-MY for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 13:53:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6aeh-0001nd-NV for pgsql-general@arkaria.postgresql.org; Tue, 25 Feb 2020 13:53:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6aeh-0001nW-A1 for pgsql-general@lists.postgresql.org; Tue, 25 Feb 2020 13:53:47 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1j6aee-0003Ka-QC for pgsql-general@lists.postgresql.org; Tue, 25 Feb 2020 13:53:45 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 8B3635F799; Tue, 25 Feb 2020 08:53:47 -0500 (EST) Date: Tue, 25 Feb 2020 08:53:47 -0500 From: Stephen Frost To: "sivapostgres@yahoo.com" Cc: Dor Ben Dov , "pgsql-general@lists.postgresql.org" Subject: Re: Backup & Restore Message-ID: <20200225135347.GY3195@tamriel.snowman.net> References: <20200224201610.GX3195@tamriel.snowman.net> <6894011.7758830.1582595748083@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8p0O8eOwdLJkewWc" Content-Disposition: inline In-Reply-To: <6894011.7758830.1582595748083@mail.yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --8p0O8eOwdLJkewWc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * sivapostgres@yahoo.com (sivapostgres@yahoo.com) wrote: > HiCan u suggest a good backup solution for a windows installation ?=A0 L= ooks like the suggested two [ pgbarman, pgbackrest ] works only in Linux. While it's certainly something we'd like to do, we haven't ported pgbackrest to Windows yet. That said, it's now entirely written in reasonably portable C and so it shouldn't be too much effort to port it. Until that's done though, and I can't say exactly when that port will happen, your best option is probably pg_basebackup. Of course, I'd strongly recommend you consider running PG on Linux instead, particularly for a production environment. Thanks, Stephen --8p0O8eOwdLJkewWc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJeVSbrAAoJEO1sijiDR2RVLoAP/060rKYFCDAPXpbhKjnkYbZY qmkRv3Vtg3at8VFaLISwl9ozQ93aiB6T4vTC1+XqEjlfh0NMs077u7P4abeGmQ4P N3/ah5Zv6fhUap0Pn6c8wFS7OB1ZEajP0AlRYnvy9iyGO+t7RsQNgiA238HEX0y4 b96P/AF5Ix6eYlcYP4ZHnPNDjrsXGfntnuwi7O6+gmEgEo4cVkBk4NRwB4YX2Q4D sugfEdzvohwF/r43wLbYwkVkdwoGZmdv20YOxVgX8ONshcgiBAXsoUM3y7UtCLrQ MDTJVhviE/yMdI8JASjOcNio7YeRmU4ubCjdaeH2BadF71tmOTy/5MYaLk17VkI/ iwNUKxcPXb68jAG/5nqDBWlp4TmJywqXwinoIM/uWXM1EjjDV+QoeclIoE9LjPvr x5fNgwoT/vFquqIzn8OmOdgCysp/Gw+iRJuBpoEFb6PalzDlhM7dBT29KjPIITGk 5Oj5Wq7ATVuejRg9sgqP1GBgpqCbBX8AHj+rI7NkFcHMUVdNJm34J0uM/ZFw6r6p 1APfpObdeyIOBQQHEkdfAe+91S2uWSaHlpQthVH2Iz+Sn+23bcjRFHrOPIw9u31E MlO4U/ljmK52Cf535m/l+srvwbDEFiAdzG55XsIQt3I0ETsnzV1zzLcy2Y3R7CVw mQgYR5sKil4npFWW4yxI =7CyT -----END PGP SIGNATURE----- --8p0O8eOwdLJkewWc-- From ml+postgresql@03s.net Wed Feb 26 05:57:49 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6phv-0000My-RB for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 05:58:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6phu-0001f3-M5 for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 05:58:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6pht-0001dy-Vy for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 05:58:06 +0000 Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6pho-0004Pk-Qy for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 05:58:05 +0000 X-Sender-Id: dreamhost|x-authsender|03s_mobile@tclish.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id CA95B920C71 for ; Wed, 26 Feb 2020 05:57:56 +0000 (UTC) Received: from pdx1-sub0-mail-a75.g.dreamhost.com (100-96-44-9.trex.outbound.svc.cluster.local [100.96.44.9]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3A676920C41 for ; Wed, 26 Feb 2020 05:57:56 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|03s_mobile@tclish.org Received: from pdx1-sub0-mail-a75.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 26 Feb 2020 05:57:56 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|03s_mobile@tclish.org X-MailChannels-Auth-Id: dreamhost X-Attack-Coil: 5039d7e00953c6da_1582696676630_2962374311 X-MC-Loop-Signature: 1582696676630:1760614226 X-MC-Ingress-Time: 1582696676630 Received: from pdx1-sub0-mail-a75.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTP id 52FCF7F705 for ; Tue, 25 Feb 2020 21:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=03s.net; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type; s=03s.net; bh=iucKxH4JUD0PO7jcdACbTHJe5hA=; b=TAn 3o1x3RUscsEimvlA3ur5U5tctDpa4HLIQghB+yBpFY6diI9y+WTioXwehITFxeP/ 72Uyp5LLbKhMsOGqoPe01OOYo1q08Yw7TgK4IHn/TpsQ/60WmpkdMHJ5TdW/KaDI wIDLkgiK/Z+PrItqfDOXSqnYzhkLImxUQEo/RljA= Received: from [192.168.99.32] (unknown [49.245.110.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: 03s_mobile@tclish.org) by pdx1-sub0-mail-a75.g.dreamhost.com (Postfix) with ESMTPSA id CC8B27F704 for ; Tue, 25 Feb 2020 21:57:52 -0800 (PST) Subject: Re: Backup & Restore To: pgsql-general@lists.postgresql.org References: X-DH-BACKEND: pdx1-sub0-mail-a75 From: Adrian Ho Message-ID: <7b45d789-f435-7ba3-fe84-c678df652098@03s.net> Date: Wed, 26 Feb 2020 13:57:49 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------2CBED875CA7F9A544642EB38" Content-Language: tl X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrleefgdeltdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtsegrtderredtfeejnecuhfhrohhmpeetughrihgrnhcujfhouceomhhlodhpohhsthhgrhgvshhqlhestdefshdrnhgvtheqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepgeelrddvgeehrdduuddtrddugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedrleelrdefvdgnpdhinhgvthepgeelrddvgeehrdduuddtrddugedprhgvthhurhhnqdhprghthheptegurhhirghnucfjohcuoehmlhdophhoshhtghhrvghsqhhlsedtfehsrdhnvghtqedpmhgrihhlfhhrohhmpehmlhdophhoshhtghhrvghsqhhlsedtfehsrdhnvghtpdhnrhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------2CBED875CA7F9A544642EB38 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 24/2/20 4:18 pm, Dor Ben Dov wrote: > > Hi All, > > =C2=A0 > > What is your backup and restore solution in production when working > with Postgres ? > > (+ if you can say few words why you picked this X solution instead of > others) > This is the THIRD time you've asked the same question with minimal rephrasing, and without clarifying details: https://www.postgresql.org/message-id/AM0PR06MB4817A7035134FD88B2C1D033CC= 550%40AM0PR06MB4817.eurprd06.prod.outlook.com https://www.postgresql.org/message-id/AM0PR06MB4817DD9C64FE02410478DF65CC= 280%40AM0PR06MB4817.eurprd06.prod.outlook.com If you weren't satisfied with the answers you got the first two times, kindly be clear about what you're really looking for. Thanks much! --=20 Best Regards, Adrian --------------2CBED875CA7F9A544642EB38 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 24/2/20 4:18 pm, Dor Ben Dov wrote:=

Hi All,

=C2=A0

What is your backup and restore solution i= n production when working with Postgres ?

(+ if you can say few words why you picked this X solution instead of others)

This is the THIRD time you've asked the same question with minimal rephrasing, and without clarifying details:

https://www.postgr= esql.org/message-id/AM0PR06MB4817A7035134FD88B2C1D033CC550%40AM0PR06MB481= 7.eurprd06.prod.outlook.com

https://www.postgr= esql.org/message-id/AM0PR06MB4817DD9C64FE02410478DF65CC280%40AM0PR06MB481= 7.eurprd06.prod.outlook.com

If you weren't satisfied with the answers you got the first two times, kindly be clear about what you're really looking for. Thanks much!

--=20
Best Regards,
Adrian
--------------2CBED875CA7F9A544642EB38-- From sivapostgres@yahoo.com Wed Feb 26 06:21:48 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6q55-00014Z-TD for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 06:22:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6q54-0005Ca-EJ for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 06:22:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6q53-0005CT-Nd for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 06:22:02 +0000 Received: from sonic304-19.consmr.mail.sg3.yahoo.com ([106.10.242.209]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j6q51-0002Ua-0f for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 06:22:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582698115; bh=j0bZ1tss97rRyIP3L4Pl5k3ktsGecHxxpnswghPBtYo=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=s6I059KMW+0qkPcB6gLvorDYUb1y3bNMwZq25oZEaO6ICLJ+0UCLFy3SDDSM5Z+o0MLTXpkqtPaTtkPKdCzKOaB/CrowLs8B4usy5ohHp4WSYl+c0zq5OFi0KhBimlSsK2W+glrLs2UGiQhL/kjJGKG0q4o3FQp3Dvc9A0Gty04m5Z2bkvPP5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HArOJ74ZaHt1roKrzESKbw5T8Jr5SX898RPCqWgZv1Sgf9FogCTou3Uu0rVXl_J8lZE0jg0bF uk3Nbb58hAc33pR0Y3yGAWXTtXpVAs2Lbclfk40lk0fx6Akd47ESMvo.gtRZ_AKoyarJm2M2EZHx UFUTygGJw1YtfltWzaS3ySfacHINIinG7ROonrinafPMv83m36bHpu5trH7A_juCvQKqGHuxhPQL 2oS_gGXLOGxqS6hkqiQxKgdGO5Z__tCWVGlV0dvaHHxVtehT3u1qAwC2NPjQM4tmIHtTIZ0PeqVo bRi8BvECYig2LnB950v__vhnkU2BVhCOBFnLq42ORZ.HK3B5TQwA4Y3W1JN0.clUyllfLpiF8YhX tqOG7eWsDvnK3vnEQDGAktIFujUgWMcW_i_Nv1a_IH7qpW3BaGRtipdDK7VPZDWmQaefiHrXB7zS NwYyk9ZYhatj0ht29x88PVF8KBnjIIqbqfS9E6.Bsuo5ZAVUwHrGgHLhfLjsDov1WnJ5Yo8UoJTj SoosrOf5i7TDk988s5RuLlAg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.sg3.yahoo.com with HTTP; Wed, 26 Feb 2020 06:21:55 +0000 Received: by smtp430.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c933216c6ba3a08e6bd775f858b7c17a; Wed, 26 Feb 2020 06:21:51 +0000 (UTC) X-YMail-OSG: IDkIcFcVM1lKkSvPW8Z.iLREq7i0fWMGlKXRsqutLGASJEiwg4_ZH5nYeFH9YPu UBvG3rFjJiJ9yQTEclIpoDvCfsYydVZ__7EMM2niCZUEqBSlf0.dp4188VZvfFjMzDFGbgx0JOrp k3LmHPCRS4bOA7cgh01X75BV8o0WV4oK5acRqV2PUkmSnkMspoOWGn1GfxZfdRUS3VhjeHWibyZs ERoTOBrqnsmap0kVJx9NuDgxPBEd1ic1Jx3RAZaXj6fAkLJczWY6QB6ScGGIh3aTP9.tcj.Z6UX8 KXizOAtozTHRmhwgeF7UJ.RvWE2Ud0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mr.mail.gq1.yahoo.com with HTTP; Wed, 26 Feb 2020 06:21:49 +0000 Date: Wed, 26 Feb 2020 06:21:48 +0000 (UTC) From: "sivapostgres@yahoo.com" Reply-To: "sivapostgres@yahoo.com" To: "pgsql-general@lists.postgresql.org" Message-ID: <1590344476.1891741.1582698108472@mail.yahoo.com> In-Reply-To: <20200225135347.GY3195@tamriel.snowman.net> References: <20200224201610.GX3195@tamriel.snowman.net> <6894011.7758830.1582595748083@mail.yahoo.com> <20200225135347.GY3195@tamriel.snowman.net> Subject: Re: Backup & Restore MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1891740_1479456644.1582698108471" X-Mailer: WebService/1.1.15302 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36 Content-Length: 4225 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1891740_1479456644.1582698108471 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We do have plans to move to Linux in the future after the successful imple= mentation of at least 4 or 5 projects.=C2=A0 Till then we want to keep wind= ows. We were (are) using SQL Server (also) and this is our first one with P= ostgres.=C2=A0 =C2=A0With our manpower, we feel tough to switch two things = (Database & OS) at a time.=C2=A0=C2=A0 We'll be using either pg_basebackup or pg_dump, as suitable, till we find a= good backup solution. On Tuesday, 25 February, 2020, 07:24:00 pm IST, Stephen Frost wrote: =20 =20 Greetings, * sivapostgres@yahoo.com (sivapostgres@yahoo.com) wrote: >=C2=A0 HiCan u suggest a good backup solution for a windows installation ?= =C2=A0 Looks like the suggested two [ pgbarman, pgbackrest ] works only in = Linux. While it's certainly something we'd like to do, we haven't ported pgbackrest to Windows yet.=C2=A0 That said, it's now entirely written in reasonably portable C and so it shouldn't be too much effort to port it. Until that's done though, and I can't say exactly when that port will happen, your best option is probably pg_basebackup. Of course, I'd strongly recommend you consider running PG on Linux instead, particularly for a production environment. Thanks, Stephen =20 ------=_Part_1891740_1479456644.1582698108471 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We do have plans to move to = Linux in the future after the successful implementation of at least 4 or 5 = projects.  Till then we want to keep windows. We were (are) using SQL = Server (also) and this is our first one with Postgres.   With our= manpower, we feel tough to switch two things (Database & OS) at a time= .  

We'll be using either pg_basebackup or pg_d= ump, as suitable, till we find a good backup solution.


=20
=20
On Tuesday, 25 February, 2020, 07:24:00 pm IST, Stephen= Frost <sfrost@snowman.net> wrote:


Greetings,

* sivapostgres@yahoo.com (s= ivapostgres@yahoo.com) wrote:
>  HiCan u sugg= est a good backup solution for a windows installation ?  Looks like th= e suggested two [ pgbarman, pgbackrest ] works only in Linux.

While it's certainly something we'd like to do, we = haven't ported
pgbackrest to Windows yet.  That said= , it's now entirely written in
reasonably portable C and = so it shouldn't be too much effort to port it.

Until that's done though, and I can't say exactly when that port = will
happen, your best option is probably pg_basebackup.<= br clear=3D"none">
Of course, I'd strongly recommend you = consider running PG on Linux
instead, particularly for a = production environment.


Thanks,

Stephen
------=_Part_1891740_1479456644.1582698108471-- From shammat@gmx.net Wed Feb 26 06:25:50 2020 Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6q8u-0001DD-J4 for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 06:26:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6q8t-0000XD-Dq for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 06:25:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6q8s-0000T0-Uj for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 06:25:59 +0000 Received: from mout.gmx.net ([212.227.17.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6q8p-0002Xv-Kl for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 06:25:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1582698351; bh=uADw7599peNS5p0aGbZXXVnJebMBFUd60LbB60ZI1RE=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=hb9NeJ+L4r09flNVwnf9Bw6vAFnp8PXo5bdt6aR7AZsXYhOYmKkJEuYNGZNlo1Znn 3BfAy58/MSStfCnvS3hs5AhfY/GO30xDtzwPJiE8twHNX6DTSOfvQD4WCTn6yq+cFd Czn2ey2+tl3Qw27QdO6aGB1N9anei12tRDdpZXH0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.1.35.70] ([185.40.248.10]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MYeMt-1itTyu1A5T-00VkXI for ; Wed, 26 Feb 2020 07:25:51 +0100 Subject: Re: Backup & Restore To: pgsql-general@lists.postgresql.org References: <20200224201610.GX3195@tamriel.snowman.net> <6894011.7758830.1582595748083@mail.yahoo.com> From: Thomas Kellerer Message-ID: Date: Wed, 26 Feb 2020 07:25:50 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: <6894011.7758830.1582595748083@mail.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:pyhn7+vMB9BgjyPNO5xfPmRiUfGXEqSIc2/KBMIQba225PlLMso crpwGl1LlrYr8xtZQeh5c4Fk8dWJnGPaF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aFeiXC9c pTvtYmaOXXuSanKhAtI5kidCjCn+jLdiVL5a7NTQX9jWGBenWGEuDlpdSSQ5/yN3N4Oo12YQ/ Q2I5GP6pOEw+qxFPW+jMDK5TpxHvOF6ru95VZ9b+2e3gLvGtaVhG/gKW5wUFXyJaq1vAQI1O4 oepQZfbo7+EAJIWJO9eyIcj9rxRYkJcsQhTyCWWplf9GFI0O17s0qRzoBH94+6JOx99O5p20K jELj1CuYmBYyqv9Oac9EAhjdliGWYxQdSpXkyl7FMHa/V20Plxswry3GJCUs/NC8D8GPAuhhF DOP7+8Qcl+lrMm1t6eC5+yxPX4cs1nJ2s2gfvopAjZvN79aPeRKQYxiKaVxmG9/UUegrqgK1J nMS92k3T1DtDGUi1b List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk sivapostgres@yahoo.com schrieb am 25.02.2020 um 02:55: > Can u suggest a good backup solution for a windows installation ? > Looks like the suggested two [ pgbarman, pgbackrest ] works only in > Linux. pg_probackup provides Windows binaries: https://github.com/postgrespro/pg_probackup/