Table of Contents

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

FilePath string

Full path, which is what a restore reads from.

FileName string

Its name, which is also where the other fields are read from.

CreatedAt DateTime

The file's write time.

SizeBytes long

Size of the zip.

Trigger string

Why 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

DateTime

FileName

Its name, which is also where the other fields are read from.

public string FileName { get; init; }

Property Value

string

FilePath

Full path, which is what a restore reads from.

public string FilePath { get; init; }

Property Value

string

SizeBytes

Size of the zip.

public long SizeBytes { get; init; }

Property Value

long

Trigger

Why it was made ("start", "stop", "manual", "before-restore"), or "?" for a name this app didn't write.

public string Trigger { get; init; }

Property Value

string