Re: cwRsync missing lower case directory

4 posts / 0 new
Last post
itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: cwRsync missing lower case directory

I would rename the directory to upper-case, but it is our file server and is hit rather hard at times so I can't change the directory name (open files and what not).
As an experiment, you could try copying one of the problematic file trees to another location and see if rsync still fails to access it. Though I'd try the other offered suggestions first.

(This doesn't explain why none of the files in those directories were transferred, but keep in mind that if you're backing up an in use server, rsync won't be able to access any files that are locked for reading if the files are hosted on a Windows server. You can avoid this by hosting these files on a Linux/Samba server.)

Where /cygdrive/e/ is the drive I'm backing up, and /cygdrive/z/ is a Samba mounted shared on the Windows server...

FYI, you lose the benefit of rsync if one leg of the transaction is a network mounted drive (SMB, NFS, whatever). If performance is a concern, run an rsync server on the machine supplying the Z drive.

-Tom

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: cwRsync missing lower case directory

Try running with the option "-avvv", to see what gets included, excluded and why that is.
Bart.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
cwRsync missing lower case directory

I have 2 lower case directories on a drive that I am trying to backup but cwRsync is missing them. It is not missing the files that start with lower case letters, only the directories.
My directory under Windows 2003 is like this (root of the server's E drive):
apps
avi
Cisco
Documentation
Drivers
...

The apps and avi directories are not being copied, all the rest are. Here is the command I am running:

rsync -av --delete --exclude="System Volume Information" --exclude="Recycler" --exclude="Recovery Bin" "/cygdrive/e/" "/cygdrive/z/isdept"

Where /cygdrive/e/ is the drive I'm backing up, and /cygdrive/z/ is a Samba mounted shared on the Windows server (I drop it into a separate folder so it doesn't get mixed in with the backups from the C: drive).

I would rename the directory to upper-case, but it is our file server and is hit rather hard at times so I can't change the directory name (open files and what not).

Any ideas? Thanks in advance,

James C.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: cwRsync missing lower case directory

Have you tried dry-run option to get an overview of what rsync plans to do ? I assume that there are no permissions issues here.

Topic locked

Release announcements