<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>TheBernharts.com &#187; work</title>
	<atom:link href="http://www.thebernharts.com/tag/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thebernharts.com</link>
	<description>This, that, and the other thing.</description>
	<lastBuildDate>Fri, 23 Jul 2010 19:06:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<link rel="http://api.friendfeed.com/2008/03#sup" xmlns="http://www.w3.org/2005/Atom" type="application/json" href="http://friendfeed.com/api/public-sup.json#bc1147d041"/>		<item>
		<title>Restoring a SQL database to a new host with limited accessibility</title>
		<link>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/</link>
		<comments>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 19:36:16 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[neil]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Microsoft SQL Server 2005]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/?p=602</guid>
		<description><![CDATA[How I moved a backed up SQL 2005 database to a server hosted at godaddy. The new server did not allow restoring backups that were not stored on the hosted server, and I had no access to place the .BAK file on the hosted server. Interested? Read on...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thebernharts.com/wp-content/uploads/2009/09/sql.gif" rel="lightbox[602]"><img class="alignright size-medium wp-image-609" style="margin: 0 0 5px 5px;" title="sql" src="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-300x212.gif" alt="sql" width="300" height="212" /></a>I&#8217;ve taken a side job for some extra cash, which involves some web development work, including MS SQL database stuff. Up until now, I&#8217;ve only worked on SQL databases that I have complete administrative access to&#8230; i.e., they are steps away from me and I&#8217;ve set them up personally. This means that I&#8217;m very comfortable with importing, exporting, backing up, restoring, etc&#8230;. up until this project.</p>
<p>Here&#8217;s the scenario: I have a .BAK file of the database that was hosted on a MSSQL Server 2005 at my previous employers data-center. I need to re-create that database on a hosted MS SQL Server 2005 system at GoDaddy.com. No worries, I thought. I will just create my new database, do a manual back up of it. Then restore it and point it to my .BAK file from the previous server. That concept is old-hat to me, as I&#8217;ve done it countless times&#8230; <span id="more-602"></span>on systems that I have complete control and access to. This time it&#8217;s on a server that I have limited access to. GoDaddy only permits SQL restores from files that were created by the host system, and stored on it&#8217;s local disk. And&#8230; I have no rights to place my .BAK file onto the host db server. So, I put on my thinking cap and thunk this one out.</p>
<p>Now, I must fully expose that I am not a SQL DBA in any way, shape, or form. Systems Administration is my background&#8230; I can install, configure, and maintain the heck out of a MS SQL database. But, I have extremely limited skills with SQL programming and queries. So, here&#8217;s what I came up with:</p>
<p>I have SQL 2005 Express running on my Vista system. Figured I could use that to my advantage here to get the data moved. I&#8217;ll break it down into pieces. I have SQL Express connected to my local instance, as well as the remote instance.</p>
<ul>
<li>Create a new database (in my local instance, I created a new database&#8230; we&#8217;ll call it dbFOO)</li>
<li>Make a back up of dbFOO</li>
<li>Do a restore of dbFOO, and change it to grab the data from the .BAK file from the old system (this is the step that I would have loved to be able to do on the remote database server)
<ul>
<li>Change the options so that it overwrites the existing database</li>
</ul>
</li>
<li>On the remote instance, create a new database named dbFOO (db names must be the same since we&#8217;re using some queries and we want to limit how much manual editing we need to do)</li>
<li>On the local instance, right-click on one of the tables and choose &#8220;Script Table as&#8230; &gt; CREATE To &gt; Clipboard&#8221;</li>
<li>On the remote instance, right-click on the database and choose &#8220;New Query&#8221;</li>
<li>In the query window, paste your clipboard contents
<ul>
<li>since your database names are the same, this query will run without issues on the remote instance.</li>
</ul>
</li>
<li>Execute the query. Boom, the table is now created on the remote instance. Rinse and repeat for the rest of the local instance tables.
<ul>
<li>Tip: keep that query window open, and just replace the sql script with the once for the next table and execute it. A little time-saver.</li>
</ul>
</li>
<li>Once the tables are created, right-click on the dbFOO database on the remote instance. Choose &#8220;Tasks &gt; Import Data&#8221;
<ul>
<li>WAIT! SQL Express doesn&#8217;t have DTS built in, so how am I able to do this? I once had SQL 2000 Ent. Mgr. installed and I held on to the admin tools, which included DTS. It does spit out some errors when starting up, but I just launch dtswizard.exe and I&#8217;m able to use it for my SQL 2005 Express databases.</li>
</ul>
</li>
<li>Choose the local instance as your source, and your remote instance as your destination. Set up dbFOO as the database, of course.</li>
<li>Go through all of the wizard steps, choose the option for &#8220;copy data from one or more tables or views&#8221;.</li>
<li>Check the boxes for all the tables and make any adjustments. (I had to enable identity inserts)</li>
<li>Finish the wizard and blam, there is all of the data.</li>
</ul>
<p>Are there other ways to accomplish what I needed? Maybe so. Is this the most graceful way to accomplish what I needed? Probably not. Do I care? Nope&#8230; I got what I needed done. It actually took me longer to write this post than it did to do all the steps listed above.</p>
<p>If you have other ideas or ways that this could have been done, please leave a comment. I love to document this stuff for other out there that could be in the same pickle I was, to give them some ideas or help in their situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2009/09/restoring-a-sql-database-to-a-new-host-with-limited-accessibility/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-150x150.gif" />
		<media:content url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql.gif" medium="image">
			<media:title type="html">sql</media:title>
			<media:thumbnail url="http://www.thebernharts.com/wp-content/uploads/2009/09/sql-150x150.gif" />
		</media:content>
	</item>
		<item>
		<title>A typical Wednesday for me</title>
		<link>http://www.thebernharts.com/2008/12/a-typical-wednesday-for-me/</link>
		<comments>http://www.thebernharts.com/2008/12/a-typical-wednesday-for-me/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 00:03:51 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[brody]]></category>
		<category><![CDATA[melanie]]></category>
		<category><![CDATA[neil]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/?p=301</guid>
		<description><![CDATA[Take a peek into my typical weekday schedule, if you dare.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="margin: 0 5px 5px 0;" title="will return" src="http://farm4.static.flickr.com/3103/3085093237_73513ba257_m.jpg" alt="" width="240" height="159" />Melanie works part time now, ever since she&#8217;d gone back to work after Brody arrived. Her schedule is to work on every Tues, Wed, and Thurs&#8230; your normal 8 hour shift. On these three days I carpool with her to work. All 3 of us pile into the car and I drive to my work, she then takes Brody to the sitter and goes to her work. Needless to say, these days go by fairly quickly. So quick that sometimes it is all a blur. A few weeks ago I threatened to make an outline of one day. Well, I finally got around to it! Here&#8217;s a breakdown of my typical Tues through Thurs schedule. </p>
<p>Keep in mind that all times can be &#8220;give or take&#8221; 5-10 minutes or so. We don&#8217;t quite have it down to an exact science just yet.<br />
<span id="more-301"></span></p>
<ul>
<li><strong>5:00am</strong>
<ul>
<li>wake up</li>
<li>check work email (usually via my phone while getting ready to shower)</li>
<li>shower</li>
<li>shave</li>
</ul>
</li>
<li><strong>5:45am </strong>
<ul>
<li>try to wake up Melanie</li>
<li>get dressed</li>
</ul>
</li>
<li><strong>5:50am &#8211; 7:00am</strong> (the order is dictated by when Brody wakes up)
<ul>
<li>start putting our lunches together</li>
<li>eat english muffin with peanut butter, drink some OJ (this is done while doing the previous step)</li>
<li>check diaper bag to ensure it contains all items required</li>
<li>wake Brody up, if he&#8217;s not already squirming</li>
<li>change his diaper</li>
<li>dress him</li>
<li>bring him to Melanie once he&#8217;s dressed and ready to go</li>
<li>make us both instant coffee for the drive (Melanie takes cinnamon and brown sugar)</li>
<li>toast english muffin for Melanie (also with peanut butter)</li>
<li>load up the car: lunch bags, diaper bag, coffee mugs, any other misc bags</li>
</ul>
</li>
<li><strong>7:00am </strong>
<ul>
<li>put Brody into car seat</li>
<li>load Brody into car</li>
<li>drive to my work</li>
</ul>
</li>
<li><strong>8:00am </strong>
<ul>
<li>I get to my work</li>
<li>Melanie takes over and drives to the sitter&#8217;s place</li>
</ul>
</li>
<li><strong>8:15am </strong>
<ul>
<li>Melanie drops Brody off with sitter</li>
</ul>
</li>
<li><strong>8:30am </strong>
<ul>
<li>Melanie gets to her work</li>
</ul>
</li>
<li><strong>5:00pm </strong>
<ul>
<li>Melanie leaves work to pick up Brody from sitter</li>
</ul>
</li>
<li><strong>5:15pm </strong>
<ul>
<li>Melanie leaves sitter to pick me up from work</li>
</ul>
</li>
<li><strong>5:30pm</strong> (ish)
<ul>
<li>Melanie picks me up from work, I take over the wheel for the leg home</li>
</ul>
</li>
<li><strong>6:30pm</strong> (ish)
<ul>
<li>we arrive home</li>
</ul>
</li>
<li><strong>6:30pm &#8211; 6:45pm </strong>
<ul>
<li>bring Brody inside</li>
<li>unload all of the stuff from the car</li>
</ul>
</li>
<li>between <strong>6:45pm and 7:30pm </strong>
<ul>
<li>Melanie and I eat dinner</li>
</ul>
<ul>
<li>feed Brody cereal or some jar food if he seems hungry</li>
</ul>
</li>
<li><strong>7:30pm &#8211; 8:00pm </strong>
<ul>
<li>bathtime for Brody</li>
</ul>
</li>
<li><strong>8:00pm &#8211; 9:00pm </strong>
<ul>
<li>Brody gets fed and falls asleep</li>
<li>this could go past 9pm if he doesn&#8217;t crash easily</li>
</ul>
</li>
<li><strong>9:00pm &#8211; 10:00pm </strong>
<ul>
<li>do some random chores that need to be done before the next day</li>
<li>do anything else that I&#8217;d like to spend my free time on&#8230; sometimes I can last until 10:30pm if I really want to</li>
</ul>
</li>
<li><strong>10:00pm &#8211; 10:30pm </strong>
<ul>
<li>go to sleep</li>
</ul>
</li>
</ul>
<div>Do some folks have it busier? I&#8217;m sure there are plenty that do, and I can sure say that I&#8217;m not sure how you could cram much more into your day. I suppose if you slept less that 6-7 hours you could.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2008/12/a-typical-wednesday-for-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://farm4.static.flickr.com/3103/3085093237_73513ba257_m.jpg" />
		<media:content url="http://farm4.static.flickr.com/3103/3085093237_73513ba257_m.jpg" medium="image">
			<media:title type="html">will return</media:title>
		</media:content>
	</item>
		<item>
		<title>Who wants ShoreTel telnet login credentials?</title>
		<link>http://www.thebernharts.com/2008/01/who-wants-shoretel-telnet-login-credentials/</link>
		<comments>http://www.thebernharts.com/2008/01/who-wants-shoretel-telnet-login-credentials/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 07:25:30 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[phones]]></category>
		<category><![CDATA[shoretel]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.thebernharts.com/2008/01/17/who-wants-shoretel-telnet-login-credentials/</guid>
		<description><![CDATA[Having trouble finding the login for VxWorks on Shoretel equipment?]]></description>
			<content:encoded><![CDATA[<p>Part of my job is administering a ShoreTel VoIP phone system that spans the entire corporation. We have three majors sites and a couple of other small branch offices&#8230; all spread across the nation.</p>
<p>It&#8217;s a really great system and is great to work on as far as administration of the system. I&#8217;ve found a good amount of valuable tech support using the ShoreTel support on their site, but I&#8217;ve found some equally beneficial help on shoretelforums.com. I value the help that I find on both websites. However, I recently became frustrated when searching for the default username and password for a ShoreTel switch.<br />
<span id="more-80"></span><br />
I had to telnet into this particular switch to check on most likely add some ip routes. I&#8217;d done it before but did not document the login credentials I had used previously. So, I went to the place that I had found it before: shoretelforums.com. I searched for &#8220;telnet&#8221; and the first result was a post that had a link to the ShoreTel.com support document with the credentials&#8230; only this time the link was broken.</p>
<p>After racking my brains for a few minutes, I remembered the password and my colleague recalled the username. I thought is was sort of strange that no one on the forums site had simply posted the credentials. So, I did just that&#8230; only to find that my post had been edited and the credentials removed. Here&#8217;s what it said:</p>
<blockquote><p>{edit: this site is open to the public, and for security reasons, I&#8217;d rather not have this password openly available. Feel free to PM it to somebody, but not post it openly. Thanks, and hopefully no hard feelings }</p></blockquote>
<p><strong>Sorry, but I think that&#8217;s just plain lame. </strong> No, there&#8217;s no hard feelings&#8230; but I don&#8217;t understand the logic in keeping this sort of information &#8216;secret&#8217; from the public.</p>
<p>I help maintain a network infrastructure with Cisco and HP core switches that I believe are much higher on the importance chain than a VoIP switch. I can go to the manufactures sites for either of these and easily find the default credentials for any of their products. What makes it so important to keep this information &#8216;secure&#8217; from the public.</p>
<p>Well, since I can&#8217;t post the credentials on the shoretelforums.com site, I&#8217;m going to post them right here on my site!<br />
<strong><br />
**edit**</strong><br />
<em>There is a good reason that the credentials are kept from public view. If you are not familiar with working within the VxWorks CLI, then you should be cautious when using it&#8230; perhaps not even take the risk, and just contact your support vendor. Be aware that you may cause irreparable damage to the device. If you&#8217;re unsure, you should contact your ShoreTel support vendor.</em></p>
<p><strong>Default ShoreTel VxWorks login credentials:</strong><br />
Username: anonymous<br />
Password: ShoreTel</p>
<p><em>Don&#8217;t forget to enable telnet to that device before wasting your time trying to log in:<br />
<strong>for a phone:</strong> phonectl.exe -telneton TARGET_IP_ADDRESS<br />
<strong>for a switch:</strong> ipbxctl -telneton TARGET_IP_ADDRESS</em></p>
<p>Now, we&#8217;ll just have the interweb search monkeys go an do their voodoo&#8230; and before you know it, when you google &#8220;shoretel telnet login&#8221; or &#8220;vxworks credentials&#8221;&#8230; let&#8217;s just see if this post gets a better ranking than the forums.</p>
<p>When it comes down to it, if this post helps just one poor soul quicker than going through the forums or the ShoreTel site, then I&#8217;ll be happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thebernharts.com/2008/01/who-wants-shoretel-telnet-login-credentials/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
	</item>
	</channel>
</rss>
