We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a287d commit 98c0530Copy full SHA for 98c0530
1 file changed
urbackup_api/__init__.py
@@ -416,6 +416,22 @@ def start_incr_image_backup(self, clientname):
416
def start_full_image_backup(self, clientname):
417
return self._start_backup(clientname, 'full_image');
418
419
+ def get_clientimagebackups(self, clientid = 0):
420
+ if not self.login():
421
+ return None
422
+
423
+ backups = self._get_json("backups", { "sa": "backups", "clientid": clientid })
424
425
+ return backups["backup_images"]
426
427
+ def get_clientbackups(self, clientid = 0):
428
429
430
431
432
433
+ return backups["backups"]
434
435
def add_extra_client(self, addr):
436
if not self.login():
437
return None
0 commit comments