mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 23:07:23 +00:00
Added backups of all data, restorable on another computer (#1008)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
ab45580473
commit
936043319c
144 files changed
+10417
-424
No files matched your search
@@ -0,0 +1,22 @@
|
||||
namespace AIStudio.Tools.DataBackup;
|
||||
|
||||
/// <summary>
|
||||
/// What a backup holds, and what wrote it.
|
||||
/// </summary>
|
||||
/// <param name="FormatVersion">The version of the format, cf. DataBackupFormat.FORMAT_VERSION.</param>
|
||||
/// <param name="AppVersion">The version of AI Studio which wrote the backup.</param>
|
||||
/// <param name="SettingsVersion">The version of the settings in the backup.</param>
|
||||
/// <param name="CreatedAtUtc">When the backup was written.</param>
|
||||
/// <param name="SourceDataDirectory">The data folder the backup was made from, for whoever wonders where it came from.</param>
|
||||
/// <param name="SourceConfigDirectory">The configuration folder the backup was made from.</param>
|
||||
/// <param name="IncludesDataSourceIndexes">Whether the backup holds the indexes of the data sources. Without them, a restore keeps the indexes there are.</param>
|
||||
/// <param name="Entries">Every file of the backup, the manifest aside.</param>
|
||||
public sealed record DataBackupManifest(
|
||||
int FormatVersion,
|
||||
string AppVersion,
|
||||
string SettingsVersion,
|
||||
DateTimeOffset CreatedAtUtc,
|
||||
string SourceDataDirectory,
|
||||
string SourceConfigDirectory,
|
||||
bool IncludesDataSourceIndexes,
|
||||
IReadOnlyList<DataBackupManifestEntry> Entries);
|
||||
Reference in new issue
Block a user