mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Backup Interval Changes
- The backup interval has been changed to use the value in the global settings.
This commit is contained in:
parent
7108a43a3a
commit
db6bbd3f7e
8 changed files with 60 additions and 14 deletions
|
|
@ -583,8 +583,8 @@ namespace ServerManagerTool
|
|||
SettingsUtils.BackupUserConfigSettings(Config.Default, "userconfig.json", installFolder, includeBackup ? backupFolder : null);
|
||||
SettingsUtils.BackupUserConfigSettings(CommonConfig.Default, "commonconfig.json", installFolder, includeBackup ? backupFolder : null);
|
||||
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("userconfig.json", backupFolder, ServerApp.BACKUP_DELETEINTERVAL);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("commonconfig.json", backupFolder, ServerApp.BACKUP_DELETEINTERVAL);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("userconfig.json", backupFolder, Config.Default.AutoBackup_DeleteInterval);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("commonconfig.json", backupFolder, Config.Default.AutoBackup_DeleteInterval);
|
||||
}
|
||||
|
||||
private void ShutDownApplication()
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ namespace ServerManagerTool.Lib
|
|||
|
||||
public const int MUTEX_TIMEOUT = 5; // 5 minutes
|
||||
public const int MUTEX_ATTEMPTDELAY = 5000; // 5 seconds
|
||||
public const int BACKUP_DELETEINTERVAL = 7; // 7 days
|
||||
|
||||
private const int STEAM_MAXRETRIES = 10;
|
||||
private const int RCON_MAXRETRIES = 3;
|
||||
|
|
@ -1954,7 +1953,7 @@ namespace ServerManagerTool.Lib
|
|||
{
|
||||
try
|
||||
{
|
||||
var deleteInterval = Config.Default.AutoBackup_EnableBackup ? Config.Default.AutoBackup_DeleteInterval : BACKUP_DELETEINTERVAL;
|
||||
var deleteInterval = Config.Default.AutoBackup_DeleteInterval;
|
||||
|
||||
LogProfileMessage("");
|
||||
LogProfileMessage("Delete old profile backup files started...");
|
||||
|
|
@ -2177,7 +2176,7 @@ namespace ServerManagerTool.Lib
|
|||
{
|
||||
try
|
||||
{
|
||||
var deleteInterval = Config.Default.AutoBackup_EnableBackup ? Config.Default.AutoBackup_DeleteInterval : BACKUP_DELETEINTERVAL;
|
||||
var deleteInterval = Config.Default.AutoBackup_DeleteInterval;
|
||||
|
||||
LogProfileMessage("");
|
||||
LogProfileMessage("Delete old server backup files started...");
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
<entry>
|
||||
<id>urn:uuid:D0681B47-5715-473E-99D3-63F475A997C4</id>
|
||||
<title>1.1.429 (1.1.429.1)</title>
|
||||
<summary>1.1.429.1</summary>
|
||||
<title>1.1.429 (1.1.429.2)</title>
|
||||
<summary>1.1.429.2</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-18T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
<br/>
|
||||
<ul>
|
||||
<li>World Save Zipping - have changed the way the zip file is created. All files are now added to the zip in one pass, rather than as separate files.</li>
|
||||
<li>Backup Interval Changes - The backup interval has been changed to use the value in the global settings, when auto-backup is enabled or not.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,29 @@
|
|||
<link href="http://arkservermanager.freeforums.net/" />
|
||||
<updated>2022-05-15T00:00:00Z</updated>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:661C8C8B-B1DC-4368-95E7-A9C29C274B5B</id>
|
||||
<title>1.1.429 (1.1.429.2)</title>
|
||||
<summary>1.1.429.2</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-18T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||
<p>
|
||||
<u style="font-size: .9em;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Backup Interval Changes - The backup interval has been changed to use the value in the global settings, when auto-backup is enabled or not.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:D0681B47-5715-473E-99D3-63F475A997C4</id>
|
||||
<title>1.1.429 (1.1.429.1)</title>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue