RE: Changing dump arguments/parameters in Amanda client

2007-01-02 Thread Mark Hennessy
Ok, so as I had suspected, there is no way to change the dump parameters
through a config-file option, one has to alter the source of
sendbackup-dump.c to add L as a commandline parameter to dump.

...
dumpkeys = vstralloc(level_str,
 options->no_record ? "" : "u",
+"b",
+"L",
...

Thanks for the confirmation!

--
 Mark Hennessy


> -Original Message-
> From: Patrick M. Hausen [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 02, 2007 11:26 AM
> To: Mark Hennessy
> Cc: Patrick M. Hausen
> Subject: Re: Changing dump arguments/parameters in Amanda client
> 
> Hi, Mark!
> 
> > I don't want to build Amanda from FreeBSD ports for various reasons.
> > 
> > Is it possible to do this on a particular client through 
> config files or do I
> > need to add the parameter in a particular header or source file?
> 
> I don't have the slightest idea, but I have the FreeBSD port
> to look for the changes ;-)
> 
> # cd /usr/ports/misc/amanda-server
> # more Makefile
> ...
> .if defined (WITH_DUMP_SNAPSHOT)
> EXTRA_PATCHES=  ${FILESDIR}/extra-patch-sendbackup-dump.c
> .endif
> ...
> 
> 
> You can get that particular patch here:
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/misc/am
> anda-server/files/extra-patch-sendbackup-dump.c?rev=1.2&conten
> t-type=text/plain
> 
> 
> HTH,
> 
> Patrick M. Hausen
> Leiter Netzwerke und Sicherheit
> -- 
> punkt.de GmbH Internet - Dienstleistungen - Beratung
> Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
> 76137 Karlsruhe   http://punkt.de
> 
> 



Re: Changing dump arguments/parameters in Amanda client

2007-01-02 Thread Patrick M. Hausen
Hi!

On Tue, Jan 02, 2007 at 09:27:57AM -0500, Mark Hennessy wrote:
> I'm using Amanda 2.5.1p2 on many FreeBSD machines, some 4.11, others 6.1.
> 
> I need to change the dump arguments/parameters on my 6.1 machines to include
> '-L' so live filesystem dumps work properly.
> 
> How do I do this for those particular clients?  I can't seem to find any way
> in the docs to do this.

If you install Amanda via the FreeBSD port, there's an option
to use snapshots with dump.

HTH,

Patrick M. Hausen
Leiter Netzwerke und Sicherheit
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de


Changing dump arguments/parameters in Amanda client

2007-01-02 Thread Mark Hennessy
I'm using Amanda 2.5.1p2 on many FreeBSD machines, some 4.11, others 6.1.

I need to change the dump arguments/parameters on my 6.1 machines to include
'-L' so live filesystem dumps work properly.

How do I do this for those particular clients?  I can't seem to find any way
in the docs to do this.

--
 Mark Hennessy