How to copy copious amounts of data seamlessly

At one point in time, I found myself needing to move data from one server to a new server. Often times this happens when replacing a server.  So the server had about a terabyte of data on it. Pretty small, considering. But there were hundreds of thousands of files and folders.

I could just copy this data using Windows Explorer, but that isn’t as fun!  I set out to build a script to copy this data and I used Windows built in utility called Robocopy.

This utility is epic. There are so many things you can do with it. I’m going to highlight just a few for you.

Copy all data subdirectories and all files

robocopy.exe <source> <destination> /mir

Copy data over a network connection

To copy data over a network connection, sometimes the connection gets interrupted, the robocopy tool can automatically retry using the following command:

robocopy.exe <source> <destination> /mir /r:[number of times to retry]

Copy data with all NTFS ACLs and Owner Information

robocopy.exe <source> <destination> /copy:DATSOU

Copy data while deleting directories in destination that do not exist in source

robocopy.exe <source> <destination> /purge

Copy data while capturing a log file

robocopy.exe <source> <destination> /mir /log:<path>

Copy data while appending to a log file

robocopy.exe <source> <destination> /mir /log+:<path>

 

Stay tuned, I’ll had more functionalities here as I use more of them!

How to show the running config on a Dell PowerConnect 2848 switch

Today’s post is very short.  I’m upgrading switches for one of our clients and as part of that, I need to ensure we capture all current configuration.

The easiest and fastest way to do that on the Dell PowerConnect 2848 Switch is to telnet into the switch using Putty.  (my personal favorite terminal tools)

Continue reading “How to show the running config on a Dell PowerConnect 2848 switch”

How to make your website load freaky fast

Jimmy Johns has created an almost unrealistic expectation on how fast things should be.  Websites aren’t the exception to that.  If your website doesn’t load within a second, the majority of visitors will move on.

Unfortunately, that means unless you are a mega corporation, you can’t afford to have a freaky fast website.  Luckily, there is something for the little guys.  And it’s free!

Continue reading “How to make your website load freaky fast”

How to upgrade your hard drive to a solid state drive

In tonight’s post, I will walk you through how to upgrade your hard drive to a solid state drive.  Before I do that, I wanted to tell the story of how I restored my wife’s five year old laptop to almost brand new by upgrading the hard drive to a solid state drive.

My wife had an old Toshiba laptop that was dog slow.  It took her several minutes to boot up, log in and also minutes between launching applications.  She got so frustrated, I actually caught her before she bought a new laptop at Best Buy.  I promised her that I could fix her computer for less than $200.

Continue reading “How to upgrade your hard drive to a solid state drive”

Windows Update Fix for HP t520 Thin Client

This will be more of a technical article, and very short.  I ran into an issue the other day when trying to run Windows Update on the Windows Embedded 7 (WES7) HP t520 Thin Client.

We needed to get this patched because there was an issue with the RDP program that was updated through a patch.  We now keep all of our HP t520 Thin Client machines fully patched.

I was sitting there trying to run Windows Update from the Control Panel and it kept saying that the settings are controlled by the system administrator, wouldn’t let me proceed.  I got super frustrated until I found the solution.

Continue reading “Windows Update Fix for HP t520 Thin Client”

Export Exchange Mailbox to a PST using Powershell

Tonight’s story is one of success.  In my nerdy nature, it brought me great joy.

Recently, I had a request come in to recover a specific email attachment.  From 2014.  Thankfully, the user was smart and sent me the information I needed to begin my search.  I did not tell them that this would be an impossible task because our email backups only go back 60 days, not to mention, we recently migrated them from on-premises Exchange 2010 to Office 365 (Exchange Online).

The Hunt

Continue reading “Export Exchange Mailbox to a PST using Powershell”