Re: Backups

From: Philip Hallstrom <postgresql(at)philip(dot)pjkh(dot)com>
To: "John J(dot) Urbaniak" <jjurban(at)attglobal(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Backups
Date: 2005-07-14 16:09:06
Message-ID: 20050714090647.I66949@wolf.pjkh.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> Is it ok simply to zip the contents of E:\PGSQLDATA to a zip file and store
> this file on a CD or DVD? I am sure that the data will not exceed 50
> Megabytes, so it should fit on a CD.

if the data won't exceed 50megs I would add step 1a just so you have the
data in a format other than the native postgresql format (say in case for
some freaky reason your machine crashes and *no one* has a copy of that
version of postgres... crazy, but if you have the space...)

1. Vacuum the database

1a. pg_dump the database

2. Stop the postmaster
3. Zip the directory
4. Write the zip file to CD or DVD
5. Start postmaster again

In response to

  • Backups at 2005-07-14 15:12:59 from John J. Urbaniak

Responses

  • Re: Backups at 2005-07-15 17:03:48 from Bruno Wolff III

Browse pgsql-novice by date

  From Date Subject
Next Message John J. Urbaniak 2005-07-14 16:10:17 Re: Backups
Previous Message John J. Urbaniak 2005-07-14 15:51:00 Re: Backups