Il giorno ven, 09/03/2007 alle 15.34 +0100, Fabio Marcone ha scritto:
> io non devo fare backup di istanze di zope ma dovrei eseguire il
> backup/restore da un'interfaccia web zope. vorrei gestire bacula da
> zope/python (se avesse un comando con i parametri invece della console
> non avrei problemi...).

ah ok :)


> ho visto che da python si possono gestire gli eventi di bacula ma non
> posso ad esempio vedere i backup eseguiti o avviare un restore di un
> certo file, sbaglio?

Non ho mai approfondito, cmq prova a dare uno sguardo qua:
http://www.bacula.org/dev-manual/Python_Scripting.html

"The run method takes a single string argument, which is the run command
(same as in the Console) that you want to submit to start a new Job. The
value returned by the run method is the JobId of the job that started,
or -1 if there was an error."

Penso che sia quello che ti serve, che poi รจ quello che invocheresti da
console.

Invece mi pare proprio che non esista nulla per vedere lo status del
directori, e quindi vedere la lista dei jobs eseguiti

-- 
Davide Corio                                davide.corio<at>redomino.com
Redomino S.r.l.            C.so Monte Grappa 90/b - 10145 Torino - Italy
Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/


-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a