Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to restore data using the graphSON snapshot, here are the steps to follow:

Check the snapshots folder in the graphadmin pod running in your namespace:

...

You should see some logs being printed and at the end it will give you info on the number of vertices in the graph when successfully restored.

Afterwards, kill the resources, traversal and graphadmin pod using the following command:

Code Block
languagebash
themeRDark
kubectl delete pod $(kubectl get pods -lapp=aai-resources -n onap  --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}') -n onap
kubectl delete pod $(kubectl get pods -lapp=aai-traversal -n onap  --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}') -n onap
kubectl delete pod $(kubectl get pods -lapp=aai-graphadmin -n onap  --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}') -n onap