The "Download Backup" button in the Panel Modules section provides a powerful way to transfer your configurations between different Cockpit installations. Here's how this feature works and how you can use it:
What the Backup Contains
- The backup creates a ZIP file containing all the SQLite databases from each module you've installed
- These databases store all your custom settings, configurations, and user data for each panel
- Each module's database is individually packaged within the ZIP file
- The backup preserves all customizations you've made to your panels
How to Use the Backup Feature
- Create a Backup
- Navigate to the Panel Modules section in your Superadmin dashboard
- Click the "Download Backup" button
- Save the ZIP file to your local computer
- Transfer to Another Installation
- Install the same modules on your target Cockpit installation
- Extract the backup ZIP file on your local computer
- Upload the database files to the corresponding locations on your new server
- Typically, these should be placed in the
/panel/[module_name]/includes/db/directory of your modules
Benefits of Using the Backup Feature
- Time-Saving: Quickly replicate your carefully configured panels without manual reconfiguration
- Consistency: Ensure identical settings across multiple Cockpit installations
- Migration: Easily move from one server to another while preserving all your work
- Disaster Recovery: Keep regular backups to protect against data loss
- Template Creation: Create a "master template" configuration that can be deployed to multiple installations
Important Considerations
- Ensure both the source and target installations have the same module versions for best compatibility
- Back up your target installation's databases before overwriting them with restored files
- Some modules may have server-specific settings that might need adjustment after restoration
- The backup doesn't include the core Cockpit database, only module-specific databases
This backup feature is especially valuable for administrators managing multiple Cockpit installations who want to maintain consistent configurations across different servers or for those setting up a new server with pre-configured modules.