'Create a backup entry in the DB.
Return the entry ID'

def _create_export_record_db_entry(self, volume_id=str(uuid.uuid4()), status=fields.BackupStatus.CREATING, project_id=str(uuid.uuid4()), backup_id=None):

    kwargs = {}
    kwargs['volume_id'] = volume_id
    kwargs['user_id'] = str(uuid.uuid4())
    kwargs['project_id'] = project_id
    kwargs['status'] = status
    if backup_id:
        kwargs['id'] = backup_id
    backup = objects.BackupImport(context=self.ctxt, **kwargs)
    backup.create()
    return backup
