We help IT Professionals succeed at work.

Backup and Restore CentOS machine to a Flash Drive

Bob asked
Medium Priority
Last Modified: 2013-12-16
I have a small CentOS  (2GB) installation that I need to replecate onto several other servers.

Can someone supply me with the proper commands to back the drive up to a USB stick that I can put into a new server and restore the configuration to?  (The hardware will be very simular between the servers)

I am kinda new to Linux and will be doing everything from the command line.

Watch Question



ended up using

dd /if=/dev/sda  of=/dev/sdb

worked great so far
That will only work for backing up. You will be unable to restore the image without additional software. That's why I suggested that you use a portable software such as driveimage-xml. Your own answer doesn't meet your original specifications.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Thanks for the help.  You are correct that I strayed from my origional question.  All I really wanted to do is clone the drives for multiple installations.  Your answer was correct if I wanted to back up to a USB so I will award the points.  I will look into the software also.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.