Backup linux to ftp server
This scenerio is pretty common, but I have a little problem. My server is old and unless I can find precompiled libs that will work. I tried to use ncftpput to copy all my files to the ftp server. It works but for some reasons the remote server end up closing the connection. I searched for information but couldn't find a way to make ncftpput reconnect itself.
The problem is that I can reconnect manually but it will start from the first file and upload everything back until it timeout again... I have know idea how I can split my backup so it doesn't consume all bandwidth I get kicked off again (thats my theory).
If there is no other solution I might do a big loop that will loop over all file and recreate a new connection for every file and send them all one by one. If there is a better cleaner solution. I'm listening.