Dash Enterprise has improved support for Snapshots, which are point-in-time backups initiated via the Server Manager and intended to be used as restore points when completing a fresh installation on a new server.
Snapshot duration takes approximately 10 minutes on a server using a solid-state drive and writing to its own local filesystem (not recommended for production systems). You may achieve further performance improvements if your Dash Enterprise instance is on AWS EC2 and you set up an AWS S3 storage bucket as the snapshot file destination.
Browse to your Dash Enterprise Server Manager and click Settings
Under Daily Snapshots, check Enable Snapshots
Click the gear icon in the top right, then Console Settings in the resulting drop-down menu
Under Snapshot & Restore, configure your backup strategy according to your business needs; we recommend the following:
Snapshot File Destination: avoid using Local for production systems
Snapshot Timeout (optional): set to 30 minutes
There are two options for taking snapshots:
Automatically: in the Server Manager Console Settings, check Enable Automatic Scheduled Snapshots and select your preferred frequency
Manually: on the Server Manager Dashboard, click Start Snapshot
While a snapshot is in progress, you may continue using Dash Enterprise as normal.
If a snapshot is interrupted or otherwise does not complete, you may retry manually with Start Snapshot. Automatic scheduled snapshots do not retry automatically upon failure and require a manual retry.
Dash Enterprise only supports restoring snapshots during installation on a new server. Restoring in place with an existing installation is not supported.
SSH to your target server and run the Plotly installation script:
curl -sSL https://get.plot.ly | sudo bash
Browse to the IP address generated by the script and click Continue to Setup
Accept the self-signed certificate and proceed to the next page
Enter the Hostname of your server and upload the key/certificate files you wish to use, or proceed with a self-signed certificate
At the Upload Your License page, click Restore from Snapshot
Enter the location of your snapshot file and click Browse Snapshots
When your snapshot list appears, click Restore beside the snapshot you want to restore and wait for the snapshot metadata to load
When prompted, unlock the admin console and proceed past the Preflight Checks
At Restore Cluster, click Restore, then monitor progress from the Server Manager Dashboard
When the app reports it is ready, SSH into your server and rebuild your Dash apps:
docker exec -it dash bashfor service in $(dokku --quiet redis:list); do dokku redis:start $service; donefor service in $(dokku --quiet postgres:list); do dokku postgres:start $service; donedokku ps:rebuild --all
Your restored Dash Enterprise instance is now ready for use.