Prerequisite
If you want to restore AppCenter 1.10 using a backup from a 1.10 cluster, you must install AppCenter services (appcenter namespace) before restoring AppCenter 1.10.
If you want to restore AppCenter versions earlier than 1.10, you must uninstall AppCenter services (appcenter namespace) before restoring AppCenter.
PostgreSQL metadata and the vault are restored as part of the backup.
-
From the client machine, run:
$ appctl platform restore --chart appcenter-restore-1.10.0+build.21.149baa2.tgz --localPath <location-of-backup-file> --namespace td-platform --set global.rook.rookEnabled=false
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.