Re: Restore with a different dumptype

2017-10-05 Thread Jean-Louis Martineau
Matthias,

There is no dumptype at restore time. The information is written in the 
dump image.
The only solution is to do a manual restore.
amfetchdump -p ... | amgtar ...

Jean-Louis

On 05/10/17 06:15 AM, Matthias Teege wrote:
> On Wed, Oct 04, 2017 at 04:19:19PM +0200, Stefan G. Weichinger wrote:
>
> Hi,
>
>> Am 2017-10-04 um 16:08 schrieb Matthias Teege:
>>> is it possible to create backups on node "A" with dumptype "A" and
>>> restore on a different host with dumptype "B"? The problem is, that host
>>> "A" uses some special tools which are not present on node "B" so I have
>>> to use another dumptype for restore.
>> Show us the difference and we can tell you more.
>>
>> I mean "show the 2 dumptypes".
> the following one is used for backup:
>
> define dumptype dotar {
>  compress none
>  index yes
>  record yes
>  program "GNUTAR"
>  auth "bsd"
> }
>
> and I need to overwrite "programm" and set application:
>
>> You can always override the dumptype via "-o" commandline option, for
>> example.
> I've tried
>
> # amrecover -oDUMPTYPE:dotar:program="APPLICATION" -C daily
> parse error: unknown parameter 'DUMPTYPE:dotar:program'
> amrecover: errors processing config file
>
> but the config looks normal:
>
> # amgetconf --list dumptype | grep dotar
> dotar
>
> This is amanda 3.3.3 under CentOS.
>
> Thanks!
> Matthias
>
This message is the property of CARBONITE, INC. and may contain confidential or 
privileged information.
If this message has been delivered to you by mistake, then do not copy or 
deliver this message to anyone.  Instead, destroy it and notify me by reply 
e-mail


Re: Restore with a different dumptype

2017-10-05 Thread Matthias Teege
On Wed, Oct 04, 2017 at 04:19:19PM +0200, Stefan G. Weichinger wrote:

Hi,

> Am 2017-10-04 um 16:08 schrieb Matthias Teege:
> > is it possible to create backups on node "A" with dumptype "A" and
> > restore on a different host with dumptype "B"? The problem is, that host
> > "A" uses some special tools which are not present on node "B" so I have
> > to use another dumptype for restore.
> 
> Show us the difference and we can tell you more.
> 
> I mean "show the 2 dumptypes".

the following one is used for backup:

define dumptype dotar {
compress none
index yes
record yes
program "GNUTAR"
auth "bsd"
}

and I need to overwrite "programm" and set application:

> You can always override the dumptype via "-o" commandline option, for
> example.

I've tried

# amrecover -oDUMPTYPE:dotar:program="APPLICATION" -C daily
parse error: unknown parameter 'DUMPTYPE:dotar:program'
amrecover: errors processing config file

but the config looks normal:

# amgetconf --list dumptype | grep dotar
dotar

This is amanda 3.3.3 under CentOS.

Thanks!
Matthias



Re: Restore with a different dumptype

2017-10-04 Thread Stefan G. Weichinger
Am 2017-10-04 um 16:08 schrieb Matthias Teege:
> Hello,
> 
> is it possible to create backups on node "A" with dumptype "A" and
> restore on a different host with dumptype "B"? The problem is, that host
> "A" uses some special tools which are not present on node "B" so I have
> to use another dumptype for restore.

Show us the difference and we can tell you more.

I mean "show the 2 dumptypes".

You can always override the dumptype via "-o" commandline option, for
example.

I assume you talk about using amrecover?

man 8 amrecover : read "Configuration override"

Stefan


Restore with a different dumptype

2017-10-04 Thread Matthias Teege
Hello,

is it possible to create backups on node "A" with dumptype "A" and
restore on a different host with dumptype "B"? The problem is, that host
"A" uses some special tools which are not present on node "B" so I have
to use another dumptype for restore.

Thanks
Matthias