Easy way to upload files from a *nix server to a Synology NAS
First, SCP seems to be the best way to do this, but what a surprise!, the Synology Software DSM 3.0 have a “light” version of SSH that doesn’t support SCP.
So the next move was rsync since it was supported I thought it will be a another good way, but the problem now was the speed, rsync spends a lot of CPU usage on the checksum verification (the NAS have a small ARM processor). So instead of having speeds about 25 – 30 mb/s I got an average of 5 mb/s.
I did a little research and I found that the easiest way to do this (Without having to install anything via ssh on the NAS) was using lftp this way:
#install lftp on the old server
sudo apt-get install lftp
#connect to the server
lftp -d [remoteServer] – u [username]
#make a reverse mirroring
mirror -R [localFolder] [remoteFolderToPutTheFiles]
And that’s all.