Hiall. I've just spent some time with aufs. It looks really cool. Currently I want to try it as some kind of incremental backup tool. I'll try to describe it a bit.
Currently I've mounted aufs with followed branches: * /tmp/aufs/ro -- read only data (that was already backuped to CD/DVD/TAPE) * /tmp/aufs/rw -- read write data (that will be backuped later as incremental backup). aufs is mounted to /tmp/aufs/total with followed command: mount -v -t aufs -o br:/tmp/aufs/rw=rw:/tmp/aufs/ro=ro none \ /tmp/aufs/total So, if read-only branch was already backuped once, It's enough to just backup /tmp/aufs/rw and there will be way to restore system from backup by restoring both "ro" and "rw" branch. That's first stage. But after first incremental backup, I want to 'merge' content of /tmp/aufs/rw to /tmp/aufs/ro (since both of them area already backuped). Any idea how to do this 'permanent merge'? Yes, I can setup third branch (/tmp/aufs/rw2), however for weekly backups I will have 4 extra branches, that's do not sounds good. For added/modified files it should be enough to just move and overwrite all files from 'rw' to 'ro'. But I also want to correctly process removed files as well as symlinks. Any ideas? -- WBR, Dmitry
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/