Re: Backups
От | John J. Urbaniak |
---|---|
Тема | Re: Backups |
Дата | |
Msg-id | 42D689E4.1060903@attglobal.net обсуждение исходный текст |
Ответ на | Re: Backups (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Backups
|
Список | pgsql-novice |
Tom Lane wrote:
1. Stop the postmaster
2. Vacuum the database
3. Zip the directory
4. Write the zip file to CD or DVD
5. Start postmaster again
Again, thanks.
John
Thank you for the quick reply. I think I am going to like working with PostGreSQL. The documentation refers to "tar" - I just wanted to make sure that zip would work as well. I am using Rexx, so I think I can write a CMD to"John J. Urbaniak" <jjurban@attglobal.net> writes:I have a question about backups:Is it ok simply to zip the contents of E:\PGSQLDATA to a zip file and store this file on a CD or DVD?Yes, *if* you shut down the postmaster while making the backup. See http://www.postgresql.org/docs/8.0/static/backup.html for discussion --- what you propose is the "file system backup" approach. regards, tom lane
1. Stop the postmaster
2. Vacuum the database
3. Zip the directory
4. Write the zip file to CD or DVD
5. Start postmaster again
Again, thanks.
John
В списке pgsql-novice по дате отправления: