Rsync from godaddy to OS X
Posted
by
Ola
on Super User
See other posts from Super User
or by Ola
Published on 2013-10-23T22:36:06Z
Indexed on
2013/10/24
3:58 UTC
Read the original article
Hit count: 691
I would like to use rsync to backup my website to my local computer (OS X). I started of with this guide and got pretty far.
I use the following rsync-line:
rsync -PzrlptgD --del --delete-excluded -r --rsync-path=~/bin/rsync user@server:~/ /local/backup/folder/
I wanted to use the -a option (same as rlptgoD) but it crashes as soon as I use the -o flag.
receiving file list ...
rsync: connection unexpectedly closed (8 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [receiver=2.6.9]
If I skip the --owner flag it copies the files but I'm not really sure what difference it makes (I've tried to read up on it but found nothing)
Should I just skip using the --owner flag? Or have I done any other mistake?
Thanks in advance
//OL
© Super User or respective owner