Jean-Louis Martineau <[email protected]> writes: [...]
> This create two properties of the dumptype, you want application properties: > It is a bug to use the 'PG-' prefix on the application properties. > The 'PG-' prefix must be use only if you define the properties in > amanda-client.conf, don't do it, it is deprecated. Yes, I know it's deprecated (as written http://wiki.zmanda.com/man/ampgsql.8.html), but I think, that manual is not clear here about "PG-" prefix, moreover I can't see DATADIR property for application. [...] > > define dumptype ampgsql-local { > gnutar-local # You might need this if you're setting > 'auth "bsdtcp"' in your global dumptype settings, for example > program "APPLICATION" > application { > app-ampgsql > property "ARCHIVEDIR" "/var/lib/postgresql/archive" # not required, > it is set in app-ampgsql > property "DATADIR" "/var/lib/postgresql/9.1/main" # you could set > it in app-ampgsql > } > } > > > > Either the diskdevice in disklist or the DATADIR application property. Thanks for your reply. BTW. I thought, that "application" parameter can accept only name of previously defined application. --8<---------------cut here---------------start------------->8--- define dumptype ampgsql-local { program "APPLICATION" application { app-ampgsql property "ARCHIVEDIR" "/var/lib/postgresql/archive" # not required, it is set in app-ampgsql property "DATADIR" "/var/lib/postgresql/9.1/main" # you could set it in app-ampgsql } } --8<---------------cut here---------------end--------------->8--- KJ -- http://blogdebart.pl/2012/06/24/hiena/ I have an existential map. It has "You are here" written all over it. -- Steven Wright
