scp or ftp backupscript with resume and filecheck
I would like to check the opinions of linux forum users on how to make a backupscript that is suitable on unstable connections.
A small description: We have 4 sites in Africa where non-profit projects are active. Those 4 sites have a openvpn tunnel towards Europe. We would like to backup a file each day from the 4 locations onto a server in Europe with scp or ftp protocol.
One issue that might caus problems is the stability of the African network connections.
So a default backup script should have the extra options to make primo a resumable transfer and secundo a check if the transfered file is complete. If not transfer should start again untill the backupfile is completly transfered.
Any suggestions on how to accomplish this?
Thx in advance and kind regards,