On Wednesday 08 February 2006 09:16, Javier Payno wrote:
> Hi Arno
>
> Fist of all, apologize for my English :-S
>
> El Martes, 7 de Febrero de 2006 20:04, Arno Lehmann escribió:
> > I can't say I actually understand every detail of your question, but you
> > should try the 'delete media' command from the console. It shouldn't
> > damage the catalog at all, and it removes all records related to the
> > given volume from the catalog.
>
> Well, that I want to know is which rows delete on database tables the
> command delete volume to implement it on a Perl script and automate some
> acctions

This not a good thing to implement via a Perl script operating directly on the 
database. You are very likely to make an error and get the database into an 
unstable condition, or if a user is using your package and updates to a new 
version of Bacula with a different database formate or new records, you will 
likewise be in trouble.  

The best solution is to use your Perl script (for these kinds of operations 
that delete records or create records) to interface to bconsole and then use 
the appropriate "Bacula" command to do it.

>
> Thanks a lot for your answer, by


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to