Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Enterprise. Switch to the latest stable version.
restore - Load SSTables from a designated bucket in object store into a specified keyspace or table
Note that status of restore can be checked for user_task_ttl
seconds after the operation is done.
You can set the ttl using nodetool tasks user-ttl.
If --nowait
flag is not set, the command relies on user_task_ttl
internally.
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
--endpoint <endpoint> --bucket <bucket>
--prefix <prefix>
--keyspace <keyspace>
--table <table>
[--nowait]
<sstables>...
nodetool restore --endpoint s3.us-east-2.amazonaws.com --bucket bucket-foo --prefix ks/cf/24601 --keyspace ks --table cf \
scylla/ks/cf/34/me-3gdq_0bki_2dy4w2gqj6hoso4mw1-big-TOC.txt \
scylla/ks/cf/34/me-3gdq_0bki_2dipc1ysb2x2a3btgh-big-TOC.txt \
scylla/ks/cf/42/me-3gdq_0bki_2s3e829t3gyq994yjl-big-TOC.txt
-h <host>
or --host <host>
- Node hostname or IP address.
--endpoint
- Name of the configured object storage endpoint to load SSTables from.
This should be configured as per the object storage configuration instructions.
--bucket
- Name of the bucket to load SSTables from
--prefix
- The share prefix for object keys of backed up SSTables
--keyspace
- Name of the keyspace to load SSTables into
--table
- Name of the table to load SSTables into
--nowait
- Don’t wait on the restore process
<sstables>
- Remainder of keys of the TOC (Table of Contents) components of SSTables to restore, relative to the specified prefix
See also
Was this page helpful?
On this page