<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Scott Dowdle escribió:
<blockquote
cite="mid:18825768.244.1278603359205.JavaMail.root@mail.montanalinux.org"
type="cite">
<pre wrap="">Ismael,
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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? </pre>
</blockquote>
I sync every hour.<br>
<br>
<blockquote
cite="mid:18825768.244.1278603359205.JavaMail.root@mail.montanalinux.org"
type="cite">
<pre wrap="">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.
</pre>
</blockquote>
HA it's more complex for me.<br>
<blockquote
cite="mid:18825768.244.1278603359205.JavaMail.root@mail.montanalinux.org"
type="cite">
<pre wrap="">
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.
</pre>
</blockquote>
I can't stop the containers of my clients.<br>
<blockquote
cite="mid:18825768.244.1278603359205.JavaMail.root@mail.montanalinux.org"
type="cite">
<pre wrap="">
vzdump is also something you'd probably want to look at as it'll give you some more options.
</pre>
</blockquote>
The backups are aprox of 100GB and is more slow manage the backups and
restores with vzdump.<br>
¿Maybe with vzctl chkpnt?<br>
<br>
<blockquote
cite="mid:18825768.244.1278603359205.JavaMail.root@mail.montanalinux.org"
type="cite">
<pre wrap="">
As you can imagine there is a broad range of backup scenarios, and what you'd want to do would vary.
TYL,
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
------------------------------------------
Ismael Zarco Lamas
Administrador de Sistemas
Interdix Galicia
</pre>
</body>
</html>