On 2007-02-22 14:28, McGraw, Robert P. wrote:
>
> We have a home directory with about 500GB of user data. I tried using
> the multiple tapes setting but found that this was a hassle.
>
> To get around the tape limit, I wrote a perl script that went thought
> the /home directory and create files users-a users-b … users-z that
> contained the names of users based on the first letter of their user
> name. Each file looks something like:
>
> ./qfang
> ./qiu
> ./qkhan
> ./qqu
> ./qwu
>
> My disklist looks like the following:
>
>
> zorn /export/users-a /export/fssnap/users {
> users-tar
> include list "/local/Amanda/UsersList/users-a"
> }
>
> …
>
> zorn /export/users-a /export/fssnap/users {
> users-tar
> include list "/local/Amanda/UsersList/users-z"
> }
>
>
> # catch everything else. Not necessary now
> #
> zorn /export/users-REST /export/fssnap/users {
> users-tar
> exclude append "./[a-z]*"
>
> }
Just curious... What does the perl script do better/more than the
pure Amanda-equivalent with DLE's like:
zorn /export/users-a /export/fssnap/users {
users-tar
include "./a*"
}
> I backup based on the letter of the persons first name. In my case I do
> not have a group of users that have files greater than the size of one
> tape. It happens that the file size of each group of people is different
> which makes the backup go quicker, which is a side benefit.
>
> Restore are also quick.
Indeed. That's why, even if I could split backups over many tapes,
I still prefer to keep the backup-units manageable, by using the
include/exclude features in the dumptypes to break up the large disks.
--
Paul Bijnens, xplanation Technology Services Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************