On 8/30/17 8:51 AM, Julian Poß wrote: > Am Mittwoch, 30. August 2017 15:24:30 UTC+2 schrieb Jon SCHEWE: >> If your changer has a barcode reader, then just print out barcodes for >> all of your tapes and put them on the front. Then run "label barcodes" >> from the bareos console. Then run "update slots". See chapter 19 of the >> manual for other details on using an autochanger. > Is there no way that bareos itself decides that it needs an additional volume > in a certain pool and labels the tape itself? > I guess your workaround will work, but i would have to manually select the > pool the tapes belong to. > Our plan is to run a full backup mondays and incremental backups from > thursday to sunday. > After one week we will change the media set, up to ten tape sets. > > You workaround would include running this every monday. > > So any kind of automation would be highly appreciated. > Else, i guess i need to change our future plans.. > Anyways, thanks for your answer. I suppose that bareos could scan the changer for tapes that don't have labels and then assume that it's supposed to use them and label them. However this turns into a configuration problem when changing out tapes. If you don't have labels on the front of your tapes and you want to pull one out for offsite storage how do you know which one is which?
Also how does bareos know which pool the tape should belong to? That kind of management is something that usually requires a human in the loop. I would expect you'd just need to label all tapes once and be done. That's how my setup works. I have a 16 tape changer with a cleaning tape in slot 16, so I have 15 data tapes. I loaded all of them, then ran "label barcodes" once. I then assigned the tapes to 2 pools; one for local backups and one for offsite backups. The first couple of times that I pulled my offsite tapes to rotate out I called "label barcodes" again with the new empty tapes. Then as the tapes that I've sent offsite get sent back to me I just put them in the changer, run "update slots" and bareos uses whatever tapes are in the changer. Because I sometimes forget to run "update slots" after swapping tapes I have a cron job that runs daily to run "update slots". This ensures that bareos always knows what is in the changer. Unless you're buying a new batch of tapes each week, you should not need to run "label barcodes" much after the initial setup. -- Research Scientist Raytheon BBN Technologies 5775 Wayzata Blvd, Ste 630 Saint Louis Park, MN, 55416 Office: 952-545-5720 -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
