Amanda-Users

RE: Changing dump arguments/parameters in Amanda client

2007-01-02 11:42:22
Subject: RE: Changing dump arguments/parameters in Amanda client
From: "Mark Hennessy" <mhennessy AT cloud9 DOT net>
To: "Patrick M. Hausen" <hausen AT punkt DOT de>
Date: Tue, 2 Jan 2007 11:35:23 -0500
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:hausen AT punkt DOT de] 
> 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. 25        Tel. 0721 9109 -0 Fax: -100
> 76137 Karlsruhe       http://punkt.de
> 
> 


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