11-28-2020, 10:34 PM
So, I have tried sudo apt-get update and sudo apt-get install rsync, than realized srync is already installed :-) Great!
(can I run sudo apt-get update than upgrade ?)
Than, I looked at rsync options. Also, I thought I do not need ssh, since the remote drive is already mounted. So, I only did :
rsync -a -v --delete /mnt/NAS/ellenorizetlen/ /media/zeneM/ellenorizetlen
Where the first is the remote source directory, mounted. The second is the destination on an usb drive.
Works just fine.
Now, the best would be to have a button on the moOde surface for sync, or (and probably this is what I do), I try to schedule a job to every day 3AM, so if I leave it on for the night and the server is accessible, it does sync it.
So, success, Thanks ! :-)
(can I run sudo apt-get update than upgrade ?)
Than, I looked at rsync options. Also, I thought I do not need ssh, since the remote drive is already mounted. So, I only did :
rsync -a -v --delete /mnt/NAS/ellenorizetlen/ /media/zeneM/ellenorizetlen
Where the first is the remote source directory, mounted. The second is the destination on an usb drive.
Works just fine.
Now, the best would be to have a button on the moOde surface for sync, or (and probably this is what I do), I try to schedule a job to every day 3AM, so if I leave it on for the night and the server is accessible, it does sync it.
So, success, Thanks ! :-)