Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there ANY backup tool that can handle 256 path length limit on NTFS ?

I'm not talking about a sync or filecopy tool like robocopy,
but an incremental backup tool like cobian backup (which cannot handle it).

share|improve this question
    
rsync-based tools –  artistoex Jan 28 '12 at 8:28
    
I have seen some shellscripts, using hard and soft links, that make rsync into an incremental backup tool. Is there anything similar using windows scripting ? –  user19496 Jan 28 '12 at 10:29
    
you can do exactly the same thing on windows--using cygwin. –  artistoex Jan 28 '12 at 10:30
    
I guess your right. It's not the answer I was looking for ( too much work installing flaky cygwin and some dodgy script :-) ). If you summarize this into an answer, I'll mark your answer as accepted. –  user19496 Jan 28 '12 at 10:38
    
Are you sure Cobian cannot handle it -- even if you enter all paths with the \\?\ prefix? –  grawity Jan 28 '12 at 12:21
show 5 more comments

1 Answer

Please note that I am not familiar with Cobian. Presently I use a simple script run from a CentOS vmware machine running in my Windows 7 host workstation to handle long path values:

#! /bin/bash
echo Backup Started `date` >> ~/backuplog
mkdir /mnt/hgfs/g/Backups/`date +%Y%m%d`
tar -cvf /mnt/hgfs/g/Backups/`date +%Y%m%d`/docs.data.tar /mnt/hgfs/c/Users/username
7za a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on /mnt/hgfs/g/Backups/`date +%Y%m%d`.7za /mnt/hgfs/g/Backups/`date +%Y%m%d`
mv /mnt/hgfs/g/Backups/`date +%Y%m%d`.7za /mnt/hgfs/g/Backups/`date +%Y%m%d`
rm /mnt/hgfs/g/Backups/`date +%Y%m%d`/*.tar
echo Backup Completed `date` >> ~/backuplog

For an incremental script, you may want to look at the following pages:

share|improve this answer
add comment

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.