'Return status of cloud backup as a dict.
Is there a way to get progress for Server version?'

def backup_progress(self):

    epoch_time = int((time.time() * 1000))
    if (self.deploymentType == u'Cloud'):
        url = (self._options[u'server'] + (u'/rest/obm/1.0/getprogress?_=%i' % epoch_time))
    else:
        logging.warning(u'This    functionality    is    not    available    in    Server    version')
        return None
    r = self._session.get(url, headers=self._options[u'headers'])
    try:
        return json.loads(r.text)
    except Exception:
        import defusedxml.ElementTree as etree
        progress = {}
        try:
            root = etree.fromstring(r.text)
        except etree.ParseError as pe:
            logging.warning((u'Unable    to    find    backup    info.        You    probably    need    to    initiate    a    new    backup.    %s' % pe))
            return None
        for k in root.keys():
            progress[k] = root.get(k)
        return progress
