Hi there!
It's on it's way, and doesn't work correctly - at the moment.
I'm runnung the latest releast (16.2) and I've installed:
python-bareos (17.2)
bareos-director-python-plugin
bareos-filedaemon-python-plugin
bareos-filedaemon-ldap-python-plugin
bareos-storage-python-plugin
To test local backups I updated these files:
/etc/bareos/bareos-dir.d/client/Bareos-fd.conf
Connection From Client To Director = yes
Heartbeat Interval = 60
/etc/bareos/bareos-fd.d/director/bareos-dir.conf
Address = 127.0.0.1
Connection From Client To Director = yes
bconsole is showing one connected client: bareos-fd. Yes! Great!
If if run the script (triggerjob.py -d --password "supergeheimespasswort"
127.0.0.1) it get this:
Traceback (most recent call last):
File "/usr/local/bin/triggerjob.py", line 72, in <module>
clients = get_connected_clients(director)
File "/usr/local/bin/triggerjob.py", line 16, in get_connected_clients
clients = [ client['name'] for client in result ]
TypeError: string indices must be integers
So, I'm a Windows guy, rather old and German. This drives me crazy. :-)
At the moment. ;-)
I'm nearly shure that I did something wrong, but at the moment I've got no idea.
I hope it's rather easy for a linux guy. Isn't it?
Thank you very much and a pleasant rest of the week!
Ciao for now
jb
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.