Backup All Openshift Template and Restore it to Another Openshift Instance
Previously i have to move a lot of Openshift template from one instance to another instance. So instead of copying a template one by one, why not just dump the whole template and import it to the new instance.
Below is the screenshot of source Openshift where we want to export the template from.
oc get -n openshift -o yaml --export templates > mytemplate.yaml
Below is the screenshot of the target Openshift,
oc apply -f mytemplate.yaml
No Comments