OpenVZ Forum


Home » General » Support » Checkpoint/Backup of a container
Re: Checkpoint/Backup of a container [message #34489 is a reply to message #34487] Mon, 12 January 2009 07:09 Go to previous messageGo to previous message
Martin Maurer is currently offline  Martin Maurer
Messages: 13
Registered: January 2008
Junior Member
januszzz wrote on Sun, 11 January 2009 17:32

Hmm, vzdump is cool, but what it reaqlly does? AFAIK it does rsync, then freezez VE, rsyncs again, then resume.


vzdump has different modes. if you work with LVM snapshots you have no freeze and no downtime.

1. Stop the VE during backup (very long downtime)
2. Use rsync and suspend/resume (minimal downtime)
3. Use LVM2 (no downtime, online)

januszzz wrote on Sun, 11 January 2009 17:32

So what if a database is running inside VE and it writes to the disk almost continously during the backup operation ? can I be sure I'll launch the databse in consistent state after restore of VE?

I guess I cannot. Still the database should be stopped or archived using its own tool. And this is difference to VMware snapshot, Virtualbox or KVM snapshot.

Am I right?


if you cannot life with a snapshot you need a backup software which is aware of the applications running. E.g. if you backup a microsoft active directory the backup software has to tell the microsoft server that there is a backup otherwise you can never restore.

most backup software vendors sells separate backup agents for this.

On Linux, doing backups with snapshots is working 99,9 % - thats my experience.

br, martin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weird file access / rights problem
Next Topic: "cpus" config option and "--set cpus" issue
Goto Forum:
  


Current Time: Tue Oct 08 12:37:37 GMT 2024

Total time taken to generate the page: 0.05381 seconds