hi,
> Where are you stuck? What have you tried?
i managed to get the schedule and pools right,
following the "daily, weekly, monthly tape usage
example".
i changed the "use volume once = yes" because it's
totally incompatible with multiple jobs (expecting ~8
client jobs).
i replaced them this way:
Pool {
Name = Weekly
# Use Volume Once = yes
Volume Use Duration = 4j
Pool Type = Backup
AutoPrune = yes
VolumeRetention = 30d
Recycle = yes
}
Pool {
Name = Monthly
# Use Volume Once = yes
Volume Use Duration = 8j
Pool Type = Backup
AutoPrune = yes
VolumeRetention = 365d
Recycle = yes
}
this way i expect a tape to be used for all the jobs
during that day, and still get bacula request another
tape for the following similar event.
i have tested my config a bit, and it works.
i tested the another event (weekly) by changing system
date like this:
date -s"day 01:29:30" #my schedule is set for 01:30:00
plus restarting daemons (is it necessary?)
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...).
meanwhile, i declared this device:
#HP StorageWorks DAT 40 USB
Device {
Name = hpsw
Media Type = DDS-4
Archive Device = /dev/nst0
AutomaticMount = yes
AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no
Label Media = Yes
Offline On Unmount = yes
##my config
Volume Poll Interval = 300 #tested with 60
Close on Poll = yes
##config as of a.k. tip
# Autochanger = yes
# Changer Command =
"/etc/bacula/scripts/ak-mtx-changer.sh %o %a %S"
Maximum Changer Wait = 259200 # 3days
}
my config part follows a hint in device declaration
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.
that's my status now.
btw, i'm using:
.bacula 1.36.2 (28 February 2005) on debian sarge w/
dir, sd and fd.
.bacula 1.36.3 (22 April 2005) on kubuntu dapper w/
fd.
.bacula 1.38.10 on windows xp w/ fd.
is there any compatibility issues i have to be aware
of?
knowing that i ran w/ this config w/ file backup for
nearly 1 month flawlessly, with the only warnings
concerning xp's fd failing to get files being opened
by other processes.
> Take a look at the archives or your INBOX. :)
i read them, i don't have that problem, but it seems
we want to do the same thing.
i have another question:
i'm using mail notification to get feedback from
bacula. when deploying on remote site, i want the
operator and me to get the mails.
the problem is that i have no mta on the server and my
mx and the operator's aren't the same. plus my mx
doesn't relay. (mx declared as arg to -h)
how can i solve this?
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users