mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Include option to remove auto backup files older than given number of days. New property created to specify how many days to keep files for. Off by default, also made sure only oar files will be removed.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
20b47fce07
commit
6e0e35cd66
@@ -49,6 +49,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
|
||||
this.Timer = null;
|
||||
this.NamingType = NamingType.Time;
|
||||
this.Script = null;
|
||||
this.KeepFilesForDays = 0;
|
||||
}
|
||||
|
||||
public Dictionary<Guid, string> LiveRequests
|
||||
@@ -116,6 +117,12 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
|
||||
set;
|
||||
}
|
||||
|
||||
public int KeepFilesForDays
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public new string ToString()
|
||||
{
|
||||
string retval = "";
|
||||
|
||||
Reference in New Issue
Block a user