{
  "schema_version": 2,
  "id": "operate/rs/references/cli-utilities/crdb-cli/crdb/get",
  "title": "crdb-cli crdb get",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/crdb-cli/crdb/get/",
  "summary": "Shows the current configuration of an Active-Active database.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2023-12-14T15:27:49+01:00",
  "page_type": "content",
  "content_hash": "9cd1e1d271702e2b46cfdccd5dced592eb8e8b0b660a6d1999f36ebb145a9d21",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Shows the current configuration of an Active-Active database.\n\n[code example]"
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "| Parameter           | Value  | Description                         |\n|---------------------|--------|-------------------------------------|\n| crdb-guid  | string | The GUID of the database (required) |"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns the current configuration of the database."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "sh",
      "code": "crdb-cli crdb get --crdb-guid <guid>",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ crdb-cli crdb get --crdb-guid d84f6fe4-5bb7-49d2-a188-8900e09c6f66\nCRDB-GUID: d84f6fe4-5bb7-49d2-a188-8900e09c6f66\nName: database1\nEncryption: False\nCausal consistency: False\nProtocol version: 1\nFeatureSet version: 5\nModules: []\nDefault-DB-Config:\n  memory_size: 1073741824\n  port: 12000\n  replication: True\n  shard_key_regex: [{'regex': '.*\\\\{(?<tag>.*)\\\\}.*'}, {'regex': '(?<tag>.*)'}]\n  sharding: True\n  shards_count: 1\n  tls_mode: disabled\n  rack_aware: None\n  data_persistence: None\n  authentication_redis_pass: None\n  authentication_admin_pass: None\n  oss_sharding: None\n  oss_cluster: None\n  proxy_policy: None\n  shards_placement: None\n  oss_cluster_api_preferred_ip_type: None\n  bigstore: None\n  bigstore_ram_size: None\n  aof_policy: None\n  snapshot_policy: None\n  max_aof_load_time: None\n  max_aof_file_size: None\nInstance:\n  Id: 1\n  Cluster:\n    FQDN: cluster1.redis.local\n    URL: https://cluster1.redis.local:9443\n    Replication-Endpoint: <Default>\n    Replication TLS SNI: <Default>\n  Compression: 3\n  DB-Config:\n    authentication_admin_pass: \n    replication: None\n    rack_aware: None\n    memory_size: None\n    data_persistence: None\n    tls_mode: None\n    authentication_redis_pass: None\n    port: None\n    shards_count: None\n    shard_key_regex: None\n    oss_sharding: None\n    oss_cluster: None\n    proxy_policy: None\n    shards_placement: None\n    oss_cluster_api_preferred_ip_type: None\n    bigstore: None\n    bigstore_ram_size: None\n    aof_policy: None\n    snapshot_policy: None\n    max_aof_load_time: None\n    max_aof_file_size: None\nInstance:\n  Id: 2\n  Cluster:\n    FQDN: cluster2.redis.local\n    URL: https://cluster2.redis.local:9443\n    Replication-Endpoint: <Default>\n    Replication TLS SNI: <Default>\n  Compression: 3\n  DB-Config:\n    authentication_admin_pass: \n    replication: None\n    rack_aware: None\n    memory_size: None\n    data_persistence: None\n    tls_mode: None\n    authentication_redis_pass: None\n    port: None\n    shards_count: None\n    shard_key_regex: None\n    oss_sharding: None\n    oss_cluster: None\n    proxy_policy: None\n    shards_placement: None\n    oss_cluster_api_preferred_ip_type: None\n    bigstore: None\n    bigstore_ram_size: None\n    aof_policy: None\n    snapshot_policy: None\n    max_aof_load_time: None\n    max_aof_file_size: None",
      "section_id": "example"
    }
  ]
}
