On Tuesday 18 July 2006 18:21, Dan Horne wrote: > > What happens if you define an autochanger resource and make > > the two drives part of an autochanger? Even though there is > > no _true_ autochanger, it seems to me that the logic would be > > there to make it do what you want. > > I don't see how this would work, since an autochanger is a single > physical device (eg: /dev/nsa0) whereas the two tape drives are two > separate physical devices (/dev/nsa0 and /dev/nsa1). The autochanger > setup would just send a signal to the single device to insert a new > tape, but I need to be able to overflow onto a second physical device.
No, it cannot work as you suggest. There are two possible solutions that I know of: 1. There are two scripts in the examples directory that do more or less what you want each one works differently. 2. It could be possible to modify the disk-changer script in the scripts directory to work with tape drives rather than disk volumes. The same techniques apply, and that is probably how the scripts in examples works. > > >From what I can see, this can't be done currently. Logically, it seems > > that in order for this to work, bacula would need a new resource type in > the Storage Daemon config. Possibly a "DevPool" resource. In Backup > Exec, all devices in a pool needed to be the same, but because of the > way bacula works it doesn't seem like this would be a necessity. A > pseudo-example might look like this: > > DevPool { > Name = "DevPool1" > ... > } > > Device ( > Name = "TapeDrive1" > DevPool = "DevPool1" > DevPoolPriority = 1 > ... > } > > Device ( > Name = "TapeDrive2" > DevPool = "DevPool1" > DevPoolPriority = 2 > ... > } > > That could create a device pool that could be referenced as a backup > device in a job (the where), which would backup first to the lowest > DevPoolPriority device. When that device is full, it will begin using > the second lowest DevPoolPriority device, etc. Just sort of a wishlist > sort of thing. Anyone else think this would be a good thing? It would > save on having to purchase an autoloader if you already have multiple > independent tape drives. > > I'll stop dreaming now. > > -DH > > CONFIDENTIALITY NOTICE: > This email message, including any attachments, is for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or distribution is > prohibited. If you are not the intended recipient, please contact the > sender by reply email and destroy all copies of the original message. > > SPAM-FREE 1.0(2476) > > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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