rpk cluster storage mount
Mount a topic to the Redpanda cluster from tiered-storage.
This command mounts a topic in the Redpanda cluster using log segments stored in Tiered Storage.
You can optionally rename the topic using the --to
flag.
Requirements:
-
Log segments for the topic must be available in Tiered Storage.
-
A topic with the same name must not already exist in the cluster.
Examples
Mounts topic <my-typic
> from Tiered Storage to the cluster in the my-namespace:
rpk cluster storage mount <my-topic>
Mount topic <my-topic>
from Tiered Storage to the cluster in the <my-namespace>
with <my-new-topic>
as the new topic name:
rpk cluster storage mount <my-namespace>/<my-topic> --to <my-namespace>/<my-new-topic>
Flags
Value | Type | Description |
---|---|---|
|
string |
New namespace/topic name for the mounted topic (optional). |
|
- |
Help for mount. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |