Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VlNRy-00071S-G1 for pgsql-admin@arkaria.postgresql.org; Tue, 26 Nov 2013 18:33:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VlNRx-0006dj-Vs for pgsql-admin@arkaria.postgresql.org; Tue, 26 Nov 2013 18:33:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VlNRw-0006cN-Kc for pgsql-admin@postgresql.org; Tue, 26 Nov 2013 18:33:28 +0000 Received: from qmta13.westchester.pa.mail.comcast.net ([2001:558:fe14:44:76:96:59:243]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VlNRs-0005Cq-Eo for pgsql-admin@postgresql.org; Tue, 26 Nov 2013 18:33:28 +0000 Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta13.westchester.pa.mail.comcast.net with comcast id uD4y1m0031c6gX85DJZLaL; Tue, 26 Nov 2013 18:33:20 +0000 Received: from [192.168.1.176] ([173.63.112.26]) by omta23.westchester.pa.mail.comcast.net with comcast id uJZ01m0080aDYCV3jJZ5Dr; Tue, 26 Nov 2013 18:33:15 +0000 Message-ID: <5294E957.1000802@comcast.net> Date: Tue, 26 Nov 2013 13:32:55 -0500 From: AJ Weber User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Backup of database References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1385490800; bh=Z5tUM2rKVuZjeq+fgs76DvqybKciNlBi/qeE+oNgiqk=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=lgCBmliYZR/Obw7xIsSLWQWl/upy4w56tpHT7tpJtQi6BOpN9gwgA2rKi/H2c7szx jWcp6pK8WlWiMWZCKPtaYC2sg4s4GMu8xR5HsmkW+gtL0MDb6yG4GmgMcEKzuBDYA9 6fjMQ3w4DcXub5u9ejIoCSEmRaH9FjVhqDSF/lzLjwFLADU8s3Z44nyoBzVE6cy+qu HtD3NTLyIRb725R5fxY7Gg38ritKoF0ilJm4KmHL/8zqX0czlSA9zRqkLHn1eHIBiH GSRidUQbtPC1G5gusmix3Zm/KKexCz9in7Oag2xqUa8bo3X/I6H5rvQknvZRcf1RlG ghyUbrHGQ6f/g== X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 11/26/2013 11:56 AM, Scott Ribe wrote: > On Nov 26, 2013, at 9:28 AM, joka veera Venkataramana wrote: > >> I know all my questions are basic, why we are asking here is previously we were in DB2 now we moved our database to Postgre (Its new for us). Please help us. > > > Personally, for daily backups, I like pg_dumpall | bzip2. If you're using some kind of rsync or rsnapshot to help with backups, check-out "gzip --rsyncable". It purports to keep the compressed archive in a better format for rsync-type (changed-block-only) transfers, at the expense of not using the most advanced algorithm. I have a script that dumps my db to a local gz file, and alternates naming it with a .0 or .1 so I always have the last two backups (and then those backup/archive files are rsync'ed to another machine). -AJ -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin