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.

The open source package BackupPC does not run on Windows due to its lack of support for hard links. I did a search and came across this document referring to hard links in Windows.

Are these somehow different than Linux hard links, and is there really no equivalent?

share|improve this question
    
Is this hard link "issue" noted somewhere as being the reason that there is no Windows port? (Hard link being a method to conserve space, but if nothing else would think any hard link option could be disabled?) A quick look seems to show that you can use Windows clients along with a Linux server. google.com/… –  therube May 20 '11 at 2:00

2 Answers 2

up vote 2 down vote accepted

Firstly, hard-links are a feature of the filesystem, MS Windows does not support hard-links on FAT32 devices. Nowadays this typically means USB memory sticks.

Secondly, NTFS supports three kinds of links and the exact capabilities and applicability may differ from Linux hard-links - for example, whether you can hard-link directories.

BackupPC is written in Perl. So it ought to be possible to find out what modules it depends on and whether those are availble on Windows. You can still backup from Windows clients. Presumably you want to backup to a Windows server?

The Requirements for BackupPc states that NTFS can't be used but doesn't explain why. (I don't know whether the MS SMB protocols allow for hard-link manipulation, or whether Linux NTFS drivers don't)

BackupPC uses hardlinks to pool files common to different backups. Therefore BackupPC's data store (TOPDIR) must point to a single file system that supports hardlinks. [...]
Any standard linux or unix file system supports hardlinks. NFS mounted file systems work too (provided the underlying file system supports hardlinks). But windows based FAT and NTFS file systems will not work.

You could email the author?

share|improve this answer

NTFS does indeed support links. However, very few people, even Microsoft-qualified people, seem to be aware of it, and very little Windows software has any facility for taking advantage of it. This article has more information.

share|improve this answer

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.