Configure Your Source
With Rclone, you can define your source as a local file system or a different cloud provider. This section provides specific configuration examples for a local file system and several popular cloud providers.
Note:
This is not an exhaustive list; you can also configure other providers if they are supported by Rclone. For a full list of supported cloud providers and information about their configuration parameters, see the Rclone website.Configure a Local File System
No specific configuration is required for using a local file system with Rclone. You can simply choose a local directory as your source.
$ export SOURCE=/path/to/source
Configure Oracle Cloud Infrastructure Object Storage Classic
To configure Rclone for Oracle Cloud Infrastructure Object Storage Classic, you need your username, password, service instance ID, and the authentication URL.
Note:
To use Object Storage Classic or any other Swift-compatible source, you need to use Rclone version 1.4 or later.Configure Amazon S3
To configure Rclone for Amazon S3, you need the access key, the secret key, and the region of your bucket (if applicable). After you have them, you can configure Rclone by setting the environment variables from the command line:
$ export RCLONE_CONFIG_S3_TYPE=s3
$ export RCLONE_CONFIG_S3_ACCESS_KEY_ID=<your_access_key>
$ export RCLONE_CONFIG_S3_SECRET_ACCESS_KEY=<your_secret_key>
$ export RCLONE_CONFIG_S3_REGION=<region_of_your_bucket>
$ export SOURCE=s3:<your_source_bucket>
$ export SOURCE=s3:<your_source_bucket>
sets your source
as S3.
Configure Microsoft Azure Blob Storage
To configure Rclone for Microsoft Azure Blob Storage, you need the storage account name and key. After you have them, you can configure Rclone by setting the environment variables:
$ export RCLONE_CONFIG_AZURE_TYPE=azureblob
$ export RCLONE_CONFIG_AZURE_ACCOUNT=<your_storage_account_name>
$ export RCLONE_CONFIG_AZURE_KEY=<your_key>
$ export SOURCE=azure:<your_source_bucket>
$ export SOURCE=azure:<your_source_bucket>
sets your source as Azure.