#pragma once
#include
namespace DB
{
enum class BackupStatus
{
/// Statuses of making backups
PREPARING,
MAKING_BACKUP,
BACKUP_COMPLETE,
FAILED_TO_BACKUP,
/// Status of restoring
RESTORING,
RESTORED,
FAILED_TO_RESTORE,
MAX,
};
std::string_view toString(BackupStatus backup_status);
const std::vector> & getBackupStatusEnumValues();
}