Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-07-2011, 08:27 PM   #1
LQ Newbie
Registered: Sep 2011
Posts: 17

Rep: Reputation: Disabled
How to create an image CD to back up the Centos 5 system

I need to back up my whole Linux system to an image CD, how can I do that? Thanks in advance.
Old 11-07-2011, 08:55 PM   #2
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 216

Rep: Reputation: 29
Hello Pinglu,

There are other backup solutions available but I personaly just use tar to backup everything and transfer it onto an external drive. The command I use is
tar cpfz centos_backup_09_09_11.tgz --exclude=/proc --exclude=/sys --exclude=/centos_backup_09_09_11.tgz --exclude=/mnt --exclude=/var/lib/mysql/ddr14 --exclude=lost+found --exclude=/media --exclude=/tmp /
The above line backs up (nearly) everything. /mnt, /media, /proc etc etc should not be backed up. the mysql database is backed up seperately and the backup file itself is marked to not be backed up or an endless loop will be created. The file is created in the root directory.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a GUI to load image, drawing on it by users , then save back pyQ Programming 7 04-25-2011 07:30 AM
i have one server which install the Centos OS and i want to create the image dhirendrs Linux - Enterprise 3 07-22-2010 04:11 PM
How to create image of operating system (Fedora 7 or 11) nkjha Linux - Hardware 1 12-04-2009 06:02 AM
How to make an image (back-up) for easily restoring tweaked operating system CharlieBucket Linux - Software 2 09-23-2007 05:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration