Skip to content

INC/DIFF mode for offline VMs #196

Answered by abbbi
x09 asked this question in Q&A / Support
Discussion options

You must be logged in to vote

By default libvirt does not allow to take full/inc/diff backups for shutdown virtual machines because that requires the qemu process for the VM to be executed, You can use option -S to start VM in paused mode for full/inc/diff backups.

The VM process will then be started with cpu's disabled (nothing will be executed) but the qemu process that is required for inc/diff backups is spawned and exits after backup finishes.

Without option -S full backup will fallback to copy backup which cannot be used for further incremental backups, thus subsequent auto/inc/diff backups wont work on a target directory which includes only type copy backup.

See also:
https://github.com/abbbi/virtnbdbackup?tab=r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abbbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants