Hi I am writing wrapper scripts for amdump and amflush which add some extra files on the tape after a normal dump/flush. It's working fine but I would like to make this consistent with the files written by Amanda, with one header block for the label/comment, so I can restore them with the same amdd command (skip=1). I'm actually doing this:
echo "AMANDA: EXTRA-START $start_date" | amdd bs=32k of="$TAPE" count=1 tar -cf - /extra/dir | amdd bs=32k of="$TAPE" echo "AMANDA: EXTRA-END" | amdd bs=32k of="$TAPE" count=1 ... which produce three distinct files on the tape. How can I merge the label and the tar file so I can restore it with: ammt bs=32k if=$TAPE skip=1 | tar -xf - ? Thanks -- Omer
