restic: ability to run restic restore
even when the PV already been restored
#2170
Labels
restic restore
even when the PV already been restored
#2170
Describe the problem/challenge you have
Velero service installed via the official helm chart with restic integration. K8s deployment was update with a proper annotation to make sure that PV will be backuped via restic.
velero backup create
/velero restore create
been run once. Random files were removed from the PV viakubectl exec
from the pod to simulate unexpected data loss.velero restore create
been run again but the files were not recovered. According tovelero
logs PV was skipped:Helm installation command:
Backup:
Backup describe: https://gist.github.com/dsuievalov/8048af3f515f1b23dd99225cb0f58c11#file-backup-test-restic-describe
Restore for the first time:
Restore describe: https://gist.github.com/dsuievalov/8048af3f515f1b23dd99225cb0f58c11#file-restore-first-time-test-restic-describe
Restore describe after random files removal: https://gist.github.com/dsuievalov/8048af3f515f1b23dd99225cb0f58c11#file-restore-not-first-time-test-restic-describe
Restore logs: https://gist.github.com/dsuievalov/8048af3f515f1b23dd99225cb0f58c11#file-restore-not-first-time-test-restic-logs
Describe the solution you'd like
It would be great if
velero restore create
can runrestic restore
even when the PV already been restored.Anything else you would like to add:
Environment:
The text was updated successfully, but these errors were encountered: