Skip to content

Allow resuming a removal from a recovery bundle

swh alter recovery-bundle resume-removal will remove from the archive all objects contained in a recovery bundle. This can be useful after using swh alter remove --dry-run=stop-before-removal or in case of failures from external resources during the removal operation. The bundle decryption key needs to be provided.

Thus, swh alter remove will now print the decryption key to the standard output so this can be of any practical use.

This is implemented by opening the recovery bundle and registering all objects again to a fresh operations.Remover instance. remove() can then be called just as if we had just created the recovery bundle.

Closes #15 (closed)

Commits from the merge request should be reviewed individually.

Merge request reports