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  |
devnull
Messages: 20 Registered: May 2012
|
Junior Member |
|
|
Hello!
sgoeldi wrote on Tue, 14 March 2017 10:39Do 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!
|
|
|