Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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`/ /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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .