• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 916
  • Last Modified:

Backup and Restore CentOS machine to a Flash Drive

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.

Thanks
0
Bob
Asked:
Bob
  • 2
  • 2
1 Solution
 
AdamsConsultingCommented:
Use portable DriveImage XML

http://www.runtime.org/driveimage-xml.htm
0
 
BobAuthor Commented:
ended up using

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

worked great so far
0
 
AdamsConsultingCommented:
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.
0
 
BobAuthor Commented:
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.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now