- Docs
- Data Platform
- Self-Managed
- Streaming
- Reference
- rpk Commands
- rpk cluster
- rpk cluster storage
- rpk cluster storage mount/unmount
- rpk cluster storage unmount
rpk cluster storage unmount
Unmount a topic from the Redpanda cluster and secure it in tiered-storage.
This command performs an operation that:
-
Rejects all writes to the topic.
-
Flushes data to Tiered Storage.
-
Removes the topic from the cluster.
Key Points:
-
During unmounting, any attempted writes or reads will receive an
UNKNOWN_TOPIC_OR_PARTITIONerror. -
The unmount operation works independently of other topic configurations like
remote.delete=false. -
After unmounting, the topic can be remounted to this cluster or a different cluster if the log segments are moved to that cluster’s Tiered Storage.
Examples
Unmount topic '<my-topic>' from the cluster in the '<my-namespace>':
rpk cluster storage unmount <my-namespace>/<my-topic>
Flags
| Value | Type | Description |
|---|---|---|
|
- |
Help for unmount. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |