Re: [GENERAL] VM-Ware Backup of VM safe?

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: [GENERAL] VM-Ware Backup of VM safe?
Дата
Msg-id 55e09857-ead8-d72f-68bf-ba8deef48156@pgmasters.net
обсуждение исходный текст
Ответ на Re: [GENERAL] VM-Ware Backup of VM safe?  (PT <wmoran@potentialtech.com>)
Список pgsql-general
On 9/20/17 7:36 AM, PT wrote:
> On Wed, 20 Sep 2017 10:03:15 +0200
> Thomas Güttler <guettliml@thomas-guettler.de> wrote:
> 
>> We run a PostgreSQL 9.6 server in a virtual machine.
>>
>> The virtual machine is managed by the customer.
>>
>> He does backup the VM.
>>
>> Is this enough, is this safe?
> 
> There are so many variables involved with doing that ... I don't think
> anyone can reliably answer that question.
> 
> I recommend you put together a periodic test schedule where you restore
> a machine from the backup and ensure everything works. To be honest, you
> should be doing that anyway.

Restore testing is as must, but a bad backup scheme can result in subtle
errors that are very hard to detect.

If you can't find specific documentation that your VM backup solution is
safe to use with a DBMS then it is almost certainly not safe.  Even if
it says it is there are potential gotchas.  For example, the backup may
not be consistent if you are using multiple volumes.

In addition, data loss on restore will be greater if there is no WAL
archive to play forward from.

-- 
-David
david@pgmasters.net


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: [GENERAL] Selecting a daily puzzle record - which type of columnto add?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [GENERAL] [HACKERS] USER Profiles for PostgreSQL