LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-14-2003, 05:43 PM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
Backing up entire Linux System (partition)


Does anyone know a good way to back up my entire linux system to possibly one big tar file? (and will that work?)

I am wondering because if I need to repartition my system I don't want to mess up my os.
 
Old 10-14-2003, 06:59 PM   #2
Judland
Member
 
Registered: Jul 2003
Location: Saskatchewan, Canada
Distribution: Mandriva Free 2006
Posts: 42

Rep: Reputation: 16
I suggest you check out Mondo Rescue ( http://www.microwerks.net/~hugo/ ). It does bascially what you've described here. Nice thing is, if you do have a dual boot system, you can backup your Windows partition as well.

It saved me once from disaster and I found it very easy to use.
 
Old 10-14-2003, 08:58 PM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
I don't really see a big reason for that since I can just manually have a cron job tar and zip everything up to a nfs mount by myslef (am I missing something?)
 
Old 10-14-2003, 09:07 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
I think mondo creates an image of a partition so that you can bring it back to the exact state it was. When you use a tar archive, and restore from it, the physical location of the files might change; e.g. a fragmented file will no longer be fragmented - if you use tools like mondo and partimage, then fragmented file will stay fragmented - which might make a difference for some things though I can't think of anything off the top of my head.

Also, when you back up your system, you should not backup from inside a running system. The system is changing constantly and your backing up is one of the changes taking place. You should do it from another installation or a live cd like knoppix.
 
Old 10-14-2003, 10:01 PM   #5
maxrack
LQ Newbie
 
Registered: Oct 2003
Distribution: redhat
Posts: 2

Rep: Reputation: 0
Wink

....depends on the result you're looking for...

I prefer to make images of complete systems to avoid having to rebuild what gets broken via the file copy procedure... if you have another location (/dev/hdbx) to store an image of your entire disk then you could boot from cd and mount /dev/hdbx as /recovery and then:
dd if=/dev/hda1 of=/recovery/hda1.image

...play with skip= & count= to create 650MB image files and you can then write them to CDs thus creating your own system restore disks.

...there's a great thread post @ http://lists.jammed.com/forensics/2001/10/0076.html which explains it in simple terms...




Last edited by maxrack; 10-15-2003 at 01:00 AM.
 
  


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
What is best way to ghost an entire partition onmountain Linux - General 8 10-29-2005 11:47 AM
Delete an entire partition john8675309 Linux - Software 1 02-02-2005 08:57 PM
How to Reconfigure the entire system...... manojpillai Fedora 5 12-18-2004 06:50 PM
Sharing an entire partition for RW access darkdonno Linux - Networking 1 11-20-2004 09:40 AM
taking image of entire partition. noname Linux - Software 4 05-14-2002 11:51 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration