diff --git a/python/mujinwebstackclient/webstackclient.py b/python/mujinwebstackclient/webstackclient.py index 826c503..44aa893 100644 --- a/python/mujinwebstackclient/webstackclient.py +++ b/python/mujinwebstackclient/webstackclient.py @@ -973,7 +973,7 @@ def DeleteAllITLPrograms(self, timeout=5): # Backup restore # - def Backup(self, saveconfig=True, savemedia=True, backupscenepks=None, saveapps=True, saveitl=True, savedetection=False, savecalibration=False, timeout=600): + def Backup(self, saveconfig=True, savemedia=True, backupscenepks=None, saveapps=True, saveitl=True, savedetection=False, savecalibration=False, savedebug=False, timeout=600): """Downloads a backup file :param saveconfig: Whether we want to include configs in the backup, defaults to True @@ -982,6 +982,7 @@ def Backup(self, saveconfig=True, savemedia=True, backupscenepks=None, saveapps= :param saveitl: Whether we want to include itl programs in the backup, defaults to True :param savedetection: Whether we want to include detection files in the backup, defaults to False :param savecalibration: Whether we want to include calibration files in the backup, defaults to False + :param savedebug: Whether we want to include debug files in the backup, defaults to False :param backupscenepks: List of scenes to backup, defaults to None :param timeout: Amount of time in seconds to wait before failing, defaults to 600 :raises WebstackClientError: If request wasn't successful @@ -994,6 +995,7 @@ def Backup(self, saveconfig=True, savemedia=True, backupscenepks=None, saveapps= 'itl': 'true' if saveitl else 'false', 'detection': 'true' if savedetection else 'false', 'calibration': 'true' if savecalibration else 'false', + 'debug': 'true' if savedebug else 'false', 'backupScenePks': ','.join(backupscenepks) if backupscenepks else None, }, timeout=timeout) if response.status_code != 200: