Class WorldBackupService.BackupInfo
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
One backup zip already on disk, as the backups list shows it.
public record WorldBackupService.BackupInfo : IEquatable<WorldBackupService.BackupInfo>
- Inheritance
-
WorldBackupService.BackupInfo
- Implements
- Inherited Members
Constructors
BackupInfo(string, string, DateTime, long, string)
One backup zip already on disk, as the backups list shows it.
public BackupInfo(string FilePath, string FileName, DateTime CreatedAt, long SizeBytes, string Trigger)
Parameters
FilePathstringFull path, which is what a restore reads from.
FileNamestringIts name, which is also where the other fields are read from.
CreatedAtDateTimeThe file's write time.
SizeByteslongSize of the zip.
TriggerstringWhy it was made ("start", "stop", "manual", "before-restore"), or "?" for a name this app didn't write.
Properties
CreatedAt
The file's write time.
public DateTime CreatedAt { get; init; }
Property Value
FileName
Its name, which is also where the other fields are read from.
public string FileName { get; init; }
Property Value
FilePath
Full path, which is what a restore reads from.
public string FilePath { get; init; }
Property Value
SizeBytes
Size of the zip.
public long SizeBytes { get; init; }
Property Value
Trigger
Why it was made ("start", "stop", "manual", "before-restore"), or "?" for a name this app didn't write.
public string Trigger { get; init; }