LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 08-13-2006, 07:05 PM   #1
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
can't understand rsync's behavior at all


Hello--

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.

Thanks,

--Sam
 
Old 08-14-2006, 04:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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/
 
Old 08-14-2006, 06:17 PM   #3
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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/

Thanks,

--Sam
 
Old 08-15-2006, 12:57 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What filesystem is on the usb drive? Can you post the output from:
mount
 
Old 08-15-2006, 01:19 PM   #5
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
[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)
 
Old 08-15-2006, 01:46 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not understand ramanadyv Linux - General 1 06-06-2006 07:13 AM
Help me understand what this is saying. Distorted.Clarity Linux - Newbie 11 12-13-2005 07:31 PM
Need help to understand C4bo Debian 2 06-13-2005 06:53 AM
Understand | tuananhbirm Linux - General 3 01-10-2005 05:02 PM
Can't *really* understand cron behavior maxbld Linux - General 3 11-21-2002 09:26 AM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration