First off topic - I miss the chat! Am I the only one?
Second - I finally have my Synology DS1019+ and want to migrate from my Raspberry Pi3… So my idea was (and I remembered it from chat) to make sure Docker is running on the Synology (done), I also enabled SSH and created a user who is part of admin group so I can login.
Created a specific folder etc.
Now: I then looked in the old chat for rsync and tried a bit with it to copy the files while the node is still running. (As in doing it once to get most stuff, then again to get the latest ones. Then stop node and doing it once more to have it all). Then restart the node on the Synology.
So here’s my problem, I tried it from both sides (pi to synology and vice verca) but somehow I don’t get it correct with the rights or so:
sudo rsync -rtuvP email@example.com:/home/pi/DROBO /volume1/Storj/ firstname.lastname@example.org's password: receiving incremental file list rsync: opendir "/home/pi/DROBO/storage" failed: Permission denied (13) rsync: send_files failed to open "/home/pi/DROBO/kademlia": Permission denied (13) rsync: send_files failed to open "/home/pi/DROBO/revocations.db": Permission denied (13)
So I do understand that as on the pi itself to access the files I need to ‘sudo ls’ so to speak.
Now if I go to the pi3 and do it from there:
sudo rsync -rtuvP home/pi/DROBO email@example.com:/volume1/Storj/ firstname.lastname@example.org's password: Permission denied, please try again. rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.2]
As I’m also a N00b I always run into these wonderful problems. My interpretation for case 1 is: Right issue hence rsync can’t read it.
For the 2 case it might be that I either have an right issue on the Synology or something with rsync doesnt work?
Anyone any ideas?