示例#1
0
 def execute_command(self, command):
     bconsole.execute_command(command)
示例#2
0
def main():
    bconsole.set_configfile("/etc/bacula/bconsole.conf")
    bconsole.connect()
    print bconsole.execute_command("status dir=linconet-dir")
    bconsole.close()
示例#3
0
文件: backends.py 项目: veezor/Nimbus
 def execute_command(self, command):
     bconsole.execute_command(command)
示例#4
0
def main():
    bconsole.set_configfile("/etc/bacula/bconsole.conf")
    bconsole.connect()
    print bconsole.execute_command("status dir=linconet-dir")
    bconsole.close()