'Deserialize backup metadata from string into a dictionary.
:raises InvalidInput:'

@staticmethod
def decode_record(backup_url):

    try:
        return jsonutils.loads(base64.decode_as_text(backup_url))
    except TypeError:
        msg = _("Can't    decode    backup    record.")
    except ValueError:
        msg = _("Can't    parse    backup    record.")
    raise exception.InvalidInput(reason=msg)
