Friday, November 4, 2016

2016 HELP: OSHG: TECH : Autobackup on OpenSim, with Hypergrid Installer. Invited article by Fred Beckhusen (aka Ferd Frederix).

Autobackup on OpenSim, with Hypergrid Installer.
Invited article by Fred Beckhusen 
(aka Ferd Frederix)
Autobackup for self-managed grids (including Sim-on-a-Stick). Autobackup will automatically create an OAR backup at specified intervals and put them in a place you choose, including cloud drives like drop-box, or Google drive.  It can delete anything older some number of days if you want.  

Autobackup for OpenSim
Fred Beckhusen (aka Ferd Frederix)
  • (More after the break, scroll down!)

Metaverse events, current and upcoming


Autobackup for OpenSimFred Beckhusen (aka Ferd Frederix)

I ran across it some years ago and have been using it for the Outworldz grid for a long time, and recently included it in the Outworldz Hypergrid program that works like a hypergridded Sim-On-A-Stick.
I wrote it up for you:
Autobackup for Opensimulator makes backups of Opensim regions into OAR files for you. It is very useful if you run a grid, or attach to a grid, such as OsGrid or Metropolis ( and for anyone who has a standalone 'mini' grid. It even works for Sim-On-A-Stick. Autobackup will automatically create an OAR backup at specified intervals. It can be configured to delete anything older some number of days so you do not run out of disk space.
You can enable Autobackup by saving this file* in the bin/config-include folder, and include a link to it in Opensim.ini, preferably at the bottom where it will be easy to maintain if you update to a new version.

  • Include-AutoBackupModule = "config-include/Autobackup.ini" 
You can also add it to one or more region files and it will apply just to those regions.

  • *Below is the file: ([AutoBackupModule]).  
  • Copy only the displayed text, no formatting.
Do not copy this line****************************************


; Global (in OpenSim.ini) or Per-Region (in Regions/Regions.ini under the region's name's section)
; 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.
AutoBackup = true
; 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.
AutoBackupModuleEnabled = true
; 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.
; 1440 = 1 day
; AutoBackupInterval = 1440
; 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.
; AutoBackupBusyCheck = true
; 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.
;AutoBackupScript = "somebatchfile.bat or some shell"
; AutoBackupNaming: string. Default: Time.  One of three strings (case
;  "Time": Current timestamp is appended to file name. An existing file
;will never be overwritten.
;  "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.
;  "Overwrite": Always save to file named "RegionName.oar", even if we
;have to overwrite an existing file.
; AutoBackupNaming = Time
; 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.
;AutoBackupDilationThreshold = 0.5
; 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.
;AutoBackupAgentThreshold = 10
; AutoBackupKeepFilesForDays: int. Default: 0.
;   1) number of days to keep backups (0 the default value will disable
;this option).
;   2) After each backup, remove all oars in the backup directory that are
;older than the specified number of days.
;    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.
AutoBackupKeepFilesForDays = 30
; 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.
; for cloud storage, point the files to a shared folder
; Dropbox: "/Users/YourName/DropBox/Autobackup"
; Google Drive:"/Users/Yourname/Google Drive/Autobackup"
; Microsoft SkyDrive: "/Users/Yourname/SkyDrive/Autobackup"
AutoBackupDir = "C:/AutoBackup"
Do not copy this line*****************************************

Outworldz Hypergrid Installer

  • Originally published in OpenSim Virtual
  • by Fred Beckhusen (aka Ferd Frederix).
I am pleased to announce that the Outworldz Hypergrid Installer is ready for general use. Outworldz Installer is a Microsoft Windows-compatible Opensimulator system that is easy to install, easy to run, and quite powerful. It is entirely free and open source. It's like Sim-On-A-Stick, but has 0.9.0 Opensim plus the Hypergrid.
There's a long list of features such as uPnP router support, diagnostics, easy OAR loading and auto backups. It has an Auto-Updater, too. It works with any viewer, and comes bundled with the Onlook Viewer by Diva Canto which is specifically designed to be very easy for new people to use. Business users will appreciate the No-Avatar mode, too.
Outworldz switches seamlessly between released and Opensim 0.9.0 dev code, where you can enjoy greater Second Life compatibility. Both versions are included, and 0.9.0 dev will be updated to released status automatically when it is officially ready.
+Debbie Edwards and I have also been setting up pre-configured OARs for you to play with. No console commands are needed - you just click to change sims. She made a very nice Garden By The Sea simulator with different NPC animals such as turtles, rabbits and birds along with hand-picked plants for the gardens, and furnished a lovely contemporary house with nice furniture collected from he hypergrid. We have lots of free OAR content from +Garry Beaumont, P.van de Giessen, Dave_Pentecost, Arcadia Asylum, Justin K. Reeve, +Michael Emory Cerquoni, and +Linda Kellie, too, and you can add any OAR or IAR with simple Drag and Drop operation.
You can get it at
I'm not done yet. There are some new features coming soon that will make it easier than ever to run your own mini-grid. if you have any problems, please contact me directly or comment on the web site or on here - I really appreciate and need more feedback from all kinds of users on features, bugs and any difficulties you may have. Opensim and Hypergrid is not easy under the best of circumstances, due to the way it is coded and the wide variety of lousy routers out there. But even a negative result can help me fix it so others can get online.


News and Notes


    The Hypergrid WIP Show

    The Hypergrid WIP is a one hour "show & tell" of works in progress or recently completed. Everyone is invited.  Building, scripting, promotion, entertainment-- whatever you are working on.
    Presentations are in voice and text.  For text presentations, best bring the text in a notecard and paste it into chat.  Voice presentations may be captured in video.  Stills and videos from the show may appear in this blog and elsewhere.

    Next WIP show

    • Next WIP show: Sun. Nov.14, Noon SLT 
    • Narasnook  location (second Sunday of the month)
    • Pandora allows presenters to run high threat OSSL functions.
    • Put the line above in your World Map next to Find.  Click FindTP
    • At Narasnook, use World Map to search for Pandora
    • Narasnook  location (second Sunday of the month)
    • Pandora allows presenters to run high threat OSSL functions.
    • Put the line above in your World Map next to Find.  Click FindTP
    • At Narasnook, use World Map to search for Pandora
    • Cookie II location (fourth Sunday of the month)
    • HG address below: paste into the World Map next to Find. Click Find, TP
    • II 
    • in Kitely: paste into Nav (top) bar of Firestorm, Enter.
    • hop:// II/68/369/22

            Previous Articles from the WIP show 

            HG links-- depending on your interests 

            Radio in the virtual world

            Metaverse beginner help

              Schools in virtual worlds

              • I publish 5 or 6 days a week, skipping 1 or 2 days in midweek
              • For more on topics like this, follow Selby Evans in Google+ 
              • What do we do in Virtual Worlds? 
              • Google search this blog: Search bar, upper left--or:
              • Put at the end of the search terms 
              • Annotated screen shots made with Jing
              • All original content on this blog is Creative Commons License, attribution only. 
              • Second LifeLindenSLurl, and SL are trademarks of Linden Research Inc. 
              • This blog is not affiliated with Second Life or anything else. 
              • Ads are from Google.
              • Selby Evans in Kitely, Thinkerer Melville in Second Life
              • Lauren is funny

              No comments:

              Post a Comment