How do I restore schedule on another cluster? #3401
-
I have "schedule" backup on my cluster. When I try to restore the schedule on another cluster, I can get all the backup by running "velero get backups", but I can't see any schedules. When I restore from the backup, it's not properly restored. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Backup storage locations (buckets essentially) can be shared by multiple Velero instances in different clusters. Schedules are per-cluster resources and refer to things within the cluster. We do not share schedules across clusters because this would force all clusters to have the same schedules. You can extract the schedule yamls (schedules.velero.io resource in the Velero namespace) with kubectl and store them externally or even create them externally and keep them in something like git and apply them via kubectl. |
Beta Was this translation helpful? Give feedback.
Backup storage locations (buckets essentially) can be shared by multiple Velero instances in different clusters. Schedules are per-cluster resources and refer to things within the cluster. We do not share schedules across clusters because this would force all clusters to have the same schedules.
You can extract the schedule yamls (schedules.velero.io resource in the Velero namespace) with kubectl and store them externally or even create them externally and keep them in something like git and apply them via kubectl.