<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Success at last.  Thanks for the help and guidance to find the correct 
solution.</DIV>
<DIV> </DIV>
<DIV>I noticed a few new parameters have crept into the auto backup function and 
there is no location where all of these things are brought together for a user 
to find.</DIV>
<DIV> </DIV>
<DIV>I agree with Unadecal Arado  the feature to select a specific time 
would be a good addition.  I restart my regions daily at 4 am, and 
sometimes more often than that.</DIV>
<DIV> </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 is set, and then at 
AutoBackupInterval after that. This way, OAR generation might be more 
predictable at longer intervals.”</DIV>
<DIV> </DIV>
<DIV>If I know how to update the wiki or better yet the opensim page found by 
Googling “opensim autobackup” with this information, I believe this function of 
opensim would be a much simpler function to implement.</DIV>
<DIV> </DIV>
<DIV>I have added this to my .ini file so in the future I can easily make 
changes without going through dozens of trial and error operations.</DIV>
<DIV> </DIV>
<DIV>;    Configuration Settings </DIV>
<DIV>; Global (in OpenSim.ini under [AutoBackupModule] section)  
AutoBackupModuleEnabled: True/False. Default: False. If False, every function in 
the module is as no-op as possible: just return as soon as realizing that we're 
not enabled. Otherwise it will try to get as far as it can with auto backup for 
each region. </DIV>
<DIV>; Global (in OpenSim.ini) or Per-Region (in Regions/Regions.ini under the 
region's name's section) </DIV>
<DIV>; IMPORTANT: Settings declared per-region in Regions/Regions.ini override 
settings in OpenSim.ini. Settings in OpenSim.ini, in turn, override hard-coded 
defaults.  AutoBackup: True/False. Default: False. If True, activate auto 
backup functionality. This is the only required option for enabling auto-backup; 
the other options have sane defaults. If False, the auto-backup module becomes a 
no-op for the region, and all other AutoBackup* settings are ignored. </DIV>
<DIV>; AutoBackupModuleEnabled: True/False. Default: False. If False, every 
function in the module is as no-op as possible: just return as soon as realizing 
that we're not enabled. Otherwise it will try to get as far as it can with auto 
backup for each region. </DIV>
<DIV>; AutoBackupInterval: Integer, non-negative value. Default: 720 (12 hours). 
The number of minutes between each backup attempt. If a negative or zero value 
is given, it is equivalent to setting AutoBackup = False. </DIV>
<DIV>; AutoBackupBusyCheck: True/False. Default: True. If True, we will only 
take an auto-backup if a set of conditions are met. These conditions are 
heuristics to try and avoid taking a backup when the sim is busy. </DIV>
<DIV>; AutoBackupScript: String. Default: not specified (disabled). File path to 
an executable script or binary to run when an automatic backup is taken. argv[1] 
of the executed file/script will be the file name of the generated OAR. If the 
process can't be spawned for some reason (file not found, no execute permission, 
etc), write a warning to the console. </DIV>
<DIV>; AutoBackupNaming: string. Default: Time.  One of three strings (case 
insensitive): </DIV>
<DIV>;  "Time": Current timestamp is appended to file name. An existing 
file will never be overwritten. </DIV>
<DIV>;  "Sequential": A number is appended to the file name. So if 
RegionName_x.oar exists, we'll save to RegionName_{x+1}.oar next. An existing 
file will never be overwritten. </DIV>
<DIV>;  "Overwrite": Always save to file named "RegionName.oar", even if we 
have to overwrite an existing file. </DIV>
<DIV>; AutoBackupDir: String. Default: "." (the current directory). A directory 
(absolute or relative) where backups should be saved. If the path is not a 
directory, or insufficient permissions are available, a warning will be printed 
to the console and no backups will be taken. </DIV>
<DIV>; AutoBackupDilationThreshold: float. Default: 0.5. Lower bound on time 
dilation required for BusyCheck heuristics to pass.  If the time dilation 
is below this value, don't take a backup right now. </DIV>
<DIV>; AutoBackupAgentThreshold: int. Default: 10. Upper bound on # of agents in 
region required for BusyCheck heuristics to pass.  If the number of agents 
is greater than this value, don't take a backup right now. </DIV>
<DIV>; AutoBackupKeepFilesForDays: int. Default: 0. </DIV>
<DIV>;   1) number of days to keep backups (0 the default value will 
disable this option).</DIV>
<DIV>;   2) After each backup, remove all oars in the backup directory 
that are older than the specified number of days.</DIV>
<DIV>;    note: if the user set the bin directory as the backup 
location, only oar files are removed. There is no way to know if an oar was 
created by auto-backup, or manually created or uploaded. It is not recommended 
to use the bin directory for your auto backups for this reason.</DIV>
<DIV> </DIV>
<DIV>; Example:</DIV>
<DIV>;[AutoBackupModule]</DIV>
<DIV>;    AutoBackupModuleEnabled = true</DIV>
<DIV>;    AutoBackup = true</DIV>
<DIV>;    AutoBackupInterval = 30</DIV>
<DIV>;    AutoBackupBusyCheck = false</DIV>
<DIV>;    AutoBackupThreshold = 1</DIV>
<DIV>;    AutoBackupSkipAssets = false</DIV>
<DIV>;    AutoBackupKeepFilesForDays = 30</DIV>
<DIV>;    AutoBackupNaming = Time</DIV>
<DIV>;    AutoBackupDir = /var/opensim/backup/test/</DIV>
<DIV> </DIV>
<DIV>Tom</DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=dahliatrimble@gmail.com 
href="mailto:dahliatrimble@gmail.com">Dahlia Trimble</A> </DIV>
<DIV><B>Sent:</B> Monday, February 23, 2015 6:11 AM</DIV>
<DIV><B>To:</B> <A title=opensim-users@opensimulator.org 
href="mailto:opensim-users@opensimulator.org">opensim-users@opensimulator.org</A> 
</DIV>
<DIV><B>Subject:</B> Re: [Opensim-users] How to set up 
autobackup</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>I had a typo in the last message; I had changed the time to 12 
hours after the test but before copy/pasting. The time is specified in minutes 
and for 1 hour it would be:<BR>
<DIV><SPAN class=im><BR></SPAN>AutoBackupInterval = 60<BR></DIV></DIV>
<DIV class=gmail_extra>
<DIV> </DIV>
<DIV class=gmail_quote>On Mon, Feb 23, 2015 at 2:56 AM, Dahlia Trimble <SPAN 
dir=ltr><<A href="mailto:dahliatrimble@gmail.com" 
target=_blank>dahliatrimble@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <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]<SPAN><BR>AutoBackupModuleEnabled = 
  true<BR>AutoBackup = true<BR></SPAN>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=HOEnZb>
  <DIV class=h5>
  <DIV class=gmail_extra>
  <DIV> </DIV>
  <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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <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> </DIV>
    <DIV><SPAN>
    <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> </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> </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> </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> </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> </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> </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><FONT color=#888888>
    <DIV> </DIV>
    <DIV>Unadecal</DIV></FONT></SPAN></DIV>
    <DIV>
    <DIV>
    <DIV class=gmail_extra>
    <DIV> </DIV>
    <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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
      <DIV dir=ltr>[Update] 
      <DIV> </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> </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> </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> </DIV>
      <DIV> </DIV></DIV>
      <DIV>
      <DIV>
      <DIV class=gmail_extra>
      <DIV> </DIV>
      <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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <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> </DIV>
        <DIV>Have you tried adding these parameters directly into your 
        Opensim.ini?</DIV>
        <DIV> </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> </DIV>
        <DIV>Hope this helps,</DIV>
        <DIV> </DIV>
        <DIV>Unadecal</DIV></DIV>
        <DIV class=gmail_extra>
        <DIV> </DIV>
        <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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
          <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>
          <DIV> </DIV></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>
        <DIV> </DIV></DIV></BLOCKQUOTE></DIV>
      <DIV> </DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
    <DIV> </DIV></DIV></DIV></DIV><BR>_______________________________________________<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>
  <DIV> </DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Opensim-users mailing 
list<BR>Opensim-users@opensimulator.org<BR>http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users<BR></DIV></DIV></DIV></BODY></HTML>