Manage the backup service settings
_couchbase-cli backup-service [--cluster <url>] [--username <user>]
[--password <password>] settings [--get] [--set] [--history-rotation-period <days>]
[--history-rotation-size <mebibytes>]
- --get
-
Retrieve current backup service settings.
- --set
-
Set backup service settings.
- --history-rotation-size <mebibytes>
-
The history size in mebibytes at which it should be rotated. Valid values are between 5 and 200.
- --history-rotation-period <days>
-
The period in days at which the history should be rotated. Valid values are between 1 and 365.
To retrieve the backup service settings:
$ couchbase-cli backup-service -c 127.0.0.1:8091 -u Administrator -p password \ settings --get -- Backup service configuration -- History rotation size: 70 MiB History rotation period: 28 days
To set the backup service configuration use the --set flag and any of the configuration flags for example:
$ couchbase-cli backup-service -c 127.0.0.1:8091 -u Administrator -p password \ settings --set --history-rotation-size 70 --history-rotation-period 365 SUCCESS: Backup service settings set
man:couchbase-cli-backup-service[1]