-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Server Gremlin wrote:
> I don't think it will.  It sounds like the "relabel" command actually 
> requires you to first trash the volume; ie, remove it from the pool, 
> remove any data on it, etc.  It's like starting over.  I don't want to 
> do that.  I have jobs running on the tape.  In fact, one job was 
> part-way done on one tape, it filled that tape, and then I put in this 
> new tape on which I fubar'ed the label.  All I want to do is rename the 
> tape.  Can I do that?  I get the feeling I can't.

You can, but it involves some hackery and is of course completely
unsupported.

Step one: Shut down Bacula.
Step two: edit the volume's name in the SQL database (everywhere you
find it).
Step three: Start btape and use the 'writelabel' command to write the
new label to the tape.
Step four: Start Bacula again.

At this point, you should have your tape with the label you wrote to it
and the database showing the new name. I cannot guarantee though that
this won't wipe your data or screw up your catalog in some way.

Greetings,
     Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFG3Ybx2Vs+MkscAyURAibfAKDx4KotRcYFa/si+qQBy+z5mAQ4tACfVfqC
xCEqfdvolmw384P2QSBv0D0=
=DnrU
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to