volsync icon indicating copy to clipboard operation
volsync copied to clipboard

Upgrade restic to 0.14.x

Open tesshuflower opened this issue 2 years ago • 0 comments

Describe the feature you'd like to have. Upgrade the version of restic used with Volsync to 0.14.x (0.14.0 as of now).

What is the value to the end user? (why is it a priority?)

  • 0.14.0 fixes this CVE: https://access.redhat.com/security/cve/CVE-2022-27191
  • Also adds some new functionality such as compression, azure params etc
  • Note that restic 0.14.0 adds a new

How will we know we have a good solution? (acceptance criteria)

  • Able to use the newer restic and still access/restore old restic backups from the old v1 version of the repository
  • Able to use the v2 version of the repo (when it's initialized with the newer restic)

Additional context

  • Initial idea for supporting the v2 version of the registry is as follows:
    • If initializing a repository for the first time, let it initialize at version 2 when using the new restic
    • If the repository is still at v1, it will be the users's responsibility to migrated it to version2 if they want to use v2 features such as compression
  • May need spec updates to handle allowing the user to specify compression for example
  • Some features such as AZURE_ACCOUNT_SAS will require passing in the env var to the restic mover job - but hopefully can be taken directly from the restic secret, as is done with other similar env vars

tesshuflower avatar Sep 07 '22 20:09 tesshuflower