Hello Pásztor!

> I'am wondering about If fsvs can filter the fileset by the mounted
> device, it greatly improved it's usability, because
> - smaller cost to maintain the ignore patterns (/sys,/proc contents
> excluded by default)
> - temporary (and forgotten) mounts exluded from backup

There are ignore patterns by devices nodes:
http://fsvs.tigris.org/source/browse/*checkout*/fsvs/trunk/www/doxygen/html/group__ignpat.html#ign_dev

  Examples:

     tDEVICE:3
     ./*
  This patterns would define that all filesystems on IDE-devices (with
  major number 3) are taken, and all other files are ignored.

    DEVICE:0
  This would ignore all filesystems with major number 0 - in linux these
  are the virtual filesystems ( proc, sysfs, devpts, etc.;
  see /proc/filesystems, the lines with nodev).

That concept's a bit shaky if you have changing major/minor numbers (which
can happen with hotplug).


> I love to see, if I can add source filesystems, that are included in the
> backup, or a blacklist (filesystems that exlcuded from backup).
>
> What do you think about that?
> Is is hard to implement it (I'am beginner in C)?
>
> I'am currently using a wrapper script for the fsvs. The wrapper mounts
> the device to a temporary location, do the backup (without ignore
> patterns), and umounts the device.
Well, I'd just exclude all virtual filesystems ("DEVICE:0" - kills /proc,
/sys, etc.), and exclude '/mnt/**' as well as '/media/**' - I'd think that
would solve most of problems you describe.


Please take a look whether that helps; if you need something else, just ask.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to