Object Storage - Use Object Storage with Rclone

Bases de conhecimento

Object Storage - Use Object Storage with Rclone


Icons/System/eye-open Created with Sketch. 401 visualizações 06.03.2026 Cloud / Object Storage S3

Objective

Rclone is a backup tool that can sync to and from various storage backends, and can be used on Windows, macOS and Linux. A detailed documentation is also available on the official Rclone website: Rclone Official Documentation.

This guide explains how to set up Rclone to synchronize your files to and from Object Storage.

OVHcloud provides services which you are responsible for with regard to their configuration and management. You are therefore responsible for ensuring they function correctly.

This guide is designed to assist you in common tasks as much as possible. If you encounter any difficulties performing these actions, please contact a specialist service provider and/or discuss the issue with our community of users. OVHcloud cannot provide you with technical support in this regard.

Requirements

  • A bucket
  • A user with the required access rights on the bucket
  • Your Object Storage credentials (access_key and secret_access_key)

See our Getting started with Object Storage guide.

To identify the endpoint for your storage class, refer to this guide: Object Storage - Endpoints and Object Storage geoavailability.

Instructions

To configure Rclone, edit or create the ~/.config/rclone/rclone.conf file and add this:

[<remote_name>]
type = s3
provider = Other
env_auth = false
access_key_id = <access_key>
secret_access_key = <secret_key>
endpoint = https://s3.<region_in_lowercase>.io.cloud.ovh.net
acl = private
region = <region_in_lowercase>
location_constraint = <region_in_lowercase>

Rclone is now ready for use.

Command examples

List all buckets:

rclone lsd <remote_name>:

Create a new bucket:

rclone mkdir <remote_name>:<bucket_name>

List the contents of a bucket:

rclone ls <remote_name>:<bucket_name>

Synchronise a local directory to a bucket:

rclone sync <source_directory> <remote_name>:<bucket_name>

Copy a file into a bucket:

rclone copy <file_path> <remote_name>:<bucket_name>

Download a file from a bucket:

rclone copy <remote_name>:<bucket_name>/<object_key> <destination_file_path>

You will find on the official Rclone website a detailed documentation of the possible actions: Official Rclone documentation.

Go further

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

Join our community of users.

Artigos relacionados