Am 28.02.2014 06:33, schrieb Jon LaBadie:
> Sure, great idea.  Then all you would need to configure is one DLE
> starting at "/".  Amanda would break things up into sub-DLEs.

A bit off topic maybe .. but:

what I wish for for years now (and never take the time to sit down and
script it) is a helper script for amanda that reads in the disklist and
compares it with the actual filesystem(s).

practical example:

When I set up a server for a customer I create initial DLEs like:

garden pictures /mnt/samba/pictures {
root-tar
exclude "./B"
exclude append "./F"
exclude append "./G"
exclude append "./H"

[...]

}

garden pictures_b /mnt/samba/pictures {
root-tar
include "./B"
}

garden pictures_f /mnt/samba/pictures {
root-tar
include "./F"
}

[...]

------------------|

The main pictures-folder gets caught by DLE "pictures", that DLE
excludes some (big) subdirs which in turn are defined as separate DLEs.

Over time sometimes it is necessary to add more excludes and separate
DLEs (when things grow).

(2nd level sidenote here: I would also love a warning mechanism for
amanda writing me mails like "DLE X has not been fully dumped for more
than Y days now. Seems it has grown too much, check your setup or
cleanup a bit")

Now it would be really nice to have a check script that reads in all
this and compares it to the actual filesystem to tell me "yes, all your
subdirs are at least caught by one DLE" or "attention, subdir X gets
excluded in DLE_A, but is not included anywhere".

Or a graphical tree with dirs green that are within DLEs and red ones
are not included by amanda ...

This would make it easier in big configs with more complex
DLE-definitions and dynamic creation of dirs and mountpoints.

Did I explain it right?

---

Aside from this I back then had some other scripts that generated
include-lists resulting in chunks of <= X GB (smaller than one tape) ...
I wanted to dump the videos in my mythtv-config and had the problem of
very dynamic data in there ;-)

So the goal was to re-create dynamic include-lists for DLEs everyday (or
even at the actual time of amdump). It worked mostly. I would have to
dig that up again.

Stefan

Reply via email to