vacuum and backup

Поиск
Список
Период
Сортировка
От Colleen Williams
Тема vacuum and backup
Дата
Msg-id 4.3.2.7.2.20010221125504.00b76e28@192.168.1.253
обсуждение исходный текст
Ответы Re: vacuum and backup  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
Список 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@digital-arts.co.uk

0207 484 8825

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


В списке pgsql-general по дате отправления:

Предыдущее
От: "Romanenko M.A."
Дата:
Сообщение: /usr/lib/perl5/5.6/i386-linux/auto/Opcode/Opcode.so doesn't exist.
Следующее
От: "Rob Arnold"
Дата:
Сообщение: Re: copying tables