kxi backup

Back up Insights data and restore related commands.

Usage:

text

Copy
kxi backup [OPTIONS] COMMAND [ARGS]...

Options:

text

Copy
  --help  Show this message and exit.

kxi backup create-backup

Usage:

text

Copy
kxi backup create-backup [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT  Namespace where PVC's should be backed up.  [required]
  --bucket-name TEXT    Override stored object store bucket name
  --backup-name TEXT    Custom name of the backup  [required]
  --secret-name TEXT    Override K8s secret name read config from (defaults to
                        backup-credentials)
  --backup-postgres     Flag to enable Postgres backup
  --help                Show this message and exit.

kxi backup create-backup

Usage:

text

Copy
kxi backup create-backup [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT  Namespace where PVC's should be backed up.  [required]
  --bucket-name TEXT    Override stored object store bucket name
  --backup-name TEXT    Custom name of the backup  [required]
  --secret-name TEXT    Override K8s secret name read config from (defaults to
                        backup-credentials)
  --backup-postgres     Flag to enable Postgres backup
  --help                Show this message and exit.

kxi backup init-backup

Usage:

text

Copy
kxi backup init-backup [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT            Namespace where PVC's should be backed up.
                                  [required]
  --provider [s3|azure|gs]        Object storage provider  [required]
  --bucket-name TEXT              Object storage bucket name  [required]
  --restic-pw TEXT                Custom Restic repo password (data encryption
                                  key)  [required]
  --secret-name TEXT              K8s secret name to save backup configuration
                                  to (defaults to backup-credentials)
  --credentials CREDENTIALSFACTORY
                                  access credentials in a JSON format matching
                                  to provider.  [required]
  --help                          Show this message and exit.

kxi backup populate-snapshots

Usage:

text

Copy
kxi backup populate-snapshots [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT  Namespace where PVC's should be backed up.  [required]
  --bucket-name TEXT    Override stored object store bucket name
  --secret-name TEXT    Override K8s secret name read config from (defaults to
                        backup-credentials)
  --help                Show this message and exit.

kxi backup restore-postgres

Usage:

text

Copy
kxi backup restore-postgres [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT  Namespace where PVC's should be backed up.  [required]
  --bucket-name TEXT    Override stored object store bucket name
  --snapshot-id TEXT    Snapshot ID of a backup to restore  [required]
  --secret-name TEXT    Override K8s secret name read config from (defaults to
                        backup-credentials)
  --help                Show this message and exit.

kxi backup restore-pvc

Usage:

text

Copy
kxi backup restore-pvc [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT  Namespace where PVC's should be backed up.  [required]
  --bucket-name TEXT    Override stored object store bucket name
  --restore-name TEXT   Restore job name  [required]
  --snapshot-id TEXT    Snapshot ID of a backup to restore  [required]
  --secret-name TEXT    Override K8s secret name read config from (defaults to
                        backup-credentials)
  --target-pvc TEXT     PVC name to restore snapshot to  [required]
  --help                Show this message and exit.

kxi backup watch

Usage:

text

Copy
kxi backup watch [OPTIONS]

Options:

text

Copy
  -n, --namespace TEXT          Namespace where PVC's should be backed up.
                                [required]
  --task-type [Backup|Restore]  Task type to watch  [required]
  --task-name TEXT              User defined Backup or Restore name to watch
                                [required]
  --help                        Show this message and exit.