Copying Images and Movies to OCI Object Storage using Rclone

  • Replace YOUR_S3_ACCESS_KEY_ID with your AWS S3 access key id and YOUR_S3_SECRET_ACCESS_KEY with your S3 secret access key. Change any other parameters to what you want, such asus-east-1 with the AWS Region where your S3 bucket is located.
  • Replace YOUR_OCI_ACCESS_KEY_ID with your OCI access key id and YOUR_OCI_SECRET_ACCESS_KEY with your OCI secret access key. Change YOUR_OCI_NAMESPACE to your Object Storage namespace (plus the region that is in the endpoint URL).
  • Change any other parameters to what you want, such asus-ashburn-1 with the OCI Region where your OCI bucket is located.
[s3]
provider=AWS
type=s3
access_key_id=YOUR_S3_ACCESS_KEY_ID
secret_access_key=YOUR_S3_SECRET_ACCESS_KEY
region=us-east-1
[oci]
provider=AWS
type=s3
access_key_id=YOUR_OCI_ACCESS_KEY_ID
secret_access_key=YOUR_OCI_SECRET_ACCESS_KEY
region=us-ashburn-1
endpoint=https://YOUR_OCI_NAMESPACE.compat.objectstorage.us-ashburn-1.oraclecloud.com
rclone listremotes
rclone lsd s3:
rclone ls s3:/images

Migrate data using Rclone

This command copies data from the source S3 bucket to the destination OCI bucket.

rclone copy s3:/images oci:/images
rclone sync s3:/images oci:images

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
David Allan

David Allan

80 Followers

Architect at @Oracle developing cloud services for data. Connect on Twitter @i_m_dave