mdzidic / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Ability to suspend virtual server during backup instead of stopping it #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to improve the backup system? As i saw it stops a VM to make the 
backup, can't it just suspend the VM?

I hope this isn't a stupid question...

Original issue reported on code.google.com by alecksie...@gmail.com on 28 Sep 2010 at 10:55

GoogleCodeExporter commented 9 years ago
AFAIK it's possible to implement backup system without downtime at all. 
Something similar described at OpenVZ wiki (topic about live migration of VPS).

Original comment by sibprogrammer on 28 Sep 2010 at 3:01

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 28 Sep 2010 at 3:01

GoogleCodeExporter commented 9 years ago
I actually don't know what function owp uses to backup a container, but if it's 
vzdump, you could append --suspend to the command line and the container just 
frezees for a few seconds.

Original comment by alecksie...@gmail.com on 2 Oct 2010 at 9:27

GoogleCodeExporter commented 9 years ago
I don't use vzdump internally, but guess that it uses vzctl chkpnt VEID 
--suspend. I can introduce the same option at backup creation form. But 
suspend/resume will be faster only on small containers, then stop/start 
procedure is longer then archiving of VE content. In other case these two 
options will be very similar. Real benefit of suspend/resume is that machine 
state will be exact the same as before backup.

Original comment by sibprogrammer on 2 Oct 2010 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 4 Oct 2010 at 2:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r725.

Original comment by sibprogrammer on 4 Oct 2010 at 2:36