This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
Jupyter notebooks.
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.
This guide can help you create a backup of your Dash Enterprise instance and use it to restore Dash Enterprise to a previous state in the same namespace or a new namespace.
The officially supported way to back up Dash Enterprise is to use the solution that comes natively with Dash Enterprise.
Using backup and restore for Dash Enterprise, you can manage backups and perform restores directly from the Dash Enterprise interface.
All core system components, including their configurations, are included in Dash Enterprise backups. For example, Keycloak realm settings, identity provider integration (SSO), groups, and users are included.
In its current implementation, backup and restore for Dash Enterprise does not include user-created resources like Dash apps and workspaces. It is possible to recover Dash apps and workspaces from the Dash Enterprise App Manager after a restore, but if any Dash apps had data inside a managed Redis or Postgres database, or a persistent filesystem, then this data will be lost. In a future version of backup and restore for Dash Enterprise, user-created resources will be backed up.
When backups are created, they are stored in a cloud object storage service that is external to Dash Enterprise and that you manage. Supported storage service providers are AWS, Azure, and GCP.
The solution uses a combination of Restic (for data movement), pgBackRest (for the system Postgres backup), as well as Plotly-developed APIs.
kubectl access to the cluster that Dash Enterprise is running in.admin role in Dash Enterprise.In this step, you’ll create a namespace-scoped Kubernetes secret that authorizes connection to the storage service. The command for creating this secret differs depending on the storage service provider.
To create the Kubernetes secret, you’ll need the access token or key for the storage account. If you don’t already have it on hand, obtain it from your service provider.
You can encrypt Dash Enterprise backups using a secure passphrase. When you set a passphrase, Restic encrypts your backups before sending them to your cloud storage. Setting a passphrase is recommended, but not strictly required if you prefer to rely solely on your bucket at-rest encryption.
Important information about passphrase encryption
If using a passphrase, store it securely according to your organization’s best practices. If the passphrase is changed or deleted, the system will detect a mismatch and it will not be possible to restore.
Create the Kubernetes secret using one of the following example commands.
In this step, you’ll define the location of your bucket and use the secret from the previous step to allow Dash Enterprise to connect to it.
Dash Enterprise can only connect to one bucket at a time. However, the same bucket can be synced to more than one Dash Enterprise instance (and will need to if restoring to a different namespace).
The config can be changed after initially saving it, except during moments when backups are being taken.
You can create backups manually and/or on a schedule.
If you have already defined a backup schedule while setting up the storage config, then backups will be created automatically according to the schedule.
To define a backup schedule if you haven’t already, select Edit Configuration and then Schedule Backups.
Tip: Backup and restore for Dash Enterprise protects data on a best-effort basis, but to further help protect the data integrity, we recommend that you schedule and create backups when there is minimal activity on Dash Enterprise.
It is not currently possible to cancel backup operations.
You can create manual backups in addition to any automated backups created via a schedule.
To create a manual backup:
When complete, your new manual backup is added to the Backups list.
The time it takes to restore Dash Enterprise varies depending on the amount of data, but in most cases, a restore takes about 10 to 15 minutes.
You can restore Dash Enterprise to the same namespace or to a new namespace.
helm install command and the values override file match the original installation).To perform a restore: