Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to back up our company's website using a regular old windows copy utility. Website is riddled with symlinks and if they were all followed would bloat the backup to 400% of it's normal girth.

I've told Samba not to follow symlinks, but copying the folders errors out really quick. Maybe it's the copy util's fault. Maybe it's the server's fault (har har). Anybody thought of a workaround, besides chmodding all my symlinks to make them transparent to the backup user?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If Samba is displaying but not following the symlinks and it's just windows explorer that can't handle the resulting permission denied errors, perhaps you can just use the command line (e.g. xcopy /S or cwRsync) where the errors will be non fatal. Alternatively if you can also connect to the server via SSH, SCP/SFTP clients like WinSCP are certainly smart enough to actually handle symlinks sanely as part of a recursive transfer.

share|improve this answer
    
+1 Something like SCP or rsync is much better suited to this problem. –  SvW Aug 31 '10 at 22:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.