LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-12-2007, 09:04 AM   #1
datacommie
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
RedHat Ver. ? Backup Help


OK, to make a long story short, I inherited a RedHat system here at work, and it just so happens that I am not much of a Linux administrator. I know a few commands, and I can navigate the system, but that is about it.

The previous admin. had set the system up to backup to a Windows server. I am going to be moving my backups to a new server, and I am trying to figure out how he is currently backing everything up and how to change the backup to the new server.

I am not even sure exactly what version of RedHat is on the server.

Any help would be GREATLY appreciated.
 
Old 01-12-2007, 09:10 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
If the backup is performed regularly (e.g. daily) maybe there is an entry in the crontab. As root you can type 'crontab -l' to retrieve the crontab entries.

To check the RedHat version look for a file called redhat-release (or similar) in the /etc directory.

Last edited by colucix; 01-12-2007 at 09:12 AM.
 
Old 01-12-2007, 11:10 AM   #3
datacommie
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
So, I found out that the machine is running Red Hat Enterprise Linux ES release 4. When I look at crontab I find something scheduled that looks like this:

30 1 * * * /backup/gobackup.sh > /dev/null

I am assuming that this is probably the scheduled backup. When I go into the backup directory I find the following three files:

backup.log backup.php gobackup.sh

Again, I am not very experienced with Linux. Some guidance would be much appreciated.
 
Old 01-12-2007, 11:18 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
30 1 * * * /backup/gobackup.sh > /dev/null
Yes. This tells that the backup is performed every night at 1:30 AM.

You should edit the gobackup.sh and redirect the backup to the new server. You can post the content of gobackup.sh, if you want, but mask/hide every public IP address (if any)!
 
Old 01-12-2007, 11:38 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
extensions really do not mean anything in linux but used for connivance. .sh is typically a shell(most likely bash) script. php is hypertext preprocessor typically used for dynamic webpages but does have a command line interpreter. I assume the backup.log file is created from either of the scripts.

Go view the gobackup.sh and backup.php files. These are the programs that create the actual backups.
 
Old 01-25-2007, 09:11 AM   #6
AroundMyHorn
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
There's a certain command that I can run to figure out which redhat version im running but I cant remember which one. Anyone know?
 
  


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
How does RHEL ver 3 correspond to RedHat version 9 or 8.0 or 7.3 or 6.2 tuxynator Linux - Newbie 1 01-11-2006 05:53 AM
Linksys WUSB11 Ver 3 and Redhat 9? jonesjw Linux - Wireless Networking 0 11-16-2004 11:41 PM
Linksyss WPC11 ver. 3 On Redhat 9.0 redhawk1973 Linux - Networking 5 09-06-2003 09:13 PM
configuring a WPC 11 ver 3 in Redhat 9 sakarsteve Linux - Hardware 0 08-28-2003 05:06 PM
Redhat Ver 7 vs Ver 7.1 mullapudy Linux - Newbie 2 10-18-2001 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 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