On Friday 24 January 2003 06:00, Simon Young wrote: >Hi, > >I'm using tar for backup, but my DLEs refer to device names. For >example, > >henry /dev/sda1 root-tar >henry /dev/sda2 user-tar > >I'm also trying to use exclude lists, but these don't seem to be > working as I would expect them to (it looks like they're being > ignored). > >The question is, should I be refering to paths rather than devices > when using tar? Like this: > Somewhat... >henry / root-tar >henry /usr user-tar
Your first line will also cover the second one, and on todays systems, either will likely generate a level 0 bigger than the tape. I don't do /, but each subdir, and /usr is further broken down into /usr/bin, /usr/etc, /usr/local and so on entries. Here, /usr/src and /usr/dlds can make a tape full each by themselves with /usr/music bringing up the next biggest file. YMMV of course. >...and have an exclude file for, say, the root filesystem which > ignores all the mount points covered by the other DLEs? The format of the exclude files entries is in relative format, as in "./entry". So if you had an entry that was ./etc, it would skip all the etc dirs it runs into in that dle. Or at least thats how I had it setup. I'm not using the excludes now as I just don't put them into the disklist in the first place, so this info may be old. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.22% setiathome rank, not too shabby for a WV hillbilly
