From ab63201c803eb8dcf1e3165d3299a878d0a2ff84 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 9 May 2025 22:04:18 +0200 Subject: [PATCH] fix aws s3 cp command --- docs/content/guides/operator/snapshots.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guides/operator/snapshots.mdx b/docs/content/guides/operator/snapshots.mdx index c3597a0b769ec..56c1c6c6ef576 100644 --- a/docs/content/guides/operator/snapshots.mdx +++ b/docs/content/guides/operator/snapshots.mdx @@ -45,7 +45,7 @@ To restore from a RocksDB snapshot, follow these steps: 1. Place the snapshot into the directory that the `db-path` value points to in your fullnode.yaml file. For example, if the `db-path` value points to `/opt/sui/db/authorities_db/full_node_db` and you want to restore from epoch 10, then copy the snapshot to the directory with this command: You can use the aws cli (provided you have credentials to associate with the download): - `aws s3 cp s3:///epoch_10 /opt/sui/db/authorities_db/full_node_db/live --recursive --request-payer`. + `aws s3 cp s3:///epoch_10 /opt/sui/db/authorities_db/full_node_db/live --recursive --request-payer requester`. An alternative is to use `sui-tool` to copy the files. The following example command is for reading from a snapshot bucket that you host: ```