Amanda-Users

Re: tar and --numeric-owner

2005-01-21 03:43:04
Subject: Re: tar and --numeric-owner
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Iulian Topliceanu <iulian.topliceanu AT net-m DOT de>
Date: Fri, 21 Jan 2005 09:20:24 +0100
Iulian Topliceanu wrote:

How do I use the --numeric-owner flag which makes tar not lookup uid/gid numbers with amanda?

What does amanda use while estimating a volume? I have /var/spool/mail 55 GB big (EXT3) with 1944656 inodes used and it lasts an eternity for amanda to do the volume estimation. How can I speed it up? Not only the estimation, the dump process too.

This server has to be backuped and it's mapped on LDAP. I'm trying to avoid a huge amount of LDAP queries (which I guess slow amanda down)

During estimate there are now LDAP queries, as tar only stats() each
file to get the size.  No speed increase to be expected here from such
a flag.
In amanda 2.4.5 (still beta, but in use already by some people) there
is a possibility to base estimates on historical data.  Not as accurate
as doing a real dry run, but surely fast.

TO add the --numeric-owner flag, you could take the tar-wrapper path:
compile amanda with:
        ./configure ... --with-gnutar=/usr/local/bin/amgtar
and create a shell script amgtar that inserts the flag in the arguments
before calling the real gnutar.

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>