On Fri, Aug 05, 2011 at 02:31:23PM +0000, Gunnarsson, Gunnar wrote:
> Hi,
>
> I'm runing amvault excluding host starting with t or u but I want to keep one
> u machine as well.
> How can I specify this with amvault ? I though that this might work out with
> this but apparently not.
>
> $ amvault --dry-run -o mailto=vault -o tapetype=HP-Ultrium3 --fulls-only
> --src-timestamp 20110711-20110731 \
> --dst-changer vault --label-template "daily-1%%" --autolabel any daily
> '[!^tu]*' ux5042 '*'
> Total Size: 0 KB
^^^^^^
Unless amvault has some special syntax I don't think this is what you want.
I expect you are trying to say anything that doesn't start with a 't' or a 'u'.
What it really is saying depends on whether amvault is using shell style
patterns or editor style regular expressions. If the former you want
'[!tu]' and the latter would be '[^tu]'.
>
> $amvault --dry-run -o mailto=vault -o tapetype=HP-Ultrium3 --fulls-only
> --src-timestamp 20110711-31 \
> --dst-changer vault --label-template "daily-1%%" --autolabel any \
> daily '[!^tu]*'
> snipped
>
> daily-2 55 delfi2 /cots 20110731200102 0 5451280
> Total Size: 936995691 KB
>
>
> -- Thanks for any help Gunnar Gunnarsson
>
>>> End of included message <<<
--
Jon H. LaBadie [email protected]
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)