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.

I've got relatively big filesystem (ext4) with lots of small files and I'd like to backup it. Making full backups often is not feasible to me so I want to have a way to make differential/incremental backups (differential preferred).

But... this is laptop, and scanning for changed files takes lots of time. My questions:

1) Is it possible to get list of files changed since some date from ext4's journal? I know it wasn't designed with this idea in mind, and it might be too small for bigger timespans, but maybe it is somehow possible?

2) Is it possible to monitor filesystem modifications and maintain a list of changed files reliably? I think I could use inotify, but this might be too slow to monitor full filesystem and might be unreliable. (by reliable I mean either I get all modifications since last backup (and this list is not missing anything) or an error message).

Laptop runs Debian unstable.

share|improve this question
    
Not an answer for your platform, but Apple's FSEvents does exactly this; arstechnica.com/apple/reviews/2007/10/mac-os-x-10-5.ars/7 Maybe you can find substitutes knowing that name now. –  Arjan Mar 20 '10 at 14:04
    
inotify is one of them. –  oKtosiTe Dec 1 '10 at 19:58

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.