Re: [Bacula-users] Virtual autochangers: how to "reserve" devices and "media type"
2016-07-01 10:06:50
On 7/1/2016 5:17 AM, Area de Sistemas
wrote:
Hi,
We have been using bacula with DISK BASED BACKUP during
years (in a multi-pool, multi-device configuration)
Recently we have "redefined" the devices as autochangers
according the Bacula documentation.
Although the "whole thing" appears to be running ok we have
TWO questions:
1) In the previous "device mode", the MediaType of all
defined devices was set as "File"...Now, in the "autochanger
mode" I've also used the same MediaType "File" for ALL devices
in ALL autochangers...
* Is this right or MUST I use a different MediaType for
every autochanger (in all its devices)?
A different MediaType should be used for each autochanger. This is
because a volume on one autochanger cannot be "loaded" into another,
since the volume files are on different disks.
* If I must use a different MediaType...the change
implies some problem with existent volumes? Must I do/change
something with the existent volumes?
Maybe not. If you also use different pools for each autochanger, so
that each pool contains volumes from only one autochanger, then it
might not matter. Jobs using a single pool would only ever use one
autochanger. However, with pools that have volumes from more than
one autochanger, there is a problem. A job is only assigned a single
device to write on, so if the pool contains volumes that are on
another device, then Bacula may select a volume that cannot be
loaded into the assigned device. This is why the MediaType should be
different for each autocahnger. It prevents Bacula from selecting a
volume from a pool that cannot be used in the assigned device.
2) According Bacula documentation is possible to "reserve"
a device in an autochanger setting the property
"Autoselect=no" in that device definition but...
* How can I force bacula to use these reserved devices
for a restore command?
* The Bacula documentation sais that this can be done
but NOT HOW, and apparently the restore command (at least
interactively) only permits specify the Storage, not the
device...
Regards.
--
Jose Manuel Blanco.
Area de
Sistemas
Servicio de las Tecnologias de la Informacion y
Comunicaciones (STIC)
Universidad de Valladolid
Edificio Alfonso VIII, C/Real de Burgos s/n. 47011,
Valladolid - ESPAÑA
Telefono: 983 18-6410, Fax: 983 423271
E-mail: sistemas AT uva DOT es
AVISO SOBRE CONFIDENCIALIDAD. La legislación española
ampara el secreto de las comunicaciones. Este correo
electrónico y sus anexos son estrictamente
confidenciales. Si Vd. no es el destinatario del
mismo, por favor, notifíquenoslo inmediatamente y
destruya el original. No deberá copiar este mensaje ni
sus anexos o usarlo para propósito alguno, ni divulgar
su contenido a ninguna persona.
WARNING ABOUT CONFIDENCIALITY. Spanish law guarantees
privacy in electronic communications.This message and
its attachments are confidential. If you are not the
intended recipient please, notify us inmediately and
destroy or the original to us. You should not copy
this message or use it for any purpose, nor disclose
its content to any other person.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|