Python3 web api wrapper

Version for UrBackup 2.x

For UrBackup 2.x the python web api wrapper is here now: https://github.com/uroni/urbackup-server-python-web-api-wrapper

Steps to use:

Requirements: Python3

 

Download the API wrapper script:

urbackup_api.py

 

In the same folder e.g. to start a full file backup for "testclient0":

import urbackup_api

server = urbackup_api.urbackup_server("http://192.168.1.23:55414/x", "admin", "foo")

server.start_full_file_backup("testclient0")