Hello all, can anyone help an rsync newbie?
I have two OMV machines (call them BoxA and BoxB), both on my home network.
I need to rsync one folder from BoxA to BoxB using the command line, because I want to rsync only items from the last X days:
Code
find . -mtime -X -print0 | rsync -0v --files-from=- BoxA/sourcefolder/ userme@BoxB/backupfolder/
I've generated a new ssh key pair (without a password) on BoxA with ssh-keygen, then put the contents of the public key file in userme/.ssh/authoried_keys on BoxB
Then on BoxA, from ssh as [username] I tried:
But I got this error:
Code
Permission denied (publickey).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
Any pointers welcome!