@model ProjectRestorePointListViewModel @{ ViewData["Title"] = "Restore Points"; var defaultRestorePointName = $"Manual restore point - {DateTime.Now:yyyy-MM-dd HH:mm}"; } @functions { private static string FormatSize(long bytes) { if (bytes >= 1024 * 1024) { return $"{bytes / 1024d / 1024d:0.0} MB"; } if (bytes >= 1024) { return $"{bytes / 1024d:0.0} KB"; } return $"{bytes} bytes"; } }

Project backup

Restore Points

Create manual database-saved snapshots of the project export JSON.

Back to project Download Project Backup
@if (TempData["ProjectRestorePointMessage"] is string message) {
@message
}

Manual snapshot

Create restore point

Saved restore points

@if (!Model.RestorePoints.Any()) {

No restore points yet.

} else {
@foreach (var restorePoint in Model.RestorePoints) { }
Name Type Created Size Notes
@restorePoint.RestorePointName @restorePoint.RestorePointType @restorePoint.CreatedDateUtc.ToLocalTime().ToString("dd MMM yyyy HH:mm") @FormatSize(restorePoint.JsonSizeBytes) @restorePoint.Notes Download
@foreach (var restorePoint in Model.RestorePoints) { } }