On Friday 03 June 2005 04:14 pm, Misty Stanley-Jones wrote:
> On Friday 03 June 2005 04:02 pm, Kern Sibbald wrote:
> > Unfortunately, neither of those good ideas will help.  The Volume name is
> > embedded in the Bacula Volume label record on the medium so that Bacula
> > can find out what the Volume name really is.  To change it, you would
> > need to change the Volume data, which is not something I recommend. All
> > records are contained in blocks, and all blocks are checksummed, so it
> > would be a real pain to try to change a Volume name ...
> >
> > Doing a bcopy might work, but it is largely untested. However, bcopy does
> > not update the catalog, so your first suggestion might be valid after a
> > bcopy. If anyone tries it, please let me know ...
>
> I will try it after I have another full backup cycle.
>
> Thanks,
> Misty

This might just work, with one minor addition. Since I have bacula disk 
volumes, too, I decided to give it a quick try. I used bcopy to copy one disk 
volume to another, new one. Then, I used bls to do a quick test of the 
integrity of the new volume. It didn't work -- it kept complaining about the 
volume label.

So, as another test, using bconsole, I used the label command to create a new 
disk volume in the archive, as well as in the catalog. Then, I used the bcopy 
program to copy an existing archive into the new volume and it seemed to 
work. Now, bls would list all of the same files that were in the original 
volume and displayed the new volume name.

The next step would be to use the bscan program to enter this data into the 
catalog, but I don't seem to have a copy of bscan on my system. :(

cmr

-- 
C M Reinehr
AMS Enterprises, LLC             (334) 269-4358 (Voice)
323 Bibb St
P O Box 20
Montgomery AL 36111-0020  (334) 262-1706 (Fax)
----
Debian 'Sarge': Registered Linux User #182151
------
"Simple, clear purpose and principles give rise to complex and intelligent
behavior.  Complex rules and regulations give rise to simple and stupid
behavior." -- Dee Hock


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to