Pardon my ignorance, I am a new user of this site, Linux, and the Raspberry Pi.
The following is a link to a question, from which I used user goldilocks' well documented answer of using
rsync, to create my own
rsync command to make a backup to a folder on the HDD of a MacBook Pro on my local network:
I was unable to follow up on this question and unable to message the user goldilocks because it seems that there is no such thing on Stack Exchange?
What I came up with is this:
rsync -aHv --rsync-path="sudo rsync" --delete-during --exclude-from=/Users/user/Documents/rsync-exclude.txt --rsh="ssh" user@host:/ /Users/user/Desktop/rpi-backup/
From what I understand the addition of the
--rsync-path="sudo rsync" argument allows for not having to use an (insecure) root account over ssh.
All seems to go well but unfortunately I get an error at the end of the transfer which looks like this:
rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(1400) [generator=2.6.9]
Is this something I should be worried about and if so how do I fix it? Or, is this because I used a
rsync-exluded.txt file to exclude certain directories from being copied over during the rsync and this error is just confirming this?
Also, it was said by a user who replied to this question that it wouldn't be possible to backup to a Mac? My command seemed to work without problems as there was obviously a backup of the filesystem in the folder which I designated as the destination. The only hitch was the error that I received at the end of the