29 using System.Collections.Generic;
32 namespace OpenSim.
Region.OptionalModules.
World.AutoBackup
41 private Dictionary<Guid, string> m_liveRequests = null;
47 this.BusyCheck =
true;
48 this.SkipAssets =
false;
50 this.NamingType = NamingType.Time;
52 this.KeepFilesForDays = 0;
55 public Dictionary<Guid, string> LiveRequests
58 return this.m_liveRequests ??
59 (this.m_liveRequests =
new Dictionary<Guid, string>(1));
69 public System.Timers.Timer
Timer
75 public double IntervalMinutes
79 if (this.
Timer == null)
85 return this.Timer.Interval / 60000.0;
96 public bool SkipAssets
108 public string BackupDir
120 public int KeepFilesForDays
130 retval +=
"[AUTO BACKUP]: AutoBackup: " + (Enabled ?
"ENABLED" :
"DISABLED") +
"\n";
131 retval +=
"[AUTO BACKUP]: Interval: " + IntervalMinutes +
" minutes" +
"\n";
132 retval +=
"[AUTO BACKUP]: Do Busy Check: " + (BusyCheck ?
"Yes" :
"No") +
"\n";
133 retval +=
"[AUTO BACKUP]: Naming Type: " + NamingType.ToString() +
"\n";
134 retval +=
"[AUTO BACKUP]: Backup Dir: " + BackupDir +
"\n";
135 retval +=
"[AUTO BACKUP]: Script: " + Script +
"\n";
AutoBackupModuleState: Auto-Backup state for one region (scene). If you use this class in any way out...
System.Timers.Timer Timer
NamingType
Choose between ways of naming the backup files that are generated.