Re: amdd/ammt usage
2006-01-29 11:30:24
On Sunday 29 January 2006 10:28 am, Omer wrote:
> ... which produce three distinct files on the tape. How can I merge the
> label and the tar file so I can restore it with:
You have to write the entire file at once. Anytime you close the file
descriptor (that is, a program exits), the system will automatically write a
filemark on the tape.
So, do something like
(echo $HEADER | dd bs=32k count=1 conv=sync; # To pad to 32kb
tar -cf- ...; ) | amdd bs=32k ...
Cheers,
--Ian
--
Forums for Amanda discussion: http://forums.zmanda.com/
|
|
|