Overview
Copying configuration between two instances of DPOD is sometimes required if you wan to sync a DR Instance or reinstall DPOD on a different hardware.
The following method will allow users to export configuration from one instance of DPOD to another.
The configuration is divided into these categories and users can choose which categories to export:
Name | Configuration | UI Location |
---|---|---|
Reports | Reports queries and metadata. Not including executions and outcomes. | UI Console → Reports / Alerts → Reports |
Alerts and Health Metrics. | Alerts and Health Metrics. Not including executions and outcomes. | UI Console → Reports / Alerts → Alerts |
LDAP | LDAP connections data. | UI Console → Manage → Customize → System Parameters (LDAP Category) |
System Parameters. | All System parameters | UI Console → Manage → Customize → System Parameters |
System Parameters Category | All System parameters related to a category provided by the user. | UI Console → Manage → Customize → System Parameters (Category column) |
Users and Roles | User, Roles and Custom Roles managed by DPOD. | UI Console → Manage → Security |
Maintenance Plans. | Metadata and plans of Backup, Synchronization. Firmware Upgrade and Appliance Migrations maintenance task. | UI Console → Manage → Maintenance |
Prerequisites
Two active DPOD instances with the same version, deployment profile (e.g.: minimal, low, high).
Access to server CLI with root privileges.
FTP / SSH access to allow fetching the export tar from the origin DPOD server.
FTP / SSH access to allow uploading the export tar to the target DPOD server.
Configuration Export
To export configuration
Run the export command on the origin DPOD server CLI (see examples bellow).
Copy the export tar file and the md5 file created by the command to the target server.
Export Examples
Export all the configuration (recommended):
/app/scripts/app_configuration_export.sh -t <path to export tar file>
Export selected categories (one or more can be used here):
/app/scripts/app_configuration_export.sh -t <path to export tar file> --devices --reports
Export a specific system parameters category:
/app/scripts/app_configuration_export.sh -t <path to export tar file> --system-parameters-category 'Email SMTP'
Show help and list of all available categories:
/app/scripts/app_configuration_export.sh -h
Configuration Import
To import configuration
Import the export tar file and the md5 file created by the command to the target server.
Run the import command on the target DPOD server CLI:
/app/scripts/app_configuration_import.sh -f <path to export tar file> -m <path to export tar md5 file>
Run the following command for help and list of available options:
/app/scripts/app_configuration_export.sh -h