Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After trying to use rsync to do a test mirror of /var/www/ to my backup machine, not only are the files not mirrored, but now I have some where ls -la highlights them in pink, and the attributes are question marks !
I used : rsync -avz -e ssh root@localhost:/var/www/ /var/www/
Any help from an rsync guru would be very much appreciated.
Well it looks like you are copying from your local machine to the same local path. I'm not quite sure what that is likely to do but it's not what you want to do. Try:
rsync -avz -e ssh /var/www root@backup.server:/var/
Thanks for your reply.
The situation has changed a bit, because my backup machine is down, I'm just trying to get rsync to copy all my files in /home and /etc to an external hard drive, but it keeps giving me operation not permitted errors for many of the files, (not all).
Do you know what that could be due to ?
I'm using : rsync -av /home /mnt/usb80/yoruban_backup/
[baronsam@yoruban baronsam]$ mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/sda1 on /mnt/usb80 type vfat (rw)
It is probably the permissions that it is failing to save since vfat partitions aren't able to store the posix attributes. You'll either need to live without them or reformat your disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.