Am 16.05.2011 17:54, schrieb Jean-Louis Martineau:

>> dd if=juno.sgw_enc_test.0  skip=1 | /usr/local/sbin/amcrypt -d
>>   
> The default dd block size is never good for amanda, add bs=32k to dd
> argument. this is to skip the amanda header, do the file you restored
> include the amanda header?

I now restored one from tape with "amrestore -r" and try to decrypt it
manually:

# dd if=juno.snap_mnt_ipcop_enc.20110515204708.0.0000001.RAW bs=32k
skip=1 | amcrypt -d | tar -tvf-

tar: Das sieht nicht wie ein „tar“-Archiv aus.
tar: Springe zum nächsten Kopfteil.
tar: A lone zero block at 23


less says:

To restore, position tape at start of file and run:
        dd if=<tape> bs=32k skip=1 | /usr/local/sbin/amcrypt -d |
/usr/local/bin/amgtar -xpGf - ...


Thanks for your help, Stefan

Reply via email to