Skip to content

Commit b846661

Browse files
authored
Update urbackup_api_test.py
Added examples on how to access backups through the API
1 parent 42a287d commit b846661

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/urbackup_api_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,9 @@
7070
print("Changed global setting successfully")
7171
else:
7272
print("Failed to change global setting")
73+
74+
#Get all file backups for a specified client id
75+
backups = server.get_clientbackups('8')
76+
77+
#Get all image backups for a specified client id
78+
backups_image = server.get_clientimagebackups('8')

0 commit comments

Comments
 (0)