-
Hi! I wonder if there is a simple way to have the snapshots CR populated based on the restic repo. I seen that if I start a backup its gets fetched and populated, even found which module is doing it. https://github.com/k8up-io/k8up/blob/master/restic/kubernetes/snapshots.go Is there a way to call this directly? |
Beta Was this translation helpful? Give feedback.
Answered by
Kidswiss
Aug 9, 2023
Replies: 1 comment 5 replies
-
Hi @bfeher-kx Currently the snapshots only get syncrhonized after the backup with the code snipped you linked. It can't be called directly. I'm also wondering why you'd need that. Could you please elaborate your use-case? Then I may be able to understand your need better. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bfeher-kx
The metadata doesn't really matter to k8up for restores. The important parts are in the
spec
field. Currently we also just copy the snapshots around if we need a restore in a new namespace/cluster.