https://github.com/vatesfr/xen-orchestra/blob/master/%40xen-orchestra/backups-cli/README.md
Install
Installation of the npm package:
npm install --global @xen-orchestra/backups-cli
Usage
> xo-backups --help
Usage:
xo-backups clean-vms [--merge] [--remove] xo-vm-backups/*
Detects and repair issues with VM backups.
Options:
-m, --merge Merge (or continue merging) VHD files that are unused
-r, --remove Remove unused, incomplete, orphan, or corrupted files
xo-backups create-symlink-index xo-vm-backups <field path>
xo-backups info xo-vm-backups/*