mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +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 @@ Unlike previous ShiftOS site revamps, your account got migrated over. However, t
|
||||||
string backupUrl = backupDir.Remove(0, 1) + "/ShiftOS-" + DateTime.Now.ToString() + ".zip";
|
string backupUrl = backupDir.Remove(0, 1) + "/ShiftOS-" + DateTime.Now.ToString() + ".zip";
|
||||||
string backupname = backupServerDir + "\\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();
|
var backupData = new DatabaseBackup();
|
||||||
backupData.Id = Guid.NewGuid().ToString();
|
backupData.Id = Guid.NewGuid().ToString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue