Posted on 2013-06-03
I have a new server and now did make a copy of the old server on the new one since the new one has much more space.
I used rsync but I noticed that it said something that it also did send files to my old server. I do not want this, I basically only wanted to copy one way, but I though rsync would be better then copy because I could "sync" it later just before closing the old machine to ensure I got the final updated copy of the old server on the new one without coping all again. So I though I used the -a option to archive only. Specifically I used:
rsync -avz firstname.lastname@example.org:/ /mnt/old_server/var/
it seemed to work fine but I do not understand that when I run it, it told me the following:
sent 9078091 bytes received 7316092528 bytes 2774160.43 bytes/sec
total size is 103629161570 speedup is 14.15
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [generator=3.0.6]
Is this "sent" just signals or did it "sync" files back to the old server?
If so how do I prevent this and only have it synced one way from the remote to local. Preferably, I like to run the command on the destination server (local) as I did with the command above.
However I would like to delete files on the destination that are no longer on the remote server such as session files, etc.
Maybe it is also false alarm if this data is only some signals send.
I appreciate any comment.