An important part of the lifecycle of an application is backup and restore. The Admin Console can be used to create and manage your storage destination and schedule, and to perform and monitor the backup and restore process. This feature is only available for licenses that have the Allow Snapshots feature enabled.
Currently, there are two types of snapshots:
- Full Snapshots (Instance)
- Partial Snapshots (Application)
Snapshots are useful for rollback and disaster recovery scenarios. They are not intended to be used for application migration scenarios.
Full Snapshots (Recommended)
Full snapshots back up the Admin Console and all application data.
They can be used for full Disaster Recovery; by restoring over the same instance, or into a new cluster.
There are two ways to create a full snapshot. First, make sure that your license has the snapshots feature enabled, then:
- Using the KOTS CLI backup command.
- Using the Admin Console (check screenshot below).
After a Full Snapshot has been created, you can get a command to do a restore by clicking the restore icon (check screenshot below).
There are two available options for doing a restore. You can either do a full restore which will restore the Admin Console and the application with all of its data, or you can choose to do a partial restore of just your application and its data.
If you have multiple applications within the KOTS Admin Console, each application should have a backup resource in order to be included in the Full Snapshot backup.
Partial snapshots only back up applications volumes and application manifests; they do not back up the Admin Console or the metadata about an application.
They are great for capturing information before deploying a new release, in case you need to roll back, but they are not suitable for full disaster recovery.
For backups that give you the ability to do full Disaster Recovery, use Full Snapshots.
Partial snapshots can only be created via the Admin Console (check screenshot below).