How to Migrate Data to Stook Using Rclone
Step-by-step guide to migrate data to Stook using Rclone.
Use Rclone to migrate objects from any S3-compatible storage to Medianova Stook Object Storage. Rclone is a good fit for large transfers and resumable copies.
Prerequisites
Rclone installed on your machine Download: https://rclone.org/downloads/
Source S3 credentials:
Endpoint URL
Access Key
Secret Key
Bucket name (and optional prefix)
Stook credentials:
Server (endpoint, e.g.
https://xxxxx.mncdn.com)Access Key
Secret Key
Bucket name
Credentials are private. Do not share them.
Need keys or endpoint details? Start with Getting Started with Stook and Manage Access Keys.
Migration steps
Configure your source remote
Run the config wizard:
Create a new remote. Use the s3 backend. Enter your source endpoint and credentials.
Configure your Stook remote
Run rclone config again. Create a second remote, for example stook.
Use the s3 backend. Set your Stook endpoint (for example https://xxxxx.mncdn.com). Enter your Stook Access Key and Secret Key.
If you see signature or redirect errors, enable path-style addressing for the Stook remote. In Rclone, this is usually force_path_style = true.
Validate connectivity
List buckets or prefixes to confirm auth and endpoint settings:
Copy objects
Copy a full bucket:
Copy a prefix only:
Use copy to only add/update objects. Use sync to make the destination match the source (including deletions).
Tune and monitor large transfers
Increase parallelism when you need speed:
Write logs for audits and retries:
Verify migrated data
Run a post-copy verification:
Rclone compares object listings and, when supported, hashes. Hash checks can vary across S3 implementations.
Troubleshooting
Auth error (403/401): Re-check Access Key, Secret Key, and endpoint URL.
Redirect/signature mismatch: Enable path-style addressing (
force_path_style = true).Slow transfer: Increase
--transfersand verify network throughput.Missing objects: Re-run
rclone copy. It is safe and incremental.
References
Last updated
Was this helpful?