A docker wrapper for rclone that syncs from a host directory to any remote - Works with unRAID
3.0K
A docker wrapper for rclone that syncs to any remote from Docker/unRAID.
The only thing that this docker container does is sync(backup) whatever you mount at /data to a directory named /rclone-backup in your remote. I might see if it is worth adding support for more than one source and remote but for now, it'll be a single source to a single remote.
See rclone-docker-wrapper on GitHub
Interactively configure rclone in another Linux/Windows machine that has a browser with the remote you want and copy over the rclone.conf to any /path/to/config on the host which we'll mount as a volume at /config/rclone of the Docker container.
Run the below docker command and replace the REMOTE with your remote name. The remote name must be the same you used in your rclone.conf
Note: The
/path/to/configon the host must be writable from within the container as some remotes need to write back theaccess_tokenafter refresh.
This should still work if you are using unRAID - Just input this docker run args into the relevant fields in unRAID
docker run -d --name rclone-container \
-v /path/to/data:/data \
-v /path/to/config:/rclone/config \
-e INTERVAL=3600 \
-e REMOTE=onedrive a0ne/rclone-docker-wrapper:latest
Content type
Image
Digest
sha256:6d83bdfcf…
Size
74.9 MB
Last updated
about 2 months ago
docker pull a0ne/rclone-docker-wrapper