From 35e94c2e94c32ff1731acb8d02b20e4accc3ca4a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Mar 2017 19:39:42 -0400 Subject: Database backup creation :smiley: --- Project-Unite/Views/Admin/Backups.cshtml | 66 ++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Project-Unite/Views/Admin/Backups.cshtml (limited to 'Project-Unite/Views') diff --git a/Project-Unite/Views/Admin/Backups.cshtml b/Project-Unite/Views/Admin/Backups.cshtml new file mode 100644 index 0000000..313c2e7 --- /dev/null +++ b/Project-Unite/Views/Admin/Backups.cshtml @@ -0,0 +1,66 @@ +@model Project_Unite.Models.BackupViewModel +@{ + ViewBag.Title = "Backups"; +} + +

Backups

+ +

On this page you can request a backup of the current database and/or asset folder - or restore from a previous backup.

+ + + +
+
+

Databases

+

The database is what holds the bulk of the data on the ShiftOS site - forum posts, users, ACL rules, etc. Backing up the database can help in the case of spam, or a bug, or if you need to export the data to another software platform.

+ + + + + + + + @foreach(var backup in Model.Databases) + { + + + + + } +
BackupActions
@Html.UserLink(backup.UserId) on @backup.Timestamp + Download + @Html.ActionLink("Restore", "RestoreDatabaseBackup", new { id = backup.Id }); +
+
+
+

Asset folders

+

The asset folder is a dumping ground for user-created content hosted by ShiftOS. Avatars, profile backdrops, skins, game releases and other files not suited for storage within the database are put here.

+ +

User data is sorted by the site into folders named after the user. Backing this folder up can help in case the site's server goes down unexpectedly and cannot get back up and running - at least you have the user-created content and can bring it to a new server.

+ + + + + + + + @foreach (var backup in Model.AssetFolders) + { + + + + + } +
BackupActions
@Html.UserLink(backup.UserId) on @backup.Timestamp + Download + @Html.ActionLink("Restore", "RestoreAssetBackup", new { id = backup.Id }); +
+
+
\ No newline at end of file -- cgit v1.2.3