Configure Settings (CLI 2.0)
Configure settings of Backup for Linux using CLI 2.0 commands.
All application settings are configured using the following command: ./cbbV2 config set
Command parameters:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set
MSP360 Backup Command Line Interface started
bandwidthcloud - Bandwidth on backup to cloud storages
bandwidthlocal - Bandwidth on backup to local storages
chunkpath - Temporary chunks path, used on multipart upload
chunksize - Default chunk size
connection - Connection settings
ignoressl - Ignore SSL certificates
logging - Logging settings
memoryusage - Max allowed memory usage for multi threaded operations
notification - Notification email and user name
proxy - Proxy settings
queuesize - Queue size for Glacier restores
retentionpolicy - Global retention policy settings
symlinksbackup - Symlinks backup mode
threadcount - Thread count
webaccess - Web Interface settings
Configure Symlink Backup
To configure symlinks settings, execute the following command which has on 1 parameter with 5 variables:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set symlinksbackup
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-m, --mode <mode> Ignore, SymlinkOnly, CurrentPlace, OriginalPlaces,
OriginalPlaceAndSymlink
Memory usage
To limit the amount of memory usage (the default is 100 MB), execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set memoryusage
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <value> Memory usage (value in MBytes)
The memory usage value is set in MB.
Ignore SSL Certificates
To ignore SSL certificates, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set ignoressl
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <yes | no> Value
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set ignoressl -v "yes"
MSP360 Backup Command Line Interface started
Ignore SSl certificates: yes
Success.
Proxy Settings
To configure proxy settings, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set proxy
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
--address <proxyAddress> Proxy address
--password <proxyPassword> Proxy password
--port <proxyPort> Proxy port
--user <proxyUser> Proxy user
--use-proxy <proxyType> Use proxy. Possible values: true/false
--authentication <useAuthentication> Use authentication
Chunk Size
To specify the default chunk size for multi-part upload, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set chunksize
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <chunkSize> Chunk size value
The chunk size value is specified in bytes.
Directory for Temporary Chunks
To specify the directory where file chunks will be temporarily kept while being processed (the default is /tmp), execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set chunkpath
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <value> Temporary chunk path
Possible values: a valid path to a directory.
Queue Size
To specify the default queue size for restoring from long-term storage (Glacier-Flexible Retrieval, Deep Archive) (the default is 2000), execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set queuesize
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <value> Queue size
It takes approximately four hours to list files in the Glacier family storage classes. If the number of files to restore exceeds the queue size, you will repeatedly wait for four hours every time CloudBerry Backup restores one queue. In other words, if queue size equals 2000, and the number of files to be restored is 6000, you will wait for at least 12 hours to complete a restore
Set Number of Threads
To set the number of threads, use the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set threadcount
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-v, --value <value> Thread count
Possible values: integer, >0
Limit Bandwidth to Cloud Storage
To limit the bandwidth to cloud storage, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set bandwidthcloud
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-l, --limit <bandwidthLimit> u(unlimited), value in KB/sec
Possible values:
- bandwidth in kilobytes or unlimited (-u)
Limit Bandwidth to Local Storage
To the bandwidth to local storage, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set bandwidthlocal
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-l, --limit <bandwidthLimit> u(unlimited), value in KB/sec
where:
Possible values:
- bandwidth in kilobytes or unlimited (-u)
Email Notifications
To configure default values for email notifications, execute the following command:
ubuntuuser@ubuntu:/opt/local/MSP360 Backup/bin$ ./cbbV2 config set notification
MSP360 Backup Command Line Interface started
Usage: /opt/local/MSP360 Backup/raw_bin/cbbCommandLineV2 [options]
Options:
-m, --mail <email> Email
-u, --user <userName> User name