Using a local NAS remote via webdav and a Box.com cloud remote as union remotes with the same data. When the NAS is offline the union remote fails. Doing a directory listing of the Box cloud remote works fine thought. Want to use the Union remote as a load balancer / failover so that the NAS is used when online but the cloud is used when the NAS is offline (save energy costs)
What is your rclone version (output from rclone version)
Which cloud storage system are you using? (eg Google Drive)
Box.com
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone lsd Union:
2021/11/22 10:36:56 Failed to create file system for "Union:": read metadata failed: Propfind "http://192.168.200.6:5005/Media": dial tcp 192.168.200.6:5005: connect: no route to host
The rclone config contents with secrets removed.
[Union]
type = union
upstreams = nas:/Media Chunk:
search_policy = epff
cache_time = 1
Thanks. My understanding was that it just used the first one to respond but you are saying they all need to be online also so probably not going to work then.
Any idea how I could achieve a fail over in this situation using rclone remotes? As in use the NAS but use the cloud if the NAS is offline?
Thanks, my use case is similar to the feature request except I would not use random. Using epff for search/action should just wait for the first remote to respond with the file and obv only online ones will respond.
The union backend is more like a RAID0 drive array - when any one drive is down, the whole thing is down. You are looking for more like a RAID1 drive array which can survive drive failure.
This would be a nice addon to union, or maybe a different backend, but it doesn't do it yet