[Users] vzmigrate modifications

Ismael Zarco isma at galiciadigital.com
Fri Jul 9 03:44:54 EDT 2010


Scott Dowdle escribió:
> Ismael,
>
> ----- Original Message -----
>   
>> Hi,
>> I'll be running 1 VPS on each server normally.
>> I'd like to be able to replicate each VPS to its backup server(s). For
>> example:
>>
>> • SERVER1 = VPS1 (VPS2's backup server)
>> • SERVER2 = VPS2 (VPS1's backup server)
>> I thought to user a modified vzmigrate script for mantain a copy of
>> VPS2 (in the case of SERVER 1). If SERVER 2 fails, i can get up the
>> VPS 2 quickly.
>>
>> What modifications should i do in the vzmigrate?
>>     
>
> If I understand you correctly, you'd basically like to backup a container's filesystem and config to a separate host node periodically so in case of a hardware failure, you could start up the container on the other host.
>
> My question to you is how often do you want the backup to be done or another way of putting it is... how close does the backup have to be to the original in case of a failure?  
I sync every hour.

> If you are trying to make a sort of High Availability setup where the original and the backup are in sync as much as possible, I'd recommend you check out some of the HA related wiki pages.
>   
HA it's more complex for me.
> If a once-a-day backup is all you are looking for, I'd recommend creating a simple script that does an rsync of the container's filesystem and config while it runs and then does a shutdown and a second rsync and starts it back up.
>   
I can't stop the containers of my clients.
> vzdump is also something you'd probably want to look at as it'll give you some more options.
>   
The backups are aprox of 100GB and is more slow manage the backups and 
restores with vzdump.
¿Maybe with vzctl chkpnt?

> As you can imagine there is a broad range of backup scenarios, and what you'd want to do would vary.
>
> TYL,
>   


-- 
------------------------------------------

Ismael Zarco Lamas

Administrador de Sistemas

Interdix Galicia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20100709/42fafdff/attachment.html


More information about the Users mailing list