class DatabaseBackupRestoreService {

    public FlowIdentifier backupDatabase(Long workspaceId, NameOrCrn nameOrCrn, String location, String backupId) {
        Stack stack = stackService.getByNameOrCrnInWorkspace(nameOrCrn, workspaceId);
        MDCBuilder.buildMdcContext(stack);
        LOGGER.info("Initiating database backup flow for stack {}", stack.getId());
        return flowManager.triggerDatalakeDatabaseBackup(stack.getId(), location, backupId);
    }

}