You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c144d09
Browse filesBrowse the repository at this point in the historyBrowse files
nasbackup: carry the backup method separately from the mode
The content-based path overloaded ChainDecision.mode with content-full and
content-incremental, and apache#14386 is adding rbd-full and rbd-incremental the same
way. Split the two concerns as suggested in review: mode stays full or
incremental, and a new method field says how the backup is taken -- qcow2 (push
mode with dirty bitmaps) or content (pull mode). Further methods such as an RBD
diff can be added without new mode tokens.
TakeBackupCommand gets a method field and nasbackup.sh a --method option. Both
default to qcow2 when absent, so a management server that does not send a method
keeps working against an upgraded agent. legacy-full is unchanged: rewriting it
as full plus a "none" method would break incremental-disabled backups on agents
that have not been upgraded yet.
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtTakeBackupCommandWrapper.java
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,13 @@ public class LibvirtTakeBackupCommandWrapper extends CommandWrapper<TakeBackupCo
54
54
// Incremental feature disabled: plain full backup with no QEMU bitmap/checkpoint and no
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/test/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtTakeBackupCommandWrapperTest.java
0 commit comments