migtools / volume-snapshot-mover

https://migtools.github.io/volume-snapshot-mover/developer
Apache License 2.0
17 stars 13 forks source link

Add backup name to snapshot repo #234

Closed eemcmullan closed 1 year ago

eemcmullan commented 1 year ago

The restic repository snapshots are saved in is currently formatted as <protected-ns>/<cloned-pvc-name> which means all snapshots are in the same location for each backup. To help separate and organize, we can add the backup name, such as <protected-ns>/<backup-name>/cloned-pvc-name> https://github.com/migtools/volume-snapshot-mover/blob/master/controllers/restic.go#L87

weshayutin commented 1 year ago

@eemcmullan please add a few lines to the description unless you already have a related PR :) please

mateusoliveira43 commented 1 year ago

updating line for change https://github.com/migtools/volume-snapshot-mover/blob/master/controllers/restic.go#L118