Re: VOLHDR or something
"Ruud Baart" <[email protected]> Thu, 15 Dec 2005 13:56:40 +0100
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Organization | IT's Prompt or never ... |
| Message-ID | <[email protected]> |
Yep, part of my backupscript reads label before making a dump. I suppose you can read
the following parts of my star dumpscript
newlabel="`hostname -f`:`date +%Y%m%d-%H:%M`"
star -c ... VOLHDR="${newlabel}" ... other options ...
# bs=x is dependend of device, some devices support
# only big blocksizes (8k, 16k and more)
# Some experimenting is neccessary
# Read tape label
oldlabel=`${dd} if=${dev} bs=${blocksize} count=1 2>>${err} | \
gawk -F'"' 'NR==1 {print $2}' 2>>${err}`
something like this.
> Hi,
>
> Is it possible to mark tapes somehow? I would like to name tapes and than
> before I do backup, I will read tape name, than do backup and write tape
> name in log.
> Can VOLHDR function be used somehow for this purpose?
>
> Zoran
>
> _______________________________________________
> Star-users mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/star-users
>
Met vriendelijke groet/Regards,
Ruud Baart
Prompt, Kerkstraat 173
5261 CW Vught, Netherlands
Tel: +31 73 6567041
http://www.prompt.nl