I am playing around with this now and it works great on a Windows PC…thanks!
Also trying it out on a Synology NAS. I got the Linux binary and the “logon” and “logout” commands work, but when I tell it to “list backups” it just hangs.
Any ideas? (I hit CTRL+C after about 5 minutes in the below snippet)
bash-4.3# ./duplicati_client login
Login successful
bash-4.3# ./duplicati_client list backups
^CTraceback (most recent call last):
File "urllib3/connectionpool.py", line 380, in _make_request
TypeError: getresponse() got an unexpected keyword argument 'buffering'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "duplicati_client.py", line 1115, in <module>
File "duplicati_client.py", line 99, in main
File "duplicati_client.py", line 196, in list_resources
File "duplicati_client.py", line 213, in fetch_backup_list
File "duplicati_client.py", line 235, in fetch_resource_list
File "requests_wrapper.py", line 28, in get
File "requests/api.py", line 72, in get
File "requests/api.py", line 58, in request
File "requests/sessions.py", line 508, in request
File "requests/sessions.py", line 618, in send
File "requests/adapters.py", line 440, in send
File "urllib3/connectionpool.py", line 601, in urlopen
File "urllib3/connectionpool.py", line 383, in _make_request
File "http/client.py", line 1197, in getresponse
File "http/client.py", line 297, in begin
File "http/client.py", line 258, in _read_status
File "socket.py", line 575, in readinto
KeyboardInterrupt
[7727] Failed to execute script duplicati_client
bash-4.3# ./duplicati_client logout
Logging out...
bash-4.3#