Admin Books

DOWNLOAD Free e-Books for Linux Admin Servers :

IO error encountered -- skipping file deletion


Rsync Error message: IO error encountered -- skipping file deletion


Fix this weird IO error problem. Originally I was rsyncing with this command:
Code:


rsync -azvgotu --exclude=/blahblah --delete -e ssh username@my.ipaddress.com:/path /home/backup


I would then get the I/O error. So then I did this:


Code:

rsync -azv --exclude=/blahblah --ignore-errors -e ssh username@my.ipaddress.com:/path /home/backup



The bolded parts are what I changed and that fixed the I/O problem. Now it deletes fine. I suspect it either has to do with me trying to carry over the owner,group, and time (-azvgotu) and/or the --ignore-errors option. The users/groups do not exist on the computer I am trying to backup on to. Weird, but it works now.

No comments:

Post a Comment