[Opensim-users] AutoBackupModule configuration
Marcus Llewellyn
marcus.llewellyn at gmail.com
Fri Mar 29 14:55:17 UTC 2013
On 3/28/2013 9:26 PM, Justin Clark-Casey wrote:
> This code was donated a while ago but I'm not sure if it works, and no
> fixes have been submitted.
>
> To be honest, though I originally put it in, I'm not sure now whether
> it's appropriate for core, as any backups taken by this method except
> at extremely long intervals are quickly going to be enormous (unless
> one keeps deleting the old ones, which would kind of negate the whole
> point).
>
> I would be interested to know people's thoughts on this.
Personally, I prefer handling OAR backups myself through remote admin
with bash/powershell scripts scheduled via cron/task scheduler. This
allows me a great deal more flexibility than any reasonable core module
designed for the purpose would.
For example, I have a single script on one machine that runs twice a
day. It makes use of a CSV formatted file to iterate through all of my
simulators, issues the admin_save_oar command via RemoteAdmin, and then
stores them in a backup location. An ancillary script periodically
checks the dates on these OARs and removes stale ones, ultimately
preserving only one from each previous month. I use a similar strategy
for SQL dumps.
This is how I do it, and I easily imagine other people would prefer to
handle it in other ways. People are just gonna have to belly up and
automate this themselves for good maintenance, and to suit their
preferences. A core module might be an easy shortcut, and it certainly
doesn't keep people like me from doing it like I do it, but ultimately
sim operators have to get hands on at some point to do it right.
Marcus
More information about the Opensim-users
mailing list