mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Comment out checks not to overwrite existing IAR/OAR files for now on "save iar/oar" since this causes problems for some backup systems.
Needs more thought, maybe an explicit --force/--overwrite switch Comments on http://opensimulator.org/mantis/view.php?id=6389
This commit is contained in:
@@ -210,8 +210,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
|
||||
Guid id, string firstName, string lastName, string invPath, string pass, string savePath,
|
||||
Dictionary<string, object> options)
|
||||
{
|
||||
if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, savePath))
|
||||
return false;
|
||||
// if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, savePath))
|
||||
// return false;
|
||||
|
||||
if (m_scenes.Count > 0)
|
||||
{
|
||||
|
||||
@@ -158,8 +158,10 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
else
|
||||
path = DEFAULT_OAR_BACKUP_FILENAME;
|
||||
|
||||
if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, path))
|
||||
return;
|
||||
// Not doing this right now as this causes some problems with auto-backup systems. Maybe a force flag is
|
||||
// needed
|
||||
// if (!ConsoleUtil.CheckFileDoesNotExist(MainConsole.Instance, path))
|
||||
// return;
|
||||
|
||||
ArchiveRegion(path, options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user