How to use rclone with eazyBackup e3 S3 Compatible Object Storage
Last updated
Was this helpful?
Last updated
Was this helpful?
Use our step-by-step guide to configure a new rclone remote and create a scheduled sync.
Start by installing rclone
We will use the official installation script for this example:
Verify that rclone has been installed:
Once rclone is installed, you need to set up a new remote that points to the eazyBackup e3 storage service.
When prompted with "No remotes found - make a new one", type n
(for new remote).
Give the new remote a name, for example, "e3".
When prompted for the "Type of storage to configure." select option 4
"Amazon S3 Compliant Storage Provider"
When prompted to choose the S3 provider, select option 13
"Any other S3 compatible provider".
Press 1
to enter your access key and secret key
Configure the region, when prompted, press enter
for the default.
Configure API URL, when prompted to enter the endpoint for the S3 API, enter
s3.ca-central-1.eazybackup.com
When prompted for the Location constraint, Press Enter
for the default ("").
When prompted for the ACL, you can press Enter
for the default or 1
for the default option "Owner gets FULL_CONTROL. No one else has access rights".
Press n
to skip editing the advanced config
Press y
to confirm the remote config, if everything looks good.
Press q
to quit
You can test the connection by listing the buckets:
If you have not created any buckets, they can be created from the storage dashboard or by using rclone.
To create a new bucket with rclone, us the following command
Below is a basic guide you can follow to create a scheduled backup or sync using rclone.
First, you will need a shell script that contains the required rclone commands. For example, if you wanted to sync a local folder to a bucket every day, you could create a script called mydailybackup.sh
:
Create the Script:
Make the file executable:
Schedule the backup with Cron, open your crontab editor by running:
To schedule the script to run daily at midnight, add this entry at the end of the file:
**0 0 * * *** – works out to “minute 0 of hour 0 on every day of every month.”
After scheduling, monitor your backup or sync logs to ensure the operation completes successfully.
Following these steps, you should have a daily scheduled sync using rclone.