LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-07-2011, 07:27 PM   #1
Pinglu
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, 07:55 PM   #2
themanwhowas
Member
 
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
Code:
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.
 
  


Reply


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 06: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 03:11 PM
How to create image of operating system (Fedora 7 or 11) nkjha Linux - Hardware 1 12-04-2009 05:02 AM
How to make an image (back-up) for easily restoring tweaked operating system CharlieBucket Linux - Software 2 09-23-2007 04:32 PM


All times are GMT -5. The time now is 08:49 PM.

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