INC/DIFF mode for offline VMs #196
-
I want backup OFFLINE VMs. Documentaions talks about copy, inc/diff modes.
First backup, set full (but switch to copy after)
Then, i try 'inc' mode, but get 'No full backup'. why?
At next, try 'diff', and 'No full backup' again..
And last, AUTO mode
what i do wrong?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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: |
Beta Was this translation helpful? Give feedback.
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…