Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

rsync permission errors

Apr 11, 2012 by Donald
Hi,

I have  VPS I used rsync to backup of my full server on a remote space. I ran the command ;
rsync -avz --exclude=/proc -e ssh / my-backup-server-address
 While running rsync job, many system files were  ignored due to Permission Errors and I got many errors such as ;
rsync: send_files failed to open "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0/usbdev5.1_ep81/uevent": Permission denied (13)
sys/devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0/usbdev5.1_ep81/wMaxPacketSize

rsync: read errors mapping "/sys/class/net/lo/statistics/multicast": No data available (61)
WARNING: sys/class/net/lo/statistics/rx_bytes failed verification -- update discarded (will try again).
sys/class/net/lo/statistics/rx_bytes

How can I fix this?

2 Answers

0 votes
Apr 11, 2012 by TopNet
/sys is a virtual file system, and it's not meant to be backed up. You can add a --exclude=/sys to your Rsync command if you don't like to see the error messages.
0 votes
Apr 11, 2012 by moon_tag
hi there
You should not backup a whole file system like that. You have to first choose what you need to backup.
If you are going for a full machine backup,  there is usually a server-wide based backup in most VPS services in the management systems.