Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.65 KB

File metadata and controls

66 lines (46 loc) · 1.65 KB

backup-service-settings

Manage the backup service settings

SYNOPSIS

_couchbase-cli backup-service [--cluster <url>] [--username <user>]
    [--password <password>] settings [--get] [--set] [--history-rotation-period <days>]
    [--history-rotation-size <mebibytes>]

DESCRIPTION

Manage the backup service settings

OPTIONS

--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.

EXAMPLES

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

ENVIRONMENT AND CONFIGURATION VARIABLES

SEE ALSO

man:couchbase-cli-backup-service[1]