Hi, On 9/28/2006 8:34 PM, m listus wrote: > hi again, > > >>> Volume Use Duration = 4j >> >>What is the "j" time modifier? I never encountered >>that in Bacula >>before, and the manual doesn't tell me what it >>means. > > yes :) > i was thinking in french, jour == day... > hail peer review!
Good. ... >>>for the fully automatic part, i looked at alex. >>>kuehn's script, and started modifying it (the >> >>delay >> >>>seems too short and i have to use a mailhost...). >> >>Well, I don't know which script that is, so I can't >>comment on this. > > the script basically emulates an autochanger by > wrapping the manual tape change and providing a > virtual slot for the needed tape. it also polls until > it gets a tape. > imho, it needs to do a loop with that process, as an > operator (like mine) could make 2 mistakes in a row! > the script needs a list of all volumes stored in some > var. Ah, ok. I understand. The problem I see is that the script would need some knowledge about what Bacula actually wants. Hmm. > i would rather use the <<EOF > Offline On Unmount = yes > Volume Poll Interval = 300 > Close on Poll = yes > EOF > combination. > > but it doesn't seem to work for me as i said here: > >>>docs, but it works partially: >>>.it doesn't eject the tape each time. only the 1st >> >>and >> >>>it keeps sending mail. >>>.it tries something like 5 times before aborting >> >>the >> >>>job. i don't want that! it should wait a day or >> >>two if >> >>>the operator (non tech savvy...) misses the point. >>> >>>i simply want bacula to eject the tape until it >> >>gets >> >>>the right one. Ok, I could imagine the following scenario (take this as a sketch only...) You take a script like the one you have. Now, this script needs to know which tape Bacula wants. If I'm not mistaken the %v variable can be used to supply that name to the script. In the script, wait until a tape is inserted. Rewind and use btape (or dd) to dump the label. Compare the volume name. If the volume name does not match, eject tape and start again. Doesn't sound too hard to create, I think. ... > ok. i haven't implemented client shutdown yet. Hey, I'm talking about server shutdown here! ;-) > >>>.bacula 1.38.10 on windows xp w/ fd. > > i haven't noticed until a week ago... > where is losedows xp's 1.36 bacula? can't find it. Should be on sourceforge... let's see: http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=110235 should have the files you probably want. > >>Use a mailing list on your local mta. Usually, a >>simple entry to the >>mail servers aliases file is enough. > > i'm avoiding using mta on the backup/file server. is > there a way of doing it w/ bacula? Sure. Keep in mind that you can use about any mail sending program you want. So you could either use another mailer than bsmtp, or create your own, probably as a wrapper script through bsmtp. Like: Capture stdin to temp file. Get subject from command line. cat temp_file | bsmtp -s subject -h mailhost -f sender_name recipient cat temp_file | bsmtp -s subject -h other_mailhost -f sender_name\ other_recipient or something... Arno > thank you, > mlistus > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users