Object Storage - Use Object Storage with Rclone
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 and defined 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.
In order to identify your endpoint corresponding to your storage class, please 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:
Rclone is now ready for use.
Command examples
List all buckets:
Create a new bucket:
List the contents of a bucket:
Synchronise /home/user/documents to a bucket:
Copy a file /home/user/file.txt into a bucket:
Download a file file.txt from a bucket:
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.