LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-02-2006, 08:20 AM   #1
RajendraKumar
LQ Newbie
 
Registered: Jul 2006
Posts: 21

Rep: Reputation: 15
How can I take Backup of my RHEL server


Dear All,
I want to take backup of my RHEL server so that in case any fault I can replace all setting correctly.

I am using squid,nis,samba on it.

Thanks All,
Please give me suggestion for that.
Thanks Again,

Rajendra
 
Old 08-03-2006, 12:55 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Hard ways of doing this:

dd - create an "image" of your whole harddisk (eats up time), so you can later simply use dd to put it back to a harddisk of the same size (well you can do it to a bigger one I guess, but it needs some tricking).

cpio - copy all the files into an archive that can be put back later.

I suggest cpio if you have files you need to save (Linux understands quite everything as "files"). Tar works the same way, but cannot include character special files, cpio should be able to do that too (as far as I know). dd gives you a perfect copy of the drive but you can only put it back as a whole; with cpio you can choose a bit.

There are probably..umm..more sophisticated methods, but I myself use cpio alot. dd I usually use only for small drives (usb thumb drives less than 1 gigabyte)..
 
Old 08-11-2006, 02:14 PM   #3
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
The easiest (for me) for making backups are the "restore" and "dump" utilities.
Particularly, restore -i is wonderful for recovering those alone files you lose.

They also talk wonders about "amanda".
 
Old 10-16-2017, 05:24 AM   #4
jamercee
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Rep: Reputation: Disabled
Red Hat Backup

This may be an old thread -- but I believe the question is still relevant and current. You can create a great Red Hat backup using the opensource ReaR (Relax And Recover).

Tutorial http://carroll.net/blog/red-hat-bare-metal-backup/
 
Old 10-16-2017, 05:32 AM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
You can't, it's never been done before... but, I digress; searched, found:
Code:
rsync
have fun!
 
Old 10-16-2017, 02:31 PM   #6
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by jamercee View Post
This may be an old thread -- but I believe the question is still relevant and current. You can create a great Red Hat backup using the opensource ReaR (Relax And Recover).

Tutorial http://carroll.net/blog/red-hat-bare-metal-backup/
This looks promising.
 
Old 10-27-2017, 07:38 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by lazydog View Post
This looks promising.
Yeah, but jamercee works for that company. And while their website is saying things, this duplicates several other projects such as

MondoArchive - http://www.mondorescue.org/index.shtml
Systemimager - https://github.com/finley/SystemImager/wiki

There are also others, but those two have been the best to work with that I know of.
 
Old 10-27-2017, 07:57 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
I seem to recall testing this some time ago.
Didn't work - the recovery was a disaster. Can't remember the details, but reinforces the old mantra "check for yourself before betting the company on it".
 
Old 10-27-2017, 08:48 AM   #9
jamercee
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Rep: Reputation: Disabled
Hi -- I see the comment that 'jamercee' works for the company. I do in fact work for Carroll-Net and we are a backup service provider. But Carroll-Net has no connection to the ReaR project (other than we are happy end users). We use the tool internally for imaging our own Red Hat servers, so we collected our notes together into an article to share.

If you haven't tried ReaR in a few years, you might to give it another shot. It is a world class toolset. The developers have done amazing stuff in the area of capturing filesystem layout. Even if it did nothing else for us, the filesystem capture would be enough details to guide us through creating a new system.

We also love pouring over the bash scripts ReaR has written. These guys are blackbelt ninja bash script experts. The code is simple, clean and documented -- which is the first time I have ever felt this way about ANY bash script. We've all created bash scripts to get things done -- but it's usually kept away from others out of embarasment and shame. These guys have done fantastic work.
 
Old 10-27-2017, 09:26 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jamercee View Post
Hi -- I see the comment that 'jamercee' works for the company. I do in fact work for Carroll-Net and we are a backup service provider. But Carroll-Net has no connection to the ReaR project (other than we are happy end users). We use the tool internally for imaging our own Red Hat servers, so we collected our notes together into an article to share.

If you haven't tried ReaR in a few years, you might to give it another shot. It is a world class toolset. The developers have done amazing stuff in the area of capturing filesystem layout. Even if it did nothing else for us, the filesystem capture would be enough details to guide us through creating a new system.

We also love pouring over the bash scripts ReaR has written. These guys are blackbelt ninja bash script experts. The code is simple, clean and documented -- which is the first time I have ever felt this way about ANY bash script. We've all created bash scripts to get things done -- but it's usually kept away from others out of embarasment and shame. These guys have done fantastic work.
Great, and glad it works for you. Was junk last time I looked at it, and since there are other tools that don't require much, if ANY bash scripting, I'll use them.
 
Old 10-27-2017, 11:22 PM   #11
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by TB0ne View Post
Yeah, but jamercee works for that company. And while their website is saying things, this duplicates several other projects such as

MondoArchive - http://www.mondorescue.org/index.shtml
Systemimager - https://github.com/finley/SystemImager/wiki

There are also others, but those two have been the best to work with that I know of.
Thnx for these links. I'm in the market for something that will give me bare bone restore.
 
Old 10-27-2017, 11:27 PM   #12
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by jamercee View Post
Hi -- I see the comment that 'jamercee' works for the company. I do in fact work for Carroll-Net and we are a backup service provider. But Carroll-Net has no connection to the ReaR project (other than we are happy end users). We use the tool internally for imaging our own Red Hat servers, so we collected our notes together into an article to share.

If you haven't tried ReaR in a few years, you might to give it another shot. It is a world class toolset. The developers have done amazing stuff in the area of capturing filesystem layout. Even if it did nothing else for us, the filesystem capture would be enough details to guide us through creating a new system.

We also love pouring over the bash scripts ReaR has written. These guys are blackbelt ninja bash script experts. The code is simple, clean and documented -- which is the first time I have ever felt this way about ANY bash script. We've all created bash scripts to get things done -- but it's usually kept away from others out of embarasment and shame. These guys have done fantastic work.
Hi jamercee, I tried to use ReaR but run into an issue. I'm trying to run this on a Gentoo system.
 
Old 10-30-2017, 08:59 AM   #13
jamercee
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by lazydog View Post
Hi jamercee, I tried to use ReaR but run into an issue. I'm trying to run this on a Gentoo system.
Hi Lazydog. I'm not familiar with Gentoo -- the article we shared was about Red Hat which is what we use it on. According to the ReaR website Gentoo 12.1 is supported (http://relax-and-recover.org/download/). What kind of trouble did you run into?
 
Old 10-30-2017, 11:18 PM   #14
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I think this is getting off topic to talk about Gentoo in a RH thread. But I haven't played with it much lately, I"m using dd right now to do full drive backups.
 
  


Reply



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
backup server ; network file system / ftp-server ? markus1982 Linux - Security 5 06-06-2007 05:15 PM
how can i take Backup of my RHEL RajendraKumar Linux - Networking 3 08-03-2006 10:28 AM
Backup of RHEL server RajendraKumar Linux - General 1 08-02-2006 11:37 AM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 04:35 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration