How to use rclone with eazyBackup e3 S3 Compatible Object Storage
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:
sudo apt update
curl https://rclone.org/install.sh | sudo bash
Verify that rclone has been installed:
rclone version
Once rclone is installed, you need to set up a new remote that points to the eazyBackup e3 storage service.
rclone config
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 storage provider, select option
34
"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, you can find your API endpoint URL on the Acceess Keys page of our Cloud Storage Dashboard.
When prompted for the Location constraint, Press
Enter
for the default ("").When prompted for the ACL, you can press
Enter
for the default or1
for the default option "Owner gets FULL_CONTROL. No one else has access rights".

Press
n
to skip editing the advanced configPress
y
to confirm the remote config, if everything looks good.Press
q
to quit
You can test the connection by listing the buckets:
rclone lsd e3:
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
rclone mkdir e3:myrclonebucket
Create a Backup/Sync Script
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
:
#!/bin/bash
# mydailybackup.sh
LOCAL_DIR="/path/to/local/folder" # replace with your local folder.
REMOTE="e3:mybucketname/folder" # replace with your remote name & bucket/folder.
LOG_FILE="/var/log/rclone_sync.log"
echo "Starting sync: $(date)" >> "$LOG_FILE"
rclone sync "$LOCAL_DIR" "$REMOTE" -v --log-file="$LOG_FILE"
echo "Completed sync: $(date)" >> "$LOG_FILE"
Create the Script:
nano ~/mydailybackup.sh
Make the file executable:
chmod +x ~/mydailybackup.sh
Schedule the backup with Cron, open your crontab editor by running:
crontab -e
To schedule the script to run daily at midnight, add this entry at the end of the file:
0 0 * * * /home/your_username/mydailybackup.sh
**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.
Last updated
Was this helpful?