rpk cluster storage

Manage cluster storage, including mounting and unmounting topics from Tiered Storage.

Usage

rpk cluster storage [flags]

Subcommands

Command Description

rpk cluster storage cancel-mount

Cancels a mount/unmount operation on a topic. Use the migration ID that is emitted when the mount or unmount operation is executed.

rpk cluster storage list-mount

List mount/unmount operations on a topic to the Redpanda cluster from Tiered Storage. You can also filter the list by state using the --filter flag.

rpk cluster storage list-mountable

List topics that are available to mount from object storage. This command displays topics that exist in object storage and can be mounted to your Redpanda cluster.

rpk cluster storage mount

Mount a topic from Tiered Storage, making it available for reads.

rpk cluster storage restore

Interact with the topic restoration process. This command is used to restore topics from the archival bucket, which can be useful for disaster recovery or if a topic was accidentally deleted.

rpk cluster storage status-mount

Check the status of a mount or unmount operation for a topic in Tiered Storage.

rpk cluster storage unmount

Unmount a topic, removing it from local storage while preserving data in Tiered Storage.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.