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!

May the Fourth Be With you

Hey all!

I thought that I would share a story today of Jedi powers.  It was a long time ago, when I worked as a hardware technician at my alma mater.  I loved these days, they were so simple and the work was great.  I was getting paid minimal wage and enjoying learning more outside of class about my career than in class.  (Except for your classes Dr. H!)

Continue reading “May the Fourth Be With you”

Fix your slow computer with this simple tool

There are a number of things that can cause your computer to become slow.  Fortunately, there is a fix for your slow computer with a simple tool.  Now sometimes, there are things that slow a computer down that one tool cannot fix.

However, this tool is a great start, CCleaner offers the following features:

  • Browser Clean-up
  • Registry Cleaning
  • Startup Optimization
  • Programs Clean-up

Continue reading “Fix your slow computer with this simple tool”

How to upgrade iDRAC firmware on Dell PowerEdge servers

Technology has come a long way.  Dell has a feature on their PowerEdge servers called “iDRAC”.  It stands for Integrated Dell Remote Access Controller.  What this does, is it enables technicians remote access to the server even if the server is shutdown.

This piece of technology, like all technology, needs updating periodically.  I’m going to go over how to upgrade the firmware, which is also called the Lifecycle Controller.

Continue reading “How to upgrade iDRAC firmware on Dell PowerEdge servers”

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”