OpenVZ Forum


Home » General » Support » openvz-diff-backups: a file-based incremental backup tool (Beta Testers Welcome!)
Re: openvz-diff-backups: a file-based incremental backup tool (Beta Testers Welcome!) [message #52776 is a reply to message #52775] Tue, 14 March 2017 18:00 Go to previous message
devnull is currently offline  devnull
Messages: 20
Registered: May 2012
Junior Member
Hello!

sgoeldi wrote on Tue, 14 March 2017 10:39
Do you use similar ways for OVZ7?

When openvz-diff-backups does a "live" backup with OpenVZ 7, the container is suspended, its memory is checkpointed with CRIU, a ploop snapshot is taken and then, the container is resumed.

It just takes a few seconds depending of the RAM used by the container.

After that, the ploop snapshot is mounted in a temp directory and files are synced with rsync (using --link-dest) to store only modified files.

You should give it a try with the "dry-run" mode : no modification is done and you'll see if it fits your needs.

Ex: openvz-diff-backups backup 101 auto -d -v -l 9

101 => CTID of the container
auto => select best backup mode (cold, hold or live)

-d => dry-run
-v => verbose
-l => log-level

By default, backups are stored locally (localhost) but OVZDB is designed to push backups anywhere (SSH path).

Have a nice day!
 
Read Message
Read Message
Read Message
Previous Topic: OpenVZ 7 - should I upgrade?
Next Topic: My OpenVZ Container wont boot all of a sudden :-(
Goto Forum:
  


Current Time: Wed Sep 11 23:18:15 GMT 2024

Total time taken to generate the page: 0.06740 seconds