
IndexBackup
- Namespace
- Rowles.LeanCorpus.Index.Backup
- Assembly
- Rowles.LeanCorpus.dll
Creates, validates, and restores LeanCorpus index backups.
public static class IndexBackup
IndexBackup
CurrentManifestFormatVersion
Gets the current backup manifest format version.
ManifestFileName
Gets the manifest file name used in backup directories.
Backup(string, string, IndexBackupOptions?)
Creates a backup by copying all manifest files into a backup directory.
CreateManifest(string, IndexBackupOptions?)
Creates a backup manifest for a selected commit without copying files.
ReadManifest(string)
Reads a backup manifest from a backup directory.
Restore(string, string, IndexRestoreOptions?)
Restores a validated backup into a target index directory.
ValidateBackup(string)
Validates that every file listed in a backup manifest is present and has the recorded length and checksum.