mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-23 01:32:16 +00:00
oops
This commit is contained in:
parent
35e94c2e94
commit
562866d1c3
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public ActionResult BackupDatabase()
|
|||
string backupUrl = backupDir.Remove(0, 1) + "/ShiftOS-" + DateTime.Now.ToString() + ".zip";
|
||||
string backupname = backupServerDir + "\\ShiftOS-" + DateTime.Now.ToString() + ".zip";
|
||||
|
||||
System.IO.Compression.ZipFile.CreateFromDirectory(Server.MapPath("~/Uploads", backupname));
|
||||
System.IO.Compression.ZipFile.CreateFromDirectory(Server.MapPath("~/Uploads"), backupname));
|
||||
|
||||
var backupData = new DatabaseBackup();
|
||||
backupData.Id = Guid.NewGuid().ToString();
|
||||
|
|
Loading…
Reference in a new issue