diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs index eab6705..05321cd 100644 --- a/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs +++ b/OpenSim/Region/OptionalModules/World/AutoBackup/AutoBackupModule.cs | |||
@@ -167,8 +167,8 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup | |||
167 | 167 | ||
168 | m_console.Commands.AddCommand ( | 168 | m_console.Commands.AddCommand ( |
169 | "AutoBackup", true, "dooarbackup", | 169 | "AutoBackup", true, "dooarbackup", |
170 | "dooarbackup <regionName>", | 170 | "dooarbackup <regionName> | ALL", |
171 | "do single region backup into a oar. Identical to save oar but using AutoBackup settings for name etc", DoBackup); | 171 | "saves the single region <regionName> to a oar or ALL regions in instance to oars, using same settings as AutoBackup. Note it restarts time interval", DoBackup); |
172 | m_busy = true; | 172 | m_busy = true; |
173 | } | 173 | } |
174 | 174 | ||
@@ -287,6 +287,18 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup | |||
287 | Scene s; | 287 | Scene s; |
288 | try | 288 | try |
289 | { | 289 | { |
290 | if(name == "ALL") | ||
291 | { | ||
292 | m_masterTimer.Stop(); | ||
293 | for(int i = 0; i < scenes.Length; i++) | ||
294 | { | ||
295 | s = scenes[i]; | ||
296 | DoRegionBackup(s); | ||
297 | } | ||
298 | m_busy = false; | ||
299 | return; | ||
300 | } | ||
301 | |||
290 | for(int i = 0; i < scenes.Length; i++) | 302 | for(int i = 0; i < scenes.Length; i++) |
291 | { | 303 | { |
292 | s = scenes[i]; | 304 | s = scenes[i]; |