Importing/Exporting the App Configuration
This article describes how you can use MSP360 (CloudBerry) Backup CLI to import and/or export your application's configuration (for example, when you need to apply an existing configuration to a new MSP360 (CloudBerry) Backup instance).
Exporting the App Config
Execute the exportConfig command with the "-f" parameter to save your MSP360 (CloudBerry) Backup application's configuration to a specified location:
C:\Program Files\MSP360\MSP360 (CloudBerry) Backup>cbb exportConfig -f "C:\Config\config.cbbconfiguration"
Please ensure that the specified directory exists before executing this command. This command will not be able to overwrite an existing file and specifying such a file will result in an error.
Optionally, you can specify the following parameter to remove all encryption passwords that were specified for your backup plans from the created configuration file.
- -rp Removes all encryption passwords from the application configuration file.
Without specifying this parameter, you will be required to enter these passwords to be able to import a configuration that has any encryption passwords stored in it. In case you want to include encription password to the backup / restore plans into the exported configuration package, specify the following parameter:
- -ip yes Includes encription passwordsto the exported configuration.
Importing the App Config
Execute the importConfig command with the "-f" parameter to import an application's configuration from a specified file:
C:\Program Files\MSP360\MSP360 (CloudBerry) Backup>cbb importConfig -f "C:\Config\config.cbbconfiguration"
Please ensure that the specified file exists before executing this command.
When importing a configuration made from a MSP360 (CloudBerry) Backup instance installed on another computer, you can specify the following parameter to ensure that imported storage accounts will store backups in a different directory than the one used by storage accounts on another computer.
- -m Replaces the backup prefix in imported storage accounts with the current machine name.
Listing Backup Prefixes
You can find out which backup prefixes are available for a specific account by executing the prefixes command with the "-account" parameter as follows.
cbb prefixes -account "accountName"
See Restore from Another Computer for more information about using backup prefixes.