Re: database backup - Mailing list pgsql-general

From Doug Fields
Subject Re: database backup
Date
Msg-id 5.1.0.14.2.20020706225847.02f4f8d8@pop.pexicom.com
Whole thread Raw
In response to database backup  (Sanjeev Rathore <intmail2002@yahoo.com>)
Responses Re: database backup  (Lamar Owen <lamar.owen@wgcr.org>)
Re: database backup  (Curt Sampson <cjs@cynic.net>)
List pgsql-general
At 10:42 PM 7/6/2002, Darren Ferguson wrote:
>If you are using a Unix environment then you should use cron and then
>pg_dump in order to produce a complete backup of the database.
>
>See the pg_dump --help for complete list of commands
>
>Then the shell script in the cron job can call pg_dump with the relevant
>options

If you want to "incrementalize" it, you could always keep a base, and diff
the new dump against it, and store just the diff.

Be sure to run the output through bzip2 (or gzip -9) to save space.

Cheers,

Doug




pgsql-general by date:

Previous
From: Josh Jore
Date:
Subject: Re: database backup
Next
From: Doug Fields
Date:
Subject: Re: Odd new symptom - database locking up on a query