Prerequisite
If you want to restore AppCenter, you must install platform then run restore then install AppCenter services (appcenter namespace).
The PostgreSQL metadata, certificate, and service account that are stored in vault are restored as part of the backup.
-
From the client machine, run:
$ appctl platform restore --chart appcenter-restore-2.0.0+build.34.8c51239.tgz --localPath <location-of-backup-file> --namespace td-platform
To restore from a file that is currently present within AppCenter, remove localPath and provide a name with --name parameter. Use the --decKey VALUE if the password for encrypting the backup is different for the source cluster. You can find this key in application-services-override.yaml. This key is the same as the key used for encrypting the backup. If you restore from cluster 1 to cluster 2, make sure DNS entries are added for cluster 2 before you restore. - Install application services.