namespace AIStudio.Tools.DataBackup;
///
/// How a backup ended.
///
/// Whether the backup was written completely. A cancelled backup counts as no success.
/// Whether the user stopped the backup.
/// The file of the backup.
/// How many files the backup holds.
/// How large these files are together, before they were compressed.
/// Whether the backup holds the indexes of the data sources.
/// Why the backup failed, for the user. Empty when it did not fail.
public sealed record DataBackupResult(bool Success, bool Cancelled, string ArchivePath, int FileCount, long Bytes, bool IncludesDataSourceIndexes, string Issue);