vacuum and backup

From: Colleen Williams <colleen(at)digital-arts(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: vacuum and backup
Date: 2001-02-21 13:09:30
Message-ID: 4.3.2.7.2.20010221125504.00b76e28@192.168.1.253
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have some questions regarding vacuum and backup...
1) Do we need to stop the postmaster process before we do a nightly vacuum
analyze or pg_dump in version 7.0.3 of PostgreSQL?
(I read somewhere that we will end up with a totally corrupted backup if we
try to dump a live database and it made sense but I have had no problems
using pg_dump and then using the dump files to create new databases)
2) Is it better to pg_dumpall than pg_dump to backup the database and why?
3) Has anyone written some shell scripts to do vacuum and backup?
I will have to write some but am not conversant with shell scripts and
would greatly appreciate any help.

Thanks in advance. I did try searching the archives but didn't have a great
deal of success finding answers.

Regards,
Colleen.

Colleen Williams
colleen(at)digital-arts(dot)co(dot)uk

0207 484 8825

Digital Arts | British Columbia House | 1 Regent Street | London | SW1Y 4NR
http://www.digital-arts.co.uk

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-02-21 15:17:25 Re: Multiple triggers/rules
Previous Message Neil Burrows 2001-02-21 13:01:33 Inheritance Question