Hi,
We have the following setup.
A bunch of units out in the field all connecting to a central hub via a wifi link. We have a script on the hub which pulls files from each of the units via rsync.
So the script looks something like:
rsync -av unit1:/location/of/file/ /place/file/here
rsync av unit2:/location/of/file/ /place/file/here
etc
Now the problem is that when/if one unit is down, rsync will timeout and not carry on pulling the files from the units below that one in the list. I have tried playing with rsync and included --timeout=60, but this does not work when ssh is not available on a unit.
Does anyone have any ideas on how we can get rsync to carry on with the next unit if the unit above it in the list is not available?
Thanks
We have the following setup.
A bunch of units out in the field all connecting to a central hub via a wifi link. We have a script on the hub which pulls files from each of the units via rsync.
So the script looks something like:
rsync -av unit1:/location/of/file/ /place/file/here
rsync av unit2:/location/of/file/ /place/file/here
etc
Now the problem is that when/if one unit is down, rsync will timeout and not carry on pulling the files from the units below that one in the list. I have tried playing with rsync and included --timeout=60, but this does not work when ssh is not available on a unit.
Does anyone have any ideas on how we can get rsync to carry on with the next unit if the unit above it in the list is not available?
Thanks