This guide explains how to backup and restore your Shutter API DAppNode package data.
DAppNode provides a built-in backup functionality through the DAppNode UI. Users can create backup archives directly from the interface, which generates a compressed tar file that should be downloaded for safekeeping.
The package automatically backs up the following critical data:
- Keyper Configuration (
/keyper/config): Contains your Shutter Keyper settings and configuration files - Chain Configuration (
/chain/config): Contains your Shutter Chain node configuration - Database Data (
/var/lib/postgresql/data): Contains the PostgreSQL database with your Keyper's state - Metrics Configuration (
/config/user): Contains your metrics service configuration
- Navigate to your DAppNode UI
- Go to the Shutter API package
- Click on the "Backup" option
- Wait for the backup process to complete
- Download the generated backup file to a secure location
The restore process requires a two-step approach:
The DAppNode package must be installed first through the DAppNode UI. This creates a fresh installation with default configuration.
Once installation is complete, the previously downloaded backup file can be restored to the newly installed package. This will restore all your previous data.
After restoration, the environment variables in the restored deployment will match those configured during the package installation of restore process. This includes:
KEYPER_NAME: Your unique keyper identifierSHUTTER_API_NODE_PRIVATEKEY: Your Ethereum private keyETHEREUM_WS: Your Ethereum WebSocket RPC endpointSHUTTER_PUSH_METRICS_ENABLED: Metrics push configurationPUSHGATEWAY_URL: Metrics push gateway URLPUSHGATEWAY_USERNAME: Push gateway authenticationPUSHGATEWAY_PASSWORD: Push gateway authentication
Warning: In order to add the values of the backed up installation, these should be added manually and can be found in two separate locations:
-
/metrics-config/settings.envwill contain:KEYPER_NAMEPUSHGATEWAY_URLPUSHGATEWAY_USERNAMEPUSHGATEWAY_PASSWORD(if any)
-
/keyper-config/keyper.tomlwill contain:SHUTTER_API_NODE_PRIVATEKEYETHEREUM_WSSHUTTER_PUSH_METRICS_ENABLEDHTTPEnabled
Note: At the moment, whether logs were enabled is not backed up.
- The backup archive contains previous configuration files that will include sensitive data
- Your private keys and configuration are stored in the backup
- Store backup files in a secure, encrypted location
- Never share backup files with untrusted parties
If you encounter issues during backup or restore:
- Ensure you have sufficient disk space for backup creation
- Verify that all services are running before creating a backup
- Check that the backup file was downloaded completely
- Ensure the package is fully installed before attempting restore
- Contact DAppNode support if restore fails