Hello,

Arno Lehmann wrote:
SITUATION

There are multiple clients and I like to have one fileset for all
of them. As they are quite similar. Each one looks like

/u01 /u02 ... /u09 /u10 ... /uNN

Interesting setup...

it is actually what oracle recommends to mount data disks. Not sure if
they still do, but a while ago we just took that and made it a internal
standard.
To get server installations looking more alike. The idea behind is that
everything in /uNN dirs is data while everything outside of them is OS
stuff, log files, applications, ... the (more or less) standard unix
directories so to say... this way you always know what you better not
wipe out. ;-)

approach as it would IMHO cause me a headache to write a shell
command that works on all my OSes with different shell/find/awk/...
versions.

Well, with different OSes and shells and tools that would be an interesting exercise. Or, in other words, I understand why you don't
 want that way.

if you like this kind of exercise, here's what we've got: ;-)

- RedHat 7, 8, 9
- Fedora 2, 4
- SuSE 6.4(!), 9, UnitedLinux 1.0
- Solaris 7
- Debian Woody (patched to half Sarge ;-))

the cool thing is that we had very little trouble to get 1.38 packages
going in that OS zoo. Only two machines required a self compiled static FD: the UnitedLinux one and SuSE 6.4 (which is ok, since those are way too old). The debians are not upgraded yet.

Many thanks to the guys who make all the packages. This is awesome work!

MY SOLUTION

Make the fileset with 'onfs=no' and include '/'. Then use regular expressions to exclude everything but the things I want. Here is
what I have so far:

FileSet { Name = "Data-UNIX-FileServer" Ignore FileSet Changes =
yes    # can't effort a full right now

Include { Options { signature=MD5 onefs  = no             # cross
all filesystems fstype = ext2           # should avoid possible NFS
mounts?
You might want to add other FSes as well, depending on the
possibility that you also have to back up BSD or Mac or Sun or
whatever systems.

yeah, good point. I forgot about the solaris ones.

[...]

this seems to work so far. I tested it with estimate listing on
1.38.0 (FD, Dir, SD) and the list looks very promising. I did not
actually run a backup job yet.

Well, I didn't try your fileset, but it does look promising. It seems
 that you understood the two options blocks - default and more
detailed ones - correctly which I never did :-)

aehmmm... well, now as you say that. I wasn't aware of any 'block ranking'/default or detailed blocks etc . ;-)

Stephan


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to