Make console backup command do a forced backup rather than non-forced
Remove no-arg backup method for simplicity as it only make sense to call non-forced backup internallyviewer-2-initial-appearance
parent
537fefa3f2
commit
ab875b32c1
|
@ -1527,11 +1527,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// Wrapper for Backup() that can be called with Util.FireAndForget()
|
/// Wrapper for Backup() that can be called with Util.FireAndForget()
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void BackupWaitCallback(object o)
|
private void BackupWaitCallback(object o)
|
||||||
{
|
|
||||||
Backup();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Backup()
|
|
||||||
{
|
{
|
||||||
Backup(false);
|
Backup(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,7 +300,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public void BackupCurrentScene()
|
public void BackupCurrentScene()
|
||||||
{
|
{
|
||||||
ForEachCurrentScene(delegate(Scene scene) { scene.Backup(); });
|
ForEachCurrentScene(delegate(Scene scene) { scene.Backup(true); });
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool TrySetCurrentScene(string regionName)
|
public bool TrySetCurrentScene(string regionName)
|
||||||
|
|
|
@ -300,7 +300,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_log.Info("[CMMODEL]: Scheduling a backup of new scene object groups to backup.");
|
m_log.Info("[CMMODEL]: Scheduling a backup of new scene object groups to backup.");
|
||||||
scene.Backup();
|
scene.Backup(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -133,7 +133,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
|
||||||
m_firstEmptyCompileQueue = false;
|
m_firstEmptyCompileQueue = false;
|
||||||
m_oarFileLoading = false;
|
m_oarFileLoading = false;
|
||||||
|
|
||||||
m_scene.Backup();
|
m_scene.Backup(false);
|
||||||
|
|
||||||
c.From = "RegionReady";
|
c.From = "RegionReady";
|
||||||
if (m_lastOarLoadedOk)
|
if (m_lastOarLoadedOk)
|
||||||
|
|
Loading…
Reference in New Issue