xen-orchestra icon indicating copy to clipboard operation
xen-orchestra copied to clipboard

feat(backups/mirror): filter backup to be transfered

Open fbeauchamp opened this issue 8 months ago • 1 comments

Description

  • add the possibility to filter VM subject to a mirror job, with an optional property filter on the job
  • The filter is either undefined, or a format accepted by value-matcher. For example filtering by vm uuid would be : { vm: { uuid: { __or: ["foo", "bar"] } } } where foo and bar are vm uuids
  • for incremental backup, if at least one backup of a job match, all the VM of the job are transferred to ensure we won't break the delta chain
  • for full backup only the backup matching the filter are transferred

excluded VM are visible in thebackup execution logs, with a specific information message

image

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

fbeauchamp avatar Jun 13 '24 08:06 fbeauchamp