{
  "id": "redis-di-dump-support-package",
  "title": "redis-di dump-support-package",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di-dump-support-package/",
  "summary": "Dumps RDI support package",
  "tags": [
    "redis-di"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "c66558af3d906478874c1bb02dcfda3dd1f0191d7d9a70f12d98d70f78fe1479",
  "sections": [
    {
      "id": "usage",
      "title": "Usage",
      "role": "syntax",
      "text": "[code example]"
    },
    {
      "id": "options",
      "title": "Options",
      "role": "parameters",
      "text": "- `log_level`:\n  - Type: Choice(['TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'])\n  - Default: `info`\n  - Usage: `--log-level\n-l`\n\n- `rdi_namespace`:\n  - Type: STRING\n  - Default: `rdi`\n  - Usage: `--rdi-namespace`\n\n  RDI Kubernetes namespace\n\n- `rdi_host` (REQUIRED):\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-host`\n\n  Host/IP of RDI Database\n\n- `rdi_port` (REQUIRED):\n  - Type: <IntRange 1<=x<=65535>\n  - Default: `none`\n  - Usage: `--rdi-port`\n\n  Port of RDI Database\n\n- `rdi_user`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-user`\n\n  RDI Database Username\n\n- `rdi_password`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-password`\n\n  RDI Database Password\n\n- `rdi_key`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-key`\n\n  Private key file to authenticate with\n\n- `rdi_cert`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-cert`\n\n  Client certificate file to authenticate with\n\n- `rdi_cacert`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-cacert`\n\n  CA certificate file to verify with\n\n- `rdi_key_password`:\n  - Type: STRING\n  - Default: `none`\n  - Usage: `--rdi-key-password`\n\n  Password for unlocking an encrypted private key\n\n- `directory`:\n  - Type: STRING\n  - Default: `.`\n  - Usage: `--dir`\n\n  Directory where the support file should be generated\n\n- `dump_rejected`:\n  - Type: INT\n  - Default: `none`\n  - Usage: `--dump-rejected`\n\n  Dumps rejected records\n\n- `trace_timeout`:\n  - Type: <IntRange 1<=x<=600>\n  - Default: `none`\n  - Usage: `--trace-timeout`\n\n  Stops the trace after exceeding this timeout (in seconds)\n\n- `max_change_records`:\n  - Type: <IntRange x>=1>\n  - Default: `10`\n  - Usage: `--max-change-records`\n\n  Maximum traced change records\n\n- `trace_only_rejected`:\n  - Type: BOOL\n  - Default: `false`\n  - Usage: `--trace-only-rejected`\n\n  Trace only rejected change records\n\n- `log_days`:\n  - Type: <IntRange x>=0>\n  - Default: `2`\n  - Usage: `--log-days`\n\n  Number of days to look back for log files\n\n- `help`:\n  - Type: BOOL\n  - Default: `false`\n  - Usage: `--help`\n\n  Show this message and exit."
    },
    {
      "id": "cli-help",
      "title": "CLI help",
      "role": "content",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "usage-ex0",
      "language": "plaintext",
      "code": "Usage: redis-di dump-support-package [OPTIONS]",
      "section_id": "usage"
    },
    {
      "id": "cli-help-ex0",
      "language": "plaintext",
      "code": "Usage: redis-di dump-support-package [OPTIONS]\n\n  Dumps RDI support package\n\nOptions:\n  -l, --log-level [TRACE|DEBUG|INFO|WARNING|ERROR|CRITICAL]\n                                  [default: INFO]\n  --rdi-namespace TEXT            RDI Kubernetes namespace  [default: rdi]\n  --rdi-host TEXT                 Host/IP of RDI Database  [required]\n  --rdi-port INTEGER RANGE        Port of RDI Database  [1<=x<=65535;\n                                  required]\n  --rdi-user TEXT                 RDI Database Username\n  --rdi-password TEXT             RDI Database Password\n  --rdi-key TEXT                  Private key file to authenticate with\n  --rdi-cert TEXT                 Client certificate file to authenticate with\n  --rdi-cacert TEXT               CA certificate file to verify with\n  --rdi-key-password TEXT         Password for unlocking an encrypted private\n                                  key\n  --dir TEXT                      Directory where the support file should be\n                                  generated  [default: .]\n  --dump-rejected INTEGER         Dumps rejected records\n  --trace-timeout INTEGER RANGE   Stops the trace after exceeding this timeout\n                                  (in seconds)  [1<=x<=600]\n  --max-change-records INTEGER RANGE\n                                  Maximum traced change records  [x>=1]\n  --trace-only-rejected           Trace only rejected change records\n  --log-days INTEGER RANGE        Number of days to look back for log files\n                                  [default: 2; x>=0]\n  --help                          Show this message and exit.",
      "section_id": "cli-help"
    }
  ]
}
