Skip to main content

Cloney - Storage Migration CLI

Cloney is a lightweight command-line tool designed to migrate files between different cloud storage providers seamlessly. It supports AWS S3, Google Cloud Storage (GCS), Alibaba Cloud OSS, DigitalOcean Spaces, Azure Blob Storage, and Cloudflare R2, allowing you to move data efficiently.

Features

🔄 Migrate files between S3, GCS, OSS, Spaces, Azure Blob, and Cloudflare R2

⚡ Fast and efficient transfer with minimal configuration

🔧 Simple CLI usage for easy automation

✅ Supports large file transfers

🔐 Secure authentication using environment variables or config files

Installation

From Source (Python)

pip install cloney

Usage

Same Cloud Transfers

Migrate data within the same cloud provider:

AWS S3 to AWS S3

cloney s3 my-source-bucket s3 my-destination-bucket

Google Cloud Storage to Google Cloud Storage

cloney gcs my-source-bucket gcs my-destination-bucket

Azure Blob Storage to Azure Blob Storage

cloney azure my-source-container azure my-destination-container

Alibaba Cloud OSS to Alibaba Cloud OSS

cloney oss my-source-bucket oss my-destination-bucket

Cloudflare R2 to Cloudflare R2

cloney r2 my-source-bucket r2 my-destination-bucket

Cross-Cloud Transfers

Migrate data between different cloud providers:

AWS S3 to Google Cloud Storage

cloney s3 my-s3-bucket gcs my-gcs-bucket

Google Cloud Storage to Azure Blob Storage

cloney gcs my-gcs-bucket azure my-azure-container

Azure Blob Storage to Alibaba Cloud OSS

cloney azure my-azure-container oss my-oss-bucket

AWS S3 to DigitalOcean Spaces

cloney s3 my-source-bucket spaces my-destination-bucket

AWS S3 to Cloudflare R2

cloney s3 my-source-bucket r2 my-destination-bucket

Cloudflare R2 to Google Cloud Storage

cloney r2 my-r2-bucket gcs my-gcs-bucket

If you would like to create the destination bucket automatically, use the --create-destination-bucket flag:

cloney s3 my-source-bucket gcs my-destination-bucket --create-destination-bucket

If you want to verify the files between the source and destination buckets, use the --verify flag:

cloney s3 my-source-bucket gcs my-destination-bucket --verify

This will check for any mismatched or missing files between the two buckets.

Authentication

Cloney supports authentication via environment variables or configuration files:

Linux/macOS

AWS S3

export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key

Google Cloud Storage (GCS)

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/gcs-key.json

Alibaba Cloud OSS

export OSS_ENDPOINT=your-endpoint
export OSS_ACCESS_KEY_ID=your-access-key
export OSS_ACCESS_KEY_SECRET=your-secret-key

Azure Blob Storage

export AZURE_STORAGE_CONNECTION_STRING="your-connection-string"

DigitalOcean Spaces

export SPACES_ACCESS_KEY=your-access-key
export SPACES_SECRET_KEY=your-secret-key
export SPACES_REGION=your-region

Cloudflare R2

export R2_ACCESS_KEY_ID=your-access-key-id
export R2_SECRET_ACCESS_KEY=your-secret-access-key
export R2_ACCOUNT_ID=your-account-id

Windows (PowerShell)

AWS S3

$env:AWS_ACCESS_KEY_ID="your-access-key"
$env:AWS_SECRET_ACCESS_KEY="your-secret-key"

Google Cloud Storage (GCS)

$env:GOOGLE_APPLICATION_CREDENTIALS="C:\path\to\your\gcs-key.json"

Alibaba Cloud OSS

$env:OSS_ENDPOINT="your-endpoint"
$env:OSS_ACCESS_KEY_ID="your-access-key"
$env:OSS_ACCESS_KEY_SECRET="your-secret-key"

Azure Blob Storage

$env:AZURE_STORAGE_CONNECTION_STRING="your-connection-string"

DigitalOcean Spaces

$env:SPACES_ACCESS_KEY="your-access-key"
$env:SPACES_SECRET_KEY="your-secret-key"
$env:SPACES_REGION="your-region"

Cloudflare R2

$env:R2_ACCESS_KEY_ID="your-access-key-id"
$env:R2_SECRET_ACCESS_KEY="your-secret-access-key"
$env:R2_ACCOUNT_ID="your-account-id"

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

Cloney is licensed under the MIT License.

Contact

For questions or support, open an issue on GitHub.

Metadata

Release files for cloney 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloney 1.1.2
File Size Uploaded Provenance Actions
cloney-1.1.2.tar.gz 11.3 kB Without provenance Details for cloney-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cloney 1.1.2
File Interpreter ABI Platform Actions
cloney-1.1.2-py3-none-any.whl Python 3 none any Details for cloney-1.1.2-py3-none-any.whl

Total release size: 23.8 kB

Release files / cloney-1.1.2.tar.gz

Download URL cloney-1.1.2.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
151c2ad730662487269fa8d6d4b55450a58dd50e1e1662d24c5b9c28c25a8e7b
BLAKE2b-256 checksum
How to use checksums
ab1c2801a30b111ecd3e78e0c56c73ea245abaec747d2c769fc6e641f6972996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / cloney-1.1.2-py3-none-any.whl

Download URL cloney-1.1.2-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66831aeade7b46c497110709a06bcec5d998e15f65d981a6080a6fe3209fc15e
BLAKE2b-256 checksum
How to use checksums
22e496547059d5253de19b693693b897fe422fcc6d943d447dea53286c297ce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for cloney 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page