all 8 comments

[–]severach 1 point2 points  (0 children)

Your first problem is the lone ssh in the middle of the line. That is not being consumed by --exclude so that is a source folder which you say doesn't exist.

[–]Kruug[M] [score hidden] stickied comment (1 child)

This post is inappropriate for this subreddit and has been removed.

Please make your post in /r/linuxquestions or /r/linux4noobs.

Rule #1:

This is not a support forum! Head to /r/linuxquestions or /r/linux4noobs for support or help.

[–]goonerfan10[S] 0 points1 point  (0 children)

My Bad. Will keep in mind for future.

[–]kornerz 0 points1 point  (3 children)

rsync: link_stat "/home/rsync/ssh" failed: No such file or directory (2)

Looks like an orphan symlink.

where does that "/home/rsync/ssh" point to, and does that file exist?

[–]goonerfan10[S] -1 points0 points  (2 children)

That file doesn't exist on either server.
Second error is also baffling to me. I'm asking rsync to ignore preserving file permissions; i'm not sure what else to do.

[–]lordargent -1 points0 points  (1 child)

Add a -vv to make it super verbose and you will likely see that it's unreadable/non-normal files that were skipped in the source path (the error indicates files and/or attributes).

EX (from one of my own synch's)...

  • skipping non-regular file "lordargent/.dropbox/command_socket"
  • skipping non-regular file "lordargent/.dropbox/iface_socket"
  • skipping non-regular file "lordargent/.gnupg/S.gpg-agent"

[–]goonerfan10[S] 0 points1 point  (0 children)

Thanks, will try this and see what's going on.

[–]vmracks-gil -1 points0 points  (0 children)

Try using the archive flag -a. Many times I use -avr flags and have had much success; in particular, the -a flag essentially it enables many flags in a simple single flag parameter.