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
Configure Symlink Backup
To configure symlinks settings, execute the following command:
./cbbV2 config set symlinksbackup --mode "modevalue"
where:
Parameter | Description | Value |
---|---|---|
-mode | Symlink backup settings | Ignore, SymlinkOnly, CurrentPlace, OriginalPlaces, OriginalPlaceAndSymlink |
Memory usage
To limit the amount of memory usage (the default is 100 MB), execute the following command:
./cbbV2 config set memoryusage --value "value"
The memory usage value is set in MB.
Ignore SSL Certificates
To ignore SSL certificates, execute the following command:
./cbbV2 config set ignoressl --value "value"
Possible values:
- yes
- no
Proxy Settings
To configure proxy settings, execute the following command:
./cbbV2 config set proxy --address "proxy IP address" --port "port number" --use-proxy true --authentication "value" -- user "Username" --password "Password"
Parameter | Description | Value |
---|---|---|
--address | Proxy address | String |
--port | Proxy port | Number |
--authentication | enables/disables authentication on proxy server | true (default), false |
--user | Username on proxy | String |
--password | Password on proxy | String |
--use-proxy | Enables/disables proxy | true, false |
Chunk Size
To specify the default chunk size for multi-part upload, execute the following command:
./cbbV2 config set chunksize "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:
./cbbV2 config set chunkpath "Value"
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:
./cbbV2 config set queuesize "Value"
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:
./cbbV2 config set threadcount "Value"
Possible values: integer, >0
Limit Bandwidth to Cloud Storage
To limit the bandwidth to cloud storage, execute the following command:
./cbbV2 config set bandwidthcloud --limit "Value"
Possible values:
- bandwidth in kilobytes or unlimited (-u)
Limit Bandwidth to Local Storage
To the bandwidth to local storage, execute the following command:
./cbbV2 config set bandwidthlocal --limit "Value"
where:
Possible values:
- bandwidth in kilobytes or unlimited (-u)
Email Notifications
To configure default values for email notifications, execute the following command:
./cbbV2 config set notification --mail "email address" --user "Displayed user name"