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 04-13-2011, 12:41 AM   #1
k_balaa
LQ Newbie
 
Registered: Apr 2011
Location: India
Posts: 28

Rep: Reputation: 0
Backup


Dear Friends,
how to take linux OS backup,
can i use tar command for this?
 
Old 04-13-2011, 01:26 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It might be better to look at rsync. Can you explain exactly how you want to do your backups (how often, on to what kind of storage and anything else you feel is relevant)?
 
1 members found this post helpful.
Old 04-13-2011, 02:17 AM   #3
k_balaa
LQ Newbie
 
Registered: Apr 2011
Location: India
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks Nylex,
I want to do for one time. I will restore the backup in case of disk failure or system crash. Oracle running on this server. I have maintains oracle backups on other machine.
 
Old 04-13-2011, 04:48 AM   #4
johntaw
LQ Newbie
 
Registered: Mar 2011
Location: Stockholm/Sweden
Distribution: Centos 5.5, Debian, Fedora, Mandriva
Posts: 6
Blog Entries: 1

Rep: Reputation: 1
You might want to try : http://www.mondorescue.org/
 
Old 04-13-2011, 05:01 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Take a look at http://clonezilla.org/ .
 
Old 04-13-2011, 05:32 AM   #6
k_balaa
LQ Newbie
 
Registered: Apr 2011
Location: India
Posts: 28

Original Poster
Rep: Reputation: 0
ok i will check, thanks
 
Old 04-13-2011, 06:34 PM   #7
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 848

Rep: Reputation: 107Reputation: 107
Lightbulb

I've always favored Clonezilla for free OS backup. I've used Mondo in the past, but I was not as impressed.

-It works well with Linux, but also works for Windows and others.
-It boots from a live CD, so it has no problems reading locked files and such.
-It automatically grabs the partition(s) data, the MBR, the partition layout, and more. It stores information about how to restore it all as metadata in a separate file.
-It automatically compresses everything of a noteworthy size into the format of your choice (standard and not-so-standard options are available, such as .tar.gz, .tar.7z, etc.).
-You can open most of the files it creates (including all the data from the OS) in standard tools like tar, gzip, and even things like winrar (although you'd also need to be able to read the formatting of the files within, if you're trying to do it in Windows).
-You can mount the image files it creates onto a directory of your choosing (in Linux/Unix), but you'll probably have to decompress them first.

Overall, it's just an excellent program. Also of note, it uses standard Linux utilities like BASH, tar, etc. to do everything, but instead of making you type a bunch of convoluted commands to make it happen, it just gives you some menu options and lets you say "go." (The included, built-in BASH scripts do all the work for you.) I often used this in professional computer repair work when I was manager at a computer store.

It's worth noting that this is best for backing-up something for long-term storage, or possible re-installation (which would be much faster than doing it from scratch, even if you didn't customize the OS settings much), but not as good if you intend to be accessing the files a lot once you back it all up. If you need to get into the files that you're going to be backing up, then I suggest using something like rsync, or a more automated rsync derivative like rdiff-backup (which has a GUI available called PyBackPack).

Good luck.

--Dane

Last edited by DaneM; 04-24-2011 at 10:39 AM.
 
1 members found this post helpful.
  


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
Newbie trying to write a simple backup script to backup a single folder Nd for school stryker759a Linux - Newbie 2 09-16-2009 09:52 AM
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 04:57 PM
how to create backup MYSQL Script to backup my database for every 1hour RMLinux Linux - Newbie 3 11-20-2008 11:13 AM
LXer: Automatic backup for sporadically connected clients with Box Backup LXer Syndicated Linux News 0 08-29-2008 09:40 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 04:39 AM


All times are GMT -5. The time now is 11:56 AM.

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