<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=Smart_Prestart_WIN</id>
		<title>Smart Prestart WIN - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=Smart_Prestart_WIN"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;action=history"/>
		<updated>2026-05-15T10:49:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=28903&amp;oldid=prev</id>
		<title>MakoBot: Robot: Replacing 'OpenSim' to 'OpenSimulator', which is the precise name</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=28903&amp;oldid=prev"/>
				<updated>2012-03-04T06:59:51Z</updated>
		
		<summary type="html">&lt;p&gt;Robot: Replacing &amp;#039;OpenSim&amp;#039; to &amp;#039;OpenSimulator&amp;#039;, which is the precise name&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:59, 4 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Quicklinks}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Quicklinks}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenSim &lt;/del&gt;with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OpenSimulator &lt;/ins&gt;with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others to be able to further better manage their systems. I like to review my OpenSim.Log when I do a Startup and as you know, that thing becomes a Monster very fast&amp;amp;nbsp;! BTW: It's also not good to open the &amp;quot;Live Log&amp;quot; when the system is running because it can cause the console to lockup (hate file locking @ times). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others to be able to further better manage their systems. I like to review my OpenSim.Log when I do a Startup and as you know, that thing becomes a Monster very fast&amp;amp;nbsp;! BTW: It's also not good to open the &amp;quot;Live Log&amp;quot; when the system is running because it can cause the console to lockup (hate file locking @ times). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: OSbinSrc = Where the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenSim &lt;/del&gt;Software is installed and run from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: OSbinSrc = Where the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OpenSimulator &lt;/ins&gt;Software is installed and run from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SET OSbackup=C:\OPENSIM\instanceA\BACKups&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SET OSbackup=C:\OPENSIM\instanceA\BACKups&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: ==============================================&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: ==============================================&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: if folders do not exist, create them for this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenSim &lt;/del&gt;Instance&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: if folders do not exist, create them for this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OpenSimulator &lt;/ins&gt;Instance&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;::&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MakoBot</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=28496&amp;oldid=prev</id>
		<title>MakoBot: Robot: Cosmetic changes</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=28496&amp;oldid=prev"/>
				<updated>2012-03-04T04:13:41Z</updated>
		
		<summary type="html">&lt;p&gt;Robot: Cosmetic changes&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:13, 4 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others to be able to further better manage their systems. I like to review my OpenSim.Log when I do a Startup and as you know, that thing becomes a Monster very fast&amp;amp;nbsp;! BTW: It's also not good to open the &amp;quot;Live Log&amp;quot; when the system is running because it can cause the console to lockup (hate file locking @ times). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others to be able to further better manage their systems. I like to review my OpenSim.Log when I do a Startup and as you know, that thing becomes a Monster very fast&amp;amp;nbsp;! BTW: It's also not good to open the &amp;quot;Live Log&amp;quot; when the system is running because it can cause the console to lockup (hate file locking @ times). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''What this does is described in the batch file, in a nutshell:&amp;lt;br&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''What this does is described in the batch file, in a nutshell:&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Presets a TimeStamp for Date@HourMinute &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Presets a TimeStamp for Date@HourMinute &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Copies \bin\opensim.log or&amp;amp;nbsp;\bin\opensim.32bitLaunch.log&amp;amp;nbsp;to the backup folder structure as&amp;amp;nbsp;defined. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Copies \bin\opensim.log or&amp;amp;nbsp;\bin\opensim.32bitLaunch.log&amp;amp;nbsp;to the backup folder structure as&amp;amp;nbsp;defined. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*''The DEFAULT is&amp;amp;nbsp;C:\OpenSim\InstanceA\BACKups\LOGS'' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''The DEFAULT is&amp;amp;nbsp;C:\OpenSim\InstanceA\BACKups\LOGS'' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Next, it renames the copied opensim.log to OSLOG_(14052009@1100).log so now it is Date@HourMinute stamped in the filename. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Next, it renames the copied opensim.log to OSLOG_(14052009@1100).log so now it is Date@HourMinute stamped in the filename. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Next, it clears the \bin\opensim.log and inserts &amp;quot;LOG_CLEARED AT 14052009@1100&amp;quot; as the first line in the file. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Next, it clears the \bin\opensim.log and inserts &amp;quot;LOG_CLEARED AT 14052009@1100&amp;quot; as the first line in the file. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Copies critical files into backup structure&amp;amp;nbsp;(*.db, *.ini, exports, regions files ini or xml) &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Copies critical files into backup structure&amp;amp;nbsp;(*.db, *.ini, exports, regions files ini or xml) &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*OPTIONALLY BACKS UP MYSQL DB &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* OPTIONALLY BACKS UP MYSQL DB &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Changes directory to the \BIN folder and starts OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Changes directory to the \BIN folder and starts OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''INSTALLATION: &amp;lt;br&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''INSTALLATION: &amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead instead of opensim.exe &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead instead of opensim.exe &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''!!''' Remember to set the 5 Important Variables for your paths at the top of the batch file as shown below: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''!!''' Remember to set the 5 Important Variables for your paths at the top of the batch file as shown below: &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*'''OPTIONALLY''' Now Also dumps MySql DataBase SEE Header in batchfile&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''OPTIONALLY''' Now Also dumps MySql DataBase SEE Header in batchfile&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SET OSbackup=C:\OpenSim\InstanceA\BACKups&amp;lt;br&amp;gt;SET OSbinSrc=C:\OpenSim\InstanceA\bin&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br&amp;gt;set DBNAME=opensim &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SET OSbackup=C:\OpenSim\InstanceA\BACKups&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;SET OSbinSrc=C:\OpenSim\InstanceA\bin&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;set DBUSER=root&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;set DBNAME=opensim &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;That's it... Nice &amp;amp;amp; Easy, always a clean log when you startup and a copy of the previous log stored for you to review &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;&amp;gt;That's it... Nice &amp;amp;amp; Easy, always a clean log when you startup and a copy of the previous log stored for you to review &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;THE BATCHFILE '''Start_OS.BAT''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;THE BATCHFILE '''Start_OS.BAT''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MakoBot</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=23644&amp;oldid=prev</id>
		<title>MakoBot: Removed 'Template:' prefix from template includings and/or changed external-link into internal-link</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=23644&amp;oldid=prev"/>
				<updated>2011-06-10T23:42:01Z</updated>
		
		<summary type="html">&lt;p&gt;Removed &amp;#039;Template:&amp;#039; prefix from template includings and/or changed external-link into internal-link&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:42, 10 June 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Template:&lt;/del&gt;Quicklinks}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Quicklinks}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting OpenSim with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting OpenSim with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MakoBot</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=20814&amp;oldid=prev</id>
		<title>Makopoppo: page positioning changed - this page will be the subpage of Automating Tasks</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=20814&amp;oldid=prev"/>
				<updated>2011-01-03T04:31:55Z</updated>
		
		<summary type="html">&lt;p&gt;page positioning changed - this page will be the subpage of &lt;a href=&quot;/wiki/Automating_Tasks&quot; title=&quot;Automating Tasks&quot;&gt;Automating Tasks&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:31, 3 January 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Template:Quicklinks}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting OpenSim with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Starting OpenSim with a little Pre-Processing''' &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 142:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''BACK-LINKS''' &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Return to &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Automating Tasks&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;== Windows&amp;#160; ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Smart Prestart WIN]] [[Backing Up WIN]] [[Automated Upgrade WIN]] &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;== Linux&amp;#160; ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Smart Prestart LINUX]] [[Backing Up LINUX]] [[Automated Upgrade LINUX&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Makopoppo</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=20294&amp;oldid=prev</id>
		<title>WhiteStar: quick housekeeping</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=20294&amp;oldid=prev"/>
				<updated>2010-11-25T04:42:19Z</updated>
		
		<summary type="html">&lt;p&gt;quick housekeeping&lt;/p&gt;
&lt;a href=&quot;http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;amp;diff=20294&amp;amp;oldid=14995&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>WhiteStar</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14995&amp;oldid=prev</id>
		<title>WhiteStar at 23:16, 16 September 2009</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14995&amp;oldid=prev"/>
				<updated>2009-09-16T23:16:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:16, 16 September 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;THE BATCHFILE '''Start_OS.BAT'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;THE BATCHFILE '''Start_OS.BAT'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;&lt;/del&gt;@echo off&amp;lt;br&amp;gt;:: FILENAME: Start_OS.BAT&amp;lt;br&amp;gt;:: AUTHOR: WhiteStar Magic @ OSGrid&amp;lt;br&amp;gt;:: DATE: REVISED SEP-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;15&lt;/del&gt;-2009&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DESCRIPTION: Starts OpenSim.exe with some preprocessing&amp;lt;br&amp;gt;:: - copies opensim.log from BIN\ folder to Log Backup &amp;amp;amp; renames it to OSLOG_Date@time.log&amp;lt;br&amp;gt;:: - example of output OSlog_(14052009@1019).log OR OSlog32_(14052009@1019).log &amp;lt;br&amp;gt;:: - then it CLEARS the log to EMPTY in the \BIN folder so you can see everything from startup&amp;lt;br&amp;gt;:: - WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log&amp;lt;br&amp;gt;:: - Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking&amp;lt;br&amp;gt;:: - Copies critical files into backup structure &amp;lt;br&amp;gt;:: - BACKS UP MYSQL DB &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: INSTALLATION:&amp;lt;br&amp;gt;:: Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead &amp;lt;br&amp;gt;:: MODIFY the bottom lines to adjust for starting OpenSim.exe OR OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DEPENDENCIES: uses Robocopy.exe (Windows Application) free from Microsoft if not in your installation&amp;lt;br&amp;gt;:: SYSTEM IMPACT: None Known &amp;lt;br&amp;gt;:: TESTED ON: Windows Vista, Windows-7RC, WINDOWS SERVER 2008-R1(64bit)&amp;lt;br&amp;gt;:: Other Windows Operating Systems should have no issue (untested) but they are consistent for this type of function&amp;lt;br&amp;gt;:: =================================================================================================================&amp;lt;br&amp;gt;:: CONFIGURING ENVIRONMENT PATHS AND SETUP TO SIMPLIFY CONFIG &amp;amp;amp; ADMIN&amp;lt;br&amp;gt;:: Adjust the following to YOUR INSTALLED Folder Paths&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&amp;lt;br&amp;gt;:: OSbinSrc = Where the OpenSim Software is installed and run from&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;SET OSbackup=C:\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenSim&lt;/del&gt;\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;INSTANCEa&lt;/del&gt;\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BACKup&lt;/del&gt;&amp;lt;br&amp;gt;SET OSbinSrc=C:\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OpenSim&lt;/del&gt;\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;INSTANCEa&lt;/del&gt;\bin&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: MYSQL INFORMATION TO BE FILLED OUT. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;:: &lt;/del&gt;IF DBUSER=XXX MySql Dump will not occur&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;YOURPASSWORD&lt;/del&gt;&amp;lt;br&amp;gt;set DBNAME=opensim&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: DATE &amp;amp;amp; TIME String Assembly&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: Date &amp;amp;amp; Time Format on your system&amp;lt;br&amp;gt;:: Check your format in command.prompt with DATE/T&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: EU DATE FORMAT = 15-05-2006 DD-MM-YYYY&amp;lt;br&amp;gt;:: US DATE FORMAT = 05/17/2006 MM/DD/YYYY&amp;lt;br&amp;gt;:: TIME FORMAT 13:45:55 is truncated to 1345 and colons are ::oved &amp;lt;br&amp;gt;:: DATES are cleaned of / or - or : depending on your system install &amp;amp;amp; config.&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse Hour &amp;amp;amp; Minutes Removing : or leading spaces&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims=:&amp;quot; %%i in ('%TIME%') do set HRa=%%i&amp;lt;br&amp;gt;:: fix the HR in case it has a blank in it&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims= &amp;quot; %%i in ('%HRa%') do set HR=%%i&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=2 delims=:&amp;quot; %%i in ('%TIME%') do set MIN=%%i&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse the Date String &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;::oving &lt;/del&gt;unwated charachters / or - or 'space' depends on system installation&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1,2,3,4 delims=/- &amp;quot; %%i in ('%DATE%') do set Tdate=%%i%%j%%k%%l&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;set TimeStamp=%Tdate%@%HR%%MIN%&amp;lt;br&amp;gt;:: we now have a string which will appear as 12052009@0112&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;echo TimeStamp = %TimeStamp%&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: OPENSIM SYSTEM DATA BACKUP SECTION&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;:: if folders do not exist, create them for this OpenSim Instance&amp;lt;br&amp;gt;:: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;@echo OFF&lt;/del&gt;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if not exist %OSbackup%\*.* md %OSbackup%&amp;lt;br&amp;gt;if not exist %OSbackup%\DB\*.* md %OSbackup%\DB&amp;lt;br&amp;gt;if not exist %OSbackup%\DBsql\*.* md %OSbackup%\DBsql&amp;lt;br&amp;gt;if not exist %OSbackup%\EXPORTS\*.* md %OSbackup%\EXPORTS&amp;lt;br&amp;gt;if not exist %OSbackup%\INI\*.* md %OSbackup%\INI&amp;lt;br&amp;gt;if not exist %OSbackup%\LOGS\*.* md %OSbackup%\LOGS&amp;lt;br&amp;gt;if not exist %OSbackup%\OAR\*.* md %OSbackup%\OAR&amp;lt;br&amp;gt;if not exist %OSbackup%\REGIONS\*.* md %OSbackup%\REGIONS&amp;lt;br&amp;gt;if not exist %OSbackup%\TERRAINS\*.* md %OSbackup%\TERRAINS&amp;lt;br&amp;gt;if not exist %OSbackup%\TXT\*.* md %OSbackup%\TXT&amp;lt;br&amp;gt;if not exist %OSbackup%\XML2\*.* md %OSbackup%\XML2&amp;lt;br&amp;gt;:: !! Copy Critical Files !!&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\DB *.DB /S /LOG:%OSbackup%\DBlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Exports %OSbackup%\EXPORTS *.* /S /LOG:%OSbackup%\EXPORTSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\INI *.ini /S /LOG:%OSbackup%\INIlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Regions %OSbackup%\REGIONS *.* /S /LOG:%OSbackup%\REGIONSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\TXT *.txt /S /LOG:%OSbackup%\TXTlog.txt&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: generate MySql DB Backup&amp;lt;br&amp;gt;if DBUSER NEQ XXX mysqldump --opt -u%DBUSER% -p%DBPW% %DBNAME% &amp;amp;gt; %&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OS_Instance&lt;/del&gt;%&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\BACKup&lt;/del&gt;\DBsql\%DBNAME%.sql&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log copy %OSbinSrc%\OpenSim.32BitLaunch.log %OSbackup%\LOGS\OSlog32_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log copy %OSbinSrc%\OpenSim.log %OSbackup%\LOGS\OSlog_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\XEngine.log copy %OSbinSrc%\XEngine.log %OSbackup%\LOGS\XEngine_(%TimeStamp%).log&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: NEXT FLUSHING LOG to EMPTY&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log &amp;amp;gt;%OSbinSrc%\OpenSim.32BitLaunch.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log &amp;amp;gt;%OSbinSrc%\OpenSim.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\xengine.log &amp;amp;gt;%OSbinSrc%\xengine.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;::&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;@echo OFF&lt;/del&gt;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: STARTING OPENSIM SERVER &amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: change directory to \bin to make sure and startup system as usual&amp;lt;br&amp;gt;:: uncomment according to Operating System. OpenSim.exe = 32bit OS, OpenSim.32BitLaunch.exe = 64bit operating system &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;cd %OSbinSrc%&amp;lt;br&amp;gt;:: OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;@echo off&amp;lt;br&amp;gt;:: FILENAME: Start_OS.BAT&amp;lt;br&amp;gt;:: AUTHOR: WhiteStar Magic @ OSGrid&amp;lt;br&amp;gt;:: DATE: REVISED SEP-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;16&lt;/ins&gt;-2009&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DESCRIPTION: Starts OpenSim.exe with some preprocessing&amp;lt;br&amp;gt;:: - copies opensim.log from BIN\ folder to Log Backup &amp;amp;amp; renames it to OSLOG_Date@time.log&amp;lt;br&amp;gt;:: - example of output OSlog_(14052009@1019).log OR OSlog32_(14052009@1019).log &amp;lt;br&amp;gt;:: - then it CLEARS the log to EMPTY in the \BIN folder so you can see everything from startup&amp;lt;br&amp;gt;:: - WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log&amp;lt;br&amp;gt;:: - Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking&amp;lt;br&amp;gt;:: - Copies critical files into backup structure &amp;lt;br&amp;gt;:: - BACKS UP MYSQL DB &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: INSTALLATION:&amp;lt;br&amp;gt;:: Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead &amp;lt;br&amp;gt;:: MODIFY the bottom lines to adjust for starting OpenSim.exe OR OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DEPENDENCIES: uses Robocopy.exe (Windows Application) free from Microsoft if not in your installation&amp;lt;br&amp;gt;:: SYSTEM IMPACT: None Known &amp;lt;br&amp;gt;:: TESTED ON: Windows Vista, Windows-7RC, WINDOWS SERVER 2008-R1(64bit)&amp;lt;br&amp;gt;:: Other Windows Operating Systems should have no issue (untested) but they are consistent for this type of function&amp;lt;br&amp;gt;:: =================================================================================================================&amp;lt;br&amp;gt;:: CONFIGURING ENVIRONMENT PATHS AND SETUP TO SIMPLIFY CONFIG &amp;amp;amp; ADMIN&amp;lt;br&amp;gt;:: Adjust the following to YOUR INSTALLED Folder Paths&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&amp;lt;br&amp;gt;:: OSbinSrc = Where the OpenSim Software is installed and run from&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;SET OSbackup=C:\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OPENSIM&lt;/ins&gt;\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;instanceA&lt;/ins&gt;\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BACKups&lt;/ins&gt;&amp;lt;br&amp;gt;SET OSbinSrc=C:\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OPENSIM&lt;/ins&gt;\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;instanceA&lt;/ins&gt;\bin&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: MYSQL INFORMATION TO BE FILLED OUT. IF DBUSER = XXX MySql Dump will not occur&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;PASSWORD&lt;/ins&gt;&amp;lt;br&amp;gt;set DBNAME=opensim&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: DATE &amp;amp;amp; TIME String Assembly&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: Date &amp;amp;amp; Time Format on your system&amp;lt;br&amp;gt;:: Check your format in command.prompt with DATE/T&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: EU DATE FORMAT = 15-05-2006 DD-MM-YYYY&amp;lt;br&amp;gt;:: US DATE FORMAT = 05/17/2006 MM/DD/YYYY&amp;lt;br&amp;gt;:: TIME FORMAT 13:45:55 is truncated to 1345 and colons are ::oved &amp;lt;br&amp;gt;:: DATES are cleaned of / or - or : depending on your system install &amp;amp;amp; config.&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse Hour &amp;amp;amp; Minutes Removing : or leading spaces&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims=:&amp;quot; %%i in ('%TIME%') do set HRa=%%i&amp;lt;br&amp;gt;:: fix the HR in case it has a blank in it&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims= &amp;quot; %%i in ('%HRa%') do set HR=%%i&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=2 delims=:&amp;quot; %%i in ('%TIME%') do set MIN=%%i&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse the Date String &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;removing &lt;/ins&gt;unwated charachters / or - or 'space' depends on system installation&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1,2,3,4 delims=/- &amp;quot; %%i in ('%DATE%') do set Tdate=%%i%%j%%k%%l&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;set TimeStamp=%Tdate%@%HR%%MIN%&amp;lt;br&amp;gt;:: we now have a string which will appear as 12052009@0112&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;echo TimeStamp = %TimeStamp%&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: OPENSIM SYSTEM DATA BACKUP SECTION&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;:: if folders do not exist, create them for this OpenSim Instance&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if not exist %OSbackup%\*.* md %OSbackup%&amp;lt;br&amp;gt;if not exist %OSbackup%\DB\*.* md %OSbackup%\DB&amp;lt;br&amp;gt;if not exist %OSbackup%\DBsql\*.* md %OSbackup%\DBsql&amp;lt;br&amp;gt;if not exist %OSbackup%\EXPORTS\*.* md %OSbackup%\EXPORTS&amp;lt;br&amp;gt;if not exist %OSbackup%\INI\*.* md %OSbackup%\INI&amp;lt;br&amp;gt;if not exist %OSbackup%\LOGS\*.* md %OSbackup%\LOGS&amp;lt;br&amp;gt;if not exist %OSbackup%\OAR\*.* md %OSbackup%\OAR&amp;lt;br&amp;gt;if not exist %OSbackup%\REGIONS\*.* md %OSbackup%\REGIONS&amp;lt;br&amp;gt;if not exist %OSbackup%\TERRAINS\*.* md %OSbackup%\TERRAINS&amp;lt;br&amp;gt;if not exist %OSbackup%\TXT\*.* md %OSbackup%\TXT&amp;lt;br&amp;gt;if not exist %OSbackup%\XML2\*.* md %OSbackup%\XML2&amp;lt;br&amp;gt;:: !! Copy Critical Files !!&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\DB *.DB /S /LOG:%OSbackup%\DBlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Exports %OSbackup%\EXPORTS *.* /S /LOG:%OSbackup%\EXPORTSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\INI *.ini /S /LOG:%OSbackup%\INIlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Regions %OSbackup%\REGIONS *.* /S /LOG:%OSbackup%\REGIONSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\TXT *.txt /S /LOG:%OSbackup%\TXTlog.txt&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;::&lt;/ins&gt;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: generate MySql DB Backup&amp;lt;br&amp;gt;if DBUSER NEQ XXX mysqldump --opt -u%DBUSER% -p%DBPW% %DBNAME% &amp;amp;gt; %&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OSbackup&lt;/ins&gt;%\DBsql\%DBNAME%.sql&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log copy %OSbinSrc%\OpenSim.32BitLaunch.log %OSbackup%\LOGS\OSlog32_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log copy %OSbinSrc%\OpenSim.log %OSbackup%\LOGS\OSlog_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\XEngine.log copy %OSbinSrc%\XEngine.log %OSbackup%\LOGS\XEngine_(%TimeStamp%).log&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: NEXT FLUSHING LOG to EMPTY&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log &amp;amp;gt;%OSbinSrc%\OpenSim.32BitLaunch.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log &amp;amp;gt;%OSbinSrc%\OpenSim.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\xengine.log &amp;amp;gt;%OSbinSrc%\xengine.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: STARTING OPENSIM SERVER &amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: change directory to \bin to make sure and startup system as usual&amp;lt;br&amp;gt;:: uncomment according to Operating System. OpenSim.exe = 32bit OS, OpenSim.32BitLaunch.exe = 64bit operating system &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;cd %OSbinSrc%&amp;lt;br&amp;gt;:: OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WhiteStar</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14976&amp;oldid=prev</id>
		<title>WhiteStar at 03:02, 16 September 2009</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14976&amp;oldid=prev"/>
				<updated>2009-09-16T03:02:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:02, 16 September 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;&amp;lt;br&amp;gt;@echo off&amp;lt;br&amp;gt;:: FILENAME: Start_OS.BAT&amp;lt;br&amp;gt;:: AUTHOR: WhiteStar Magic @ OSGrid&amp;lt;br&amp;gt;:: DATE: REVISED SEP-15-2009&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DESCRIPTION: Starts OpenSim.exe with some preprocessing&amp;lt;br&amp;gt;:: - copies opensim.log from BIN\ folder to Log Backup &amp;amp;amp; renames it to OSLOG_Date@time.log&amp;lt;br&amp;gt;:: - example of output OSlog_(14052009@1019).log OR OSlog32_(14052009@1019).log &amp;lt;br&amp;gt;:: - then it CLEARS the log to EMPTY in the \BIN folder so you can see everything from startup&amp;lt;br&amp;gt;:: - WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log&amp;lt;br&amp;gt;:: - Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking&amp;lt;br&amp;gt;:: - Copies critical files into backup structure &amp;lt;br&amp;gt;:: - BACKS UP MYSQL DB &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: INSTALLATION:&amp;lt;br&amp;gt;:: Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead &amp;lt;br&amp;gt;:: MODIFY the bottom lines to adjust for starting OpenSim.exe OR OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DEPENDENCIES: uses Robocopy.exe (Windows Application) free from Microsoft if not in your installation&amp;lt;br&amp;gt;:: SYSTEM IMPACT: None Known &amp;lt;br&amp;gt;:: TESTED ON: Windows Vista, Windows-7RC, WINDOWS SERVER 2008-R1(64bit)&amp;lt;br&amp;gt;:: Other Windows Operating Systems should have no issue (untested) but they are consistent for this type of function&amp;lt;br&amp;gt;:: =================================================================================================================&amp;lt;br&amp;gt;:: CONFIGURING ENVIRONMENT PATHS AND SETUP TO SIMPLIFY CONFIG &amp;amp;amp; ADMIN&amp;lt;br&amp;gt;:: Adjust the following to YOUR INSTALLED Folder Paths&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&amp;lt;br&amp;gt;:: OSbinSrc = Where the OpenSim Software is installed and run from&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;SET OSbackup=C:\OpenSim\INSTANCEa\BACKup&amp;lt;br&amp;gt;SET OSbinSrc=C:\OpenSim\INSTANCEa\bin&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: MYSQL INFORMATION TO BE FILLED OUT. &amp;lt;br&amp;gt;:: IF DBUSER=XXX MySql Dump will not occur&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br&amp;gt;set DBNAME=opensim&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: DATE &amp;amp;amp; TIME String Assembly&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: Date &amp;amp;amp; Time Format on your system&amp;lt;br&amp;gt;:: Check your format in command.prompt with DATE/T&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: EU DATE FORMAT = 15-05-2006 DD-MM-YYYY&amp;lt;br&amp;gt;:: US DATE FORMAT = 05/17/2006 MM/DD/YYYY&amp;lt;br&amp;gt;:: TIME FORMAT 13:45:55 is truncated to 1345 and colons are ::oved &amp;lt;br&amp;gt;:: DATES are cleaned of / or - or : depending on your system install &amp;amp;amp; config.&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse Hour &amp;amp;amp; Minutes Removing : or leading spaces&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims=:&amp;quot; %%i in ('%TIME%') do set HRa=%%i&amp;lt;br&amp;gt;:: fix the HR in case it has a blank in it&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims= &amp;quot; %%i in ('%HRa%') do set HR=%%i&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=2 delims=:&amp;quot; %%i in ('%TIME%') do set MIN=%%i&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse the Date String ::oving unwated charachters / or - or 'space' depends on system installation&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1,2,3,4 delims=/- &amp;quot; %%i in ('%DATE%') do set Tdate=%%i%%j%%k%%l&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;set TimeStamp=%Tdate%@%HR%%MIN%&amp;lt;br&amp;gt;:: we now have a string which will appear as 12052009@0112&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;echo TimeStamp = %TimeStamp%&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: OPENSIM SYSTEM DATA BACKUP SECTION&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;:: if folders do not exist, create them for this OpenSim Instance&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if not exist %OSbackup%\*.* md %OSbackup%&amp;lt;br&amp;gt;if not exist %OSbackup%\DB\*.* md %OSbackup%\DB&amp;lt;br&amp;gt;if not exist %OSbackup%\DBsql\*.* md %OSbackup%\DBsql&amp;lt;br&amp;gt;if not exist %OSbackup%\EXPORTS\*.* md %OSbackup%\EXPORTS&amp;lt;br&amp;gt;if not exist %OSbackup%\INI\*.* md %OSbackup%\INI&amp;lt;br&amp;gt;if not exist %OSbackup%\LOGS\*.* md %OSbackup%\LOGS&amp;lt;br&amp;gt;if not exist %OSbackup%\OAR\*.* md %OSbackup%\OAR&amp;lt;br&amp;gt;if not exist %OSbackup%\REGIONS\*.* md %OSbackup%\REGIONS&amp;lt;br&amp;gt;if not exist %OSbackup%\TERRAINS\*.* md %OSbackup%\TERRAINS&amp;lt;br&amp;gt;if not exist %OSbackup%\TXT\*.* md %OSbackup%\TXT&amp;lt;br&amp;gt;if not exist %OSbackup%\XML2\*.* md %OSbackup%\XML2&amp;lt;br&amp;gt;:: !! Copy Critical Files !!&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\DB *.DB /S /LOG:%OSbackup%\DBlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Exports %OSbackup%\EXPORTS *.* /S /LOG:%OSbackup%\EXPORTSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\INI *.ini /S /LOG:%OSbackup%\INIlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Regions %OSbackup%\REGIONS *.* /S /LOG:%OSbackup%\REGIONSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\TXT *.txt /S /LOG:%OSbackup%\TXTlog.txt&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: generate MySql DB Backup&amp;lt;br&amp;gt;if DBUSER NEQ XXX mysqldump --opt -u%DBUSER% -p%DBPW% %DBNAME% &amp;amp;gt; %OS_Instance%\BACKup\DBsql\%DBNAME%.sql&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log copy %OSbinSrc%\OpenSim.32BitLaunch.log %OSbackup%\LOGS\OSlog32_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log copy %OSbinSrc%\OpenSim.log %OSbackup%\LOGS\OSlog_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\XEngine.log copy %OSbinSrc%\XEngine.log %OSbackup%\LOGS\XEngine_(%TimeStamp%).log&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: NEXT FLUSHING LOG to EMPTY&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log &amp;amp;gt;%OSbinSrc%\OpenSim.32BitLaunch.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log &amp;amp;gt;%OSbinSrc%\OpenSim.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\xengine.log &amp;amp;gt;%OSbinSrc%\xengine.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: STARTING OPENSIM SERVER &amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: change directory to \bin to make sure and startup system as usual&amp;lt;br&amp;gt;:: uncomment according to Operating System. OpenSim.exe = 32bit OS, OpenSim.32BitLaunch.exe = 64bit operating system &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;cd %OSbinSrc%&amp;lt;br&amp;gt;:: OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;&amp;lt;br&amp;gt;@echo off&amp;lt;br&amp;gt;:: FILENAME: Start_OS.BAT&amp;lt;br&amp;gt;:: AUTHOR: WhiteStar Magic @ OSGrid&amp;lt;br&amp;gt;:: DATE: REVISED SEP-15-2009&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DESCRIPTION: Starts OpenSim.exe with some preprocessing&amp;lt;br&amp;gt;:: - copies opensim.log from BIN\ folder to Log Backup &amp;amp;amp; renames it to OSLOG_Date@time.log&amp;lt;br&amp;gt;:: - example of output OSlog_(14052009@1019).log OR OSlog32_(14052009@1019).log &amp;lt;br&amp;gt;:: - then it CLEARS the log to EMPTY in the \BIN folder so you can see everything from startup&amp;lt;br&amp;gt;:: - WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log&amp;lt;br&amp;gt;:: - Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking&amp;lt;br&amp;gt;:: - Copies critical files into backup structure &amp;lt;br&amp;gt;:: - BACKS UP MYSQL DB &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: INSTALLATION:&amp;lt;br&amp;gt;:: Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead &amp;lt;br&amp;gt;:: MODIFY the bottom lines to adjust for starting OpenSim.exe OR OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DEPENDENCIES: uses Robocopy.exe (Windows Application) free from Microsoft if not in your installation&amp;lt;br&amp;gt;:: SYSTEM IMPACT: None Known &amp;lt;br&amp;gt;:: TESTED ON: Windows Vista, Windows-7RC, WINDOWS SERVER 2008-R1(64bit)&amp;lt;br&amp;gt;:: Other Windows Operating Systems should have no issue (untested) but they are consistent for this type of function&amp;lt;br&amp;gt;:: =================================================================================================================&amp;lt;br&amp;gt;:: CONFIGURING ENVIRONMENT PATHS AND SETUP TO SIMPLIFY CONFIG &amp;amp;amp; ADMIN&amp;lt;br&amp;gt;:: Adjust the following to YOUR INSTALLED Folder Paths&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&amp;lt;br&amp;gt;:: OSbinSrc = Where the OpenSim Software is installed and run from&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;SET OSbackup=C:\OpenSim\INSTANCEa\BACKup&amp;lt;br&amp;gt;SET OSbinSrc=C:\OpenSim\INSTANCEa\bin&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: MYSQL INFORMATION TO BE FILLED OUT. &amp;lt;br&amp;gt;:: IF DBUSER=XXX MySql Dump will not occur&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br&amp;gt;set DBNAME=opensim&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: DATE &amp;amp;amp; TIME String Assembly&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: Date &amp;amp;amp; Time Format on your system&amp;lt;br&amp;gt;:: Check your format in command.prompt with DATE/T&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: EU DATE FORMAT = 15-05-2006 DD-MM-YYYY&amp;lt;br&amp;gt;:: US DATE FORMAT = 05/17/2006 MM/DD/YYYY&amp;lt;br&amp;gt;:: TIME FORMAT 13:45:55 is truncated to 1345 and colons are ::oved &amp;lt;br&amp;gt;:: DATES are cleaned of / or - or : depending on your system install &amp;amp;amp; config.&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse Hour &amp;amp;amp; Minutes Removing : or leading spaces&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims=:&amp;quot; %%i in ('%TIME%') do set HRa=%%i&amp;lt;br&amp;gt;:: fix the HR in case it has a blank in it&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims= &amp;quot; %%i in ('%HRa%') do set HR=%%i&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=2 delims=:&amp;quot; %%i in ('%TIME%') do set MIN=%%i&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse the Date String ::oving unwated charachters / or - or 'space' depends on system installation&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1,2,3,4 delims=/- &amp;quot; %%i in ('%DATE%') do set Tdate=%%i%%j%%k%%l&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;set TimeStamp=%Tdate%@%HR%%MIN%&amp;lt;br&amp;gt;:: we now have a string which will appear as 12052009@0112&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;echo TimeStamp = %TimeStamp%&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: OPENSIM SYSTEM DATA BACKUP SECTION&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;:: if folders do not exist, create them for this OpenSim Instance&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if not exist %OSbackup%\*.* md %OSbackup%&amp;lt;br&amp;gt;if not exist %OSbackup%\DB\*.* md %OSbackup%\DB&amp;lt;br&amp;gt;if not exist %OSbackup%\DBsql\*.* md %OSbackup%\DBsql&amp;lt;br&amp;gt;if not exist %OSbackup%\EXPORTS\*.* md %OSbackup%\EXPORTS&amp;lt;br&amp;gt;if not exist %OSbackup%\INI\*.* md %OSbackup%\INI&amp;lt;br&amp;gt;if not exist %OSbackup%\LOGS\*.* md %OSbackup%\LOGS&amp;lt;br&amp;gt;if not exist %OSbackup%\OAR\*.* md %OSbackup%\OAR&amp;lt;br&amp;gt;if not exist %OSbackup%\REGIONS\*.* md %OSbackup%\REGIONS&amp;lt;br&amp;gt;if not exist %OSbackup%\TERRAINS\*.* md %OSbackup%\TERRAINS&amp;lt;br&amp;gt;if not exist %OSbackup%\TXT\*.* md %OSbackup%\TXT&amp;lt;br&amp;gt;if not exist %OSbackup%\XML2\*.* md %OSbackup%\XML2&amp;lt;br&amp;gt;:: !! Copy Critical Files !!&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\DB *.DB /S /LOG:%OSbackup%\DBlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Exports %OSbackup%\EXPORTS *.* /S /LOG:%OSbackup%\EXPORTSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\INI *.ini /S /LOG:%OSbackup%\INIlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Regions %OSbackup%\REGIONS *.* /S /LOG:%OSbackup%\REGIONSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\TXT *.txt /S /LOG:%OSbackup%\TXTlog.txt&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: generate MySql DB Backup&amp;lt;br&amp;gt;if DBUSER NEQ XXX mysqldump --opt -u%DBUSER% -p%DBPW% %DBNAME% &amp;amp;gt; %OS_Instance%\BACKup\DBsql\%DBNAME%.sql&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log copy %OSbinSrc%\OpenSim.32BitLaunch.log %OSbackup%\LOGS\OSlog32_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log copy %OSbinSrc%\OpenSim.log %OSbackup%\LOGS\OSlog_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\XEngine.log copy %OSbinSrc%\XEngine.log %OSbackup%\LOGS\XEngine_(%TimeStamp%).log&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: NEXT FLUSHING LOG to EMPTY&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log &amp;amp;gt;%OSbinSrc%\OpenSim.32BitLaunch.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log &amp;amp;gt;%OSbinSrc%\OpenSim.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\xengine.log &amp;amp;gt;%OSbinSrc%\xengine.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: STARTING OPENSIM SERVER &amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: change directory to \bin to make sure and startup system as usual&amp;lt;br&amp;gt;:: uncomment according to Operating System. OpenSim.exe = 32bit OS, OpenSim.32BitLaunch.exe = 64bit operating system &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;cd %OSbinSrc%&amp;lt;br&amp;gt;:: OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;OpenSim.exe&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/blockquote&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''BACK-LINKS'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Windows ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Smart Prestart WIN]]&amp;#160; [[Backing Up WIN]]&amp;#160;  [[Automated Upgrade WIN]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Linux ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Smart Prestart LINUX]]&amp;#160;  [[Backing Up LINUX]]&amp;#160;  [[Automated Upgrade LINUX]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WhiteStar</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14961&amp;oldid=prev</id>
		<title>WhiteStar: New page: '''Starting OpenSim with a little Pre-Processing'''   I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others ...</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Smart_Prestart_WIN&amp;diff=14961&amp;oldid=prev"/>
				<updated>2009-09-15T22:22:53Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#039;&amp;#039;&amp;#039;Starting OpenSim with a little Pre-Processing&amp;#039;&amp;#039;&amp;#039;   I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Starting OpenSim with a little Pre-Processing''' &lt;br /&gt;
&lt;br /&gt;
I created this Batch File to run a couple of things for me on startup and thought it would be good to share the base of it for others to be able to further better manage their systems. I like to review my OpenSim.Log when I do a Startup and as you know, that thing becomes a Monster very fast&amp;amp;nbsp;! BTW: It's also not good to open the &amp;quot;Live Log&amp;quot; when the system is running because it can cause the console to lockup (hate file locking @ times). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''What this does is described in the batch file, in a nutshell:&amp;lt;br&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Presets a TimeStamp for Date@HourMinute &lt;br /&gt;
&lt;br /&gt;
*Copies \bin\opensim.log or&amp;amp;nbsp;\bin\opensim.32bitLaunch.log&amp;amp;nbsp;to the backup folder structure as&amp;amp;nbsp;defined. &lt;br /&gt;
*''The DEFAULT is&amp;amp;nbsp;C:\OpenSim\InstanceA\BACKups\LOGS'' &lt;br /&gt;
*Next, it renames the copied opensim.log to OSLOG_(14052009@1100).log so now it is Date@HourMinute stamped in the filename. &lt;br /&gt;
*Next, it clears the \bin\opensim.log and inserts &amp;quot;LOG_CLEARED AT 14052009@1100&amp;quot; as the first line in the file. &lt;br /&gt;
*WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log &lt;br /&gt;
*Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking &lt;br /&gt;
*Copies critical files into backup structure&amp;amp;nbsp;(*.db, *.ini, exports, regions files ini or xml) &lt;br /&gt;
*OPTIONALLY BACKS UP MYSQL DB &lt;br /&gt;
*Changes directory to the \BIN folder and starts OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''INSTALLATION: &amp;lt;br&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
*Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead instead of opensim.exe &lt;br /&gt;
*'''!!''' Remember to set the 5 Important Variables for your paths at the top of the batch file as shown below: &lt;br /&gt;
*'''OPTIONALLY''' Now Also dumps MySql DataBase SEE Header in batchfile&lt;br /&gt;
&lt;br /&gt;
SET OSbackup=C:\OpenSim\InstanceA\BACKups&amp;lt;br&amp;gt;SET OSbinSrc=C:\OpenSim\InstanceA\bin&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br&amp;gt;set DBNAME=opensim &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;That's it... Nice &amp;amp;amp; Easy, always a clean log when you startup and a copy of the previous log stored for you to review &lt;br /&gt;
&lt;br /&gt;
THE BATCHFILE '''Start_OS.BAT'''&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;br&amp;gt;@echo off&amp;lt;br&amp;gt;:: FILENAME: Start_OS.BAT&amp;lt;br&amp;gt;:: AUTHOR: WhiteStar Magic @ OSGrid&amp;lt;br&amp;gt;:: DATE: REVISED SEP-15-2009&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DESCRIPTION: Starts OpenSim.exe with some preprocessing&amp;lt;br&amp;gt;:: - copies opensim.log from BIN\ folder to Log Backup &amp;amp;amp; renames it to OSLOG_Date@time.log&amp;lt;br&amp;gt;:: - example of output OSlog_(14052009@1019).log OR OSlog32_(14052009@1019).log &amp;lt;br&amp;gt;:: - then it CLEARS the log to EMPTY in the \BIN folder so you can see everything from startup&amp;lt;br&amp;gt;:: - WHY? Easier to track startup issues / debugging and helps reduce size of live opensim.log&amp;lt;br&amp;gt;:: - Creates backup structure under the instance to store critical files for recovery &amp;amp;amp; tracking&amp;lt;br&amp;gt;:: - Copies critical files into backup structure &amp;lt;br&amp;gt;:: - BACKS UP MYSQL DB &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: INSTALLATION:&amp;lt;br&amp;gt;:: Startup with a shortcut as you would with standard opensim.exe, just start this batch file instead &amp;lt;br&amp;gt;:: MODIFY the bottom lines to adjust for starting OpenSim.exe OR OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: DEPENDENCIES: uses Robocopy.exe (Windows Application) free from Microsoft if not in your installation&amp;lt;br&amp;gt;:: SYSTEM IMPACT: None Known &amp;lt;br&amp;gt;:: TESTED ON: Windows Vista, Windows-7RC, WINDOWS SERVER 2008-R1(64bit)&amp;lt;br&amp;gt;:: Other Windows Operating Systems should have no issue (untested) but they are consistent for this type of function&amp;lt;br&amp;gt;:: =================================================================================================================&amp;lt;br&amp;gt;:: CONFIGURING ENVIRONMENT PATHS AND SETUP TO SIMPLIFY CONFIG &amp;amp;amp; ADMIN&amp;lt;br&amp;gt;:: Adjust the following to YOUR INSTALLED Folder Paths&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: OSbackup = Where you want your Backup File Structure to be and send files to&amp;lt;br&amp;gt;:: OSbinSrc = Where the OpenSim Software is installed and run from&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;SET OSbackup=C:\OpenSim\INSTANCEa\BACKup&amp;lt;br&amp;gt;SET OSbinSrc=C:\OpenSim\INSTANCEa\bin&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: MYSQL INFORMATION TO BE FILLED OUT. &amp;lt;br&amp;gt;:: IF DBUSER=XXX MySql Dump will not occur&amp;lt;br&amp;gt;set DBUSER=root&amp;lt;br&amp;gt;set DBPW=YOURPASSWORD&amp;lt;br&amp;gt;set DBNAME=opensim&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: DATE &amp;amp;amp; TIME String Assembly&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;:: Date &amp;amp;amp; Time Format on your system&amp;lt;br&amp;gt;:: Check your format in command.prompt with DATE/T&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: EU DATE FORMAT = 15-05-2006 DD-MM-YYYY&amp;lt;br&amp;gt;:: US DATE FORMAT = 05/17/2006 MM/DD/YYYY&amp;lt;br&amp;gt;:: TIME FORMAT 13:45:55 is truncated to 1345 and colons are ::oved &amp;lt;br&amp;gt;:: DATES are cleaned of / or - or : depending on your system install &amp;amp;amp; config.&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse Hour &amp;amp;amp; Minutes Removing : or leading spaces&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims=:&amp;quot; %%i in ('%TIME%') do set HRa=%%i&amp;lt;br&amp;gt;:: fix the HR in case it has a blank in it&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1 delims= &amp;quot; %%i in ('%HRa%') do set HR=%%i&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=2 delims=:&amp;quot; %%i in ('%TIME%') do set MIN=%%i&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: Parse the Date String ::oving unwated charachters / or - or 'space' depends on system installation&amp;lt;br&amp;gt;for /F &amp;quot;usebackq tokens=1,2,3,4 delims=/- &amp;quot; %%i in ('%DATE%') do set Tdate=%%i%%j%%k%%l&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;set TimeStamp=%Tdate%@%HR%%MIN%&amp;lt;br&amp;gt;:: we now have a string which will appear as 12052009@0112&amp;lt;br&amp;gt;:: --------------------------------------------------------------------------------------&amp;lt;br&amp;gt;echo TimeStamp = %TimeStamp%&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: OPENSIM SYSTEM DATA BACKUP SECTION&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;:: if folders do not exist, create them for this OpenSim Instance&amp;lt;br&amp;gt;:: &amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if not exist %OSbackup%\*.* md %OSbackup%&amp;lt;br&amp;gt;if not exist %OSbackup%\DB\*.* md %OSbackup%\DB&amp;lt;br&amp;gt;if not exist %OSbackup%\DBsql\*.* md %OSbackup%\DBsql&amp;lt;br&amp;gt;if not exist %OSbackup%\EXPORTS\*.* md %OSbackup%\EXPORTS&amp;lt;br&amp;gt;if not exist %OSbackup%\INI\*.* md %OSbackup%\INI&amp;lt;br&amp;gt;if not exist %OSbackup%\LOGS\*.* md %OSbackup%\LOGS&amp;lt;br&amp;gt;if not exist %OSbackup%\OAR\*.* md %OSbackup%\OAR&amp;lt;br&amp;gt;if not exist %OSbackup%\REGIONS\*.* md %OSbackup%\REGIONS&amp;lt;br&amp;gt;if not exist %OSbackup%\TERRAINS\*.* md %OSbackup%\TERRAINS&amp;lt;br&amp;gt;if not exist %OSbackup%\TXT\*.* md %OSbackup%\TXT&amp;lt;br&amp;gt;if not exist %OSbackup%\XML2\*.* md %OSbackup%\XML2&amp;lt;br&amp;gt;:: !! Copy Critical Files !!&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\DB *.DB /S /LOG:%OSbackup%\DBlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Exports %OSbackup%\EXPORTS *.* /S /LOG:%OSbackup%\EXPORTSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\INI *.ini /S /LOG:%OSbackup%\INIlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc%\Regions %OSbackup%\REGIONS *.* /S /LOG:%OSbackup%\REGIONSlog.txt&amp;lt;br&amp;gt;robocopy %OSbinSrc% %OSbackup%\TXT *.txt /S /LOG:%OSbackup%\TXTlog.txt&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: generate MySql DB Backup&amp;lt;br&amp;gt;if DBUSER NEQ XXX mysqldump --opt -u%DBUSER% -p%DBPW% %DBNAME% &amp;amp;gt; %OS_Instance%\BACKup\DBsql\%DBNAME%.sql&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log copy %OSbinSrc%\OpenSim.32BitLaunch.log %OSbackup%\LOGS\OSlog32_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log copy %OSbinSrc%\OpenSim.log %OSbackup%\LOGS\OSlog_(%TimeStamp%).log&amp;lt;br&amp;gt;if exist %OSbinSrc%\XEngine.log copy %OSbinSrc%\XEngine.log %OSbackup%\LOGS\XEngine_(%TimeStamp%).log&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: NEXT FLUSHING LOG to EMPTY&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.32BitLaunch.log &amp;amp;gt;%OSbinSrc%\OpenSim.32BitLaunch.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\OpenSim.log &amp;amp;gt;%OSbinSrc%\OpenSim.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;if exist %OSbinSrc%\xengine.log &amp;amp;gt;%OSbinSrc%\xengine.log echo &amp;quot;LOG_CLEARED AT %TimeStamp%&amp;quot;&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;@echo OFF&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: STARTING OPENSIM SERVER &amp;lt;br&amp;gt;:: ==============================================&amp;lt;br&amp;gt;:: change directory to \bin to make sure and startup system as usual&amp;lt;br&amp;gt;:: uncomment according to Operating System. OpenSim.exe = 32bit OS, OpenSim.32BitLaunch.exe = 64bit operating system &amp;lt;br&amp;gt;::&amp;lt;br&amp;gt;cd %OSbinSrc%&amp;lt;br&amp;gt;:: OpenSim.32BitLaunch.exe&amp;lt;br&amp;gt;OpenSim.exe&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;/div&gt;</summary>
		<author><name>WhiteStar</name></author>	</entry>

	</feed>