forge
Explore
Log in

Don't you dare go Hollow

The rclone migration one-liner as rclone actually spells it

Browse files at this commit

bc1a1da67d03b813c130d628154e4601681c3d95Ahmet Kaan GümüşParent: cae1d0e
  • docs
    • the rclone migration one-liner as rclone actually spells it
Show full message
docs(config): the rclone migration one-liner as rclone actually spells it

:s3,provider=Cloudflare,... with access_key_id/secret_access_key/
region=auto/endpoint — the shorthand that shipped was not a syntax
rclone knows.
config/in.tomlmodified+2 -2
@@ -67,5 +67,5 @@ client_secret = "in-dev-secret"
6767 #
6868 # Migrating an existing deployment's bytes into the bucket — database and
6969 # storage tree stay where they are; run once with the server stopped:
70-# rclone copy <storage>/files :r2,account=<id>,key=<id>:<bucket>/files
71-# rclone copy <storage>/thumbs :r2,account=<id>,key=<id>:<bucket>/thumbs
70+# rclone copy <storage>/files ":s3,provider=Cloudflare,access_key_id=<key id>,secret_access_key=<secret>,region=auto,endpoint=https://<account_id>.r2.cloudflarestorage.com:<bucket>/files"
71+# rclone copy <storage>/thumbs ":s3,provider=Cloudflare,access_key_id=<key id>,secret_access_key=<secret>,region=auto,endpoint=https://<account_id>.r2.cloudflarestorage.com:<bucket>/thumbs"