<div dir="ltr">The AutoBackupModule is in OpenSim.Region.OptionalModules.dll. I'm not sure of the origins of the code, if it works properly, or if it is fully implemented or maintained.<br><div><br>I added the following to the bottom of *OpenSim.ini* and it appears to work:<br><br>[AutoBackupModule]<br>AutoBackupModuleEnabled = true<br>AutoBackup = true<br>AutoBackupInterval = 720<br>AutoBackupSkipAssets = true<br>AutoBackupKeepFilesForDays = 5<br>AutoBackupDir = ../backups/<br><br></div><div>After an hour I found a oar file in the specified directory. There were also console messages showing output from the save oar task.<br></div><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 1:28 AM, Unadecal Arado <span dir="ltr"><<a href="mailto:unadecal.arado@gmail.com" target="_blank">unadecal.arado@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello again Thomas, I managed to work this out. I rummaged through some txt files I have been collecting with various configuration hacks collected through chatting to other sim owners in OSGrid  and I found this:<div><br></div><div><span class=""><div> [AutoBackupModule]</div><div> </div><div> ;; default is module is disabled at the top level</div><div> </div><div> AutoBackupModuleEnabled = true</div></span><div> AutoBackup = true</div><div> AutoBackupInterval = 1440</div><div> AutoBackupBusyCheck = true</div><div> AutoBackupNaming = time</div><div> AutoBackupDir = "D:\OARBackups\"</div><div> AutoBackupThreshold = 1</div></div><div><br></div><div>I'm not sure what AutoBackupThreshold does, it might be an error in invoking AutoBackupdilationThreshold since it seems to be undocumented.</div><div><br></div><div>At any rate, the key ingredient there seems to be AutoBackup = true to enable the feature. It started working after I added this.</div><div><br></div><div>As a matter of interest, I run the base OS distro and the Metropolis distro, both at the 0.8.0.3 version level on Windows and there isn't a separate Autobackup module, but the feature works. Also, the Windows build seems to be happy with both UNIX and DOS style file paths.</div><div><br></div><div>As an aside, I don't think that having autoBackup as an interval from uptime is the best way to go about this. It works if the sim is undergoing constant change and you set the intervals short enough, such as 30, 60 or 120 minutes. In any given day, then, you are bound to have several OARs, which is great.</div><div><br></div><div>On the other hand, if the sim is fairly static or you are keen to minimize overheads and set the intervals to 12 or 24 hours because you don't need more than 1 or two OARs per day, using Autobackup might not work, particularly if the simulator restarts for whatever reason (most of my simulators are set to restart daily). In that case, Autobackup might chase a time interval which will never come.</div><div><br></div><div>It would be great if we had a key called AutoBackupTime = hh:mm, which schedules a backup for hh:mm no matter what if set, and then at AutoBackupInterval after that. Yhis way, OAR generation might be more predictable at longer intervals.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Unadecal</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 23 February 2015 at 06:22, Unadecal Arado <span dir="ltr"><<a href="mailto:unadecal.arado@gmail.com" target="_blank">unadecal.arado@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">[Update]<div><br></div><div>I got curious, so I read the relevant Wiki pge (<a href="http://opensimulator.org/wiki/Feature_Proposals/AutoBackup" target="_blank">http://opensimulator.org/wiki/Feature_Proposals/AutoBackup</a>), selected a currently unused simulator running Metropolis 0803, which is the current version, inserted  this section in the Opensim.ini file:</div><div><br></div><div><div>[AutoBackupModule]</div><div>    AutoBackupModuleEnabled = true</div><div>    AutoBackupInterval = 10</div><div>    AutoBackupDir = /Googledrive/Opensim-005/Embassy/OAR/</div><div>    AutoBackupNaming = Time</div><div>AutoBackupBusyCheck=False</div></div><div><br></div><div>I then restarted the simulator and verified that the AutoBackup configuration had taken effect by way of the "config show" console command. It all seemed set, but there are no backups taking place. I have no clues to follow at this point since the log does not provide any details at all.</div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 22 February 2015 at 22:22, Unadecal Arado <span dir="ltr"><<a href="mailto:unadecal.arado@gmail.com" target="_blank">unadecal.arado@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm not sure if your configuration is not being read correctly, which is strange because you reference AutoBackup config parameters in your StandaloneCommon.ini (I assume you include this file in your Opensim.ini) and also in your regions file.<div><br></div><div>Have you tried adding these parameters directly into your Opensim.ini?</div><div><br></div><div>You might also want to set AutoBackupBusyCheck=False, since it could also be that the module is procrastinating for some unknown reason.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Unadecal</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 22 February 2015 at 21:36, Thomas Ringate <span dir="ltr"><<a href="mailto:tringate@gmail.com" target="_blank">tringate@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div>I can’t figure out what it is I am doing wrong.  I want to set up 
autobackup but it is not working for me.</div>
<div> </div>
<div>I placed the following into my StandaloneCommon.ini file.</div>
<div> </div>
<div>[AutoBackupModule]</div>
<div>    AutoBackupModuleEnabled = true</div>
<div>    AutoBackupInterval = 30</div>
<div>    AutoBackupDir = /var/opensim/backup/OAR/test/</div>
<div>    AutoBackupNaming = Time</div>
<div> </div>
<div>My expectations were this would set this for all of my regions as their 
default and if I wanted something different in a specific region I could set new 
values in that region.</div>
<div> </div>
<div>I let the simulator run for a few hours and no OAR’s were created at 
all.</div>
<div> </div>
<div>I then added the following to one of my regions.</div>
<div> </div>
<div>AutoBackupModuleEnabled = true</div>
<div>AutoBackupInterval = 15</div>
<div>AutoBackupDir = /var/opensim/backup/test/</div>
<div>AutoBackupNaming = Time</div>
<div> </div>
<div>Left my simulator run for a few more hours and still nothing was 
saved.</div>
<div> </div>
<div>Looking in my log file I only see the following.</div>
<div> </div>
<div>2015-02-22 14:57:20,124 INFO  - 
OpenSim.Region.OptionalModules.World.AutoBackup.AutoBackupModule [AUTO BACKUP]: 
AutoBackupModule enabled</div>
<div>2015-02-22 14:57:20,128 DEBUG - 
OpenSim.Region.OptionalModules.World.AutoBackup.AutoBackupModule [AUTO BACKUP]: 
Here is the default config:</div>
<div>2015-02-22 14:57:20,130 DEBUG - 
OpenSim.Region.OptionalModules.World.AutoBackup.AutoBackupModule [AUTO BACKUP]: 
AutoBackup: DISABLED</div>
<div>[AUTO BACKUP]: Interval: 720 minutes</div>
<div>[AUTO BACKUP]: Do Busy Check: Yes</div>
<div>[AUTO BACKUP]: Naming Type: Time</div>
<div>[AUTO BACKUP]: Backup Dir: .</div>
<div>[AUTO BACKUP]: Script: </div>
<div> </div>
<div>Searching my bin directory I do not see any file named <font face="Times New Roman">IRegionAutoBackupModule or anything even 
close.</font></div>
<div><font face="Times New Roman">I used the last zip file on OSGrid to build my 
simulator.  I am running on Linux Fedora 21.</font></div>
<div><font face="Times New Roman">The simulator has been dormant for the entire 
testing.  Only logged in once to make sure it was working.</font></div>
<div><font face="Times New Roman">I never say anything appear in the console 
window either.</font></div>
<div><font face="Times New Roman"></font> </div>
<div><font face="Times New Roman">Tom</font></div>
<div><font face="Times New Roman"></font> </div>
<div><font face="Times New Roman"></font> </div>
<div><font face="Times New Roman"></font> </div></div></div></div>
<br></div></div>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br></div>