LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-06-2010, 02:25 PM   #1
stevekc40v
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Red Hat 6.1 Server Backup on WinXP Client


This is probably a very easily solved issue, but I'm new to linux so please bear with me.

My office uses a local Linux server running Red Hat 6.1 for an ancient text-based accounting program. The client computers (about 5 or so) run WinXP pro and use Tinyterm emulator to log in to the server. One of the client computers (we'll call it client1) had a user in Windows configured to do scheduled backups of the Linux server. The office worker for client1 was instructed to log in to xp as the backup user and leave the pc on all night and it would backup the linux server, then it would copy that backup to an external hard drive, attached to client1.

The c: hard drive on client1 died and no backups were available. I have restored the computer with a fresh xp install, but I have no idea what method was used to back the server up. I'm sure samba was used but I cannot find any documentation or instructions left behind by whoever set the system up. I have the ip address of the server and have restored tinyterm to be able to log in from client1. I also have access to the command line on the server. I just need help with being able to back the linux server up from a windows xp client.

Thanks in advance for any help/advice/solutions!
 
Old 09-06-2010, 04:40 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Hmmm, the problem seems a little bit vague, so it's tough to say. Do you know where the files that need to be backed up live on server? If so I expect all that the back-ups are doing is connecting to a SAMBA share on the server , copying the files over to the local hard drive, and then copying them onto the external disk. I'm guessing that there was some sort of scheduled task in Windows (run under the backup account) that did this. Can you browse for open shares on the machine (you should be able to do this in Windows Explorer, but I'm not a Windows person at all so I can't tell you the exact mechanism)? In principle if you can figure out how to access the data from the Windows box over SAMBA, you can just re-create the scheduled task to copy it. Probably some sort of Windows scripting (VBScript perhaps?) was used for the actual copying (I assume it copied different days' backups to different files labeled by date, although perhaps this assumes too much -- you really should tell us what the backed up files looked like). If there is a SAMBA share it may be password protected -- hopefully you have the credentials. If not you'll need to examine the SAMBA config on Linux (hopefully someone in the office has root access) and reset the credentials of the SAMBA backup user. I'm not much of an expert on SAMBA but I believe there's a utility -- smbpasswd -- that does this. You might need to do some googling to figure out the exact procedure.

I'm not sure if this is much help but maybe it can get you looking in the right place. BTW, as I'm sure you can tell Red Hat 6.1 is seriously ancient and unsupported (no security updates for over 7 years). If possible your office should look into moving to a more up to date Linux server. You might need to contact the vendor of the accounting program (if they're still around) to see what options you have.

Edit to add: If this server contains any critically important data that could be lost, you might consider engaging the services of a consultant to help you through the problem. If you're not careful, you can easily make things worse by messing around with stuff if you don't understand what you're doing. If this is business critical data, it might just be better to eat a few hundred bucks to let someone experienced and knowledgeable help you out of this.

Last edited by btmiller; 09-06-2010 at 04:42 PM.
 
Old 09-06-2010, 05:25 PM   #3
stevekc40v
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your fast response!

I tried accessing the server drive directly from client1, without success. The only way I could access it was through the tinyterm emulator program. I assume that it is just the database files that were being backed up, but I'm not sure. I did look at some previous backups and there were many folders that looked like database files. It's just so antiquated I have a hard time making heads or tails of it. The setup is a result of the reliability of the linux OS and the reluctance of the owner to update something that isn't broken. So over the years the clients have been updated to stay current, while finding a way to interface and backup the database that is 15+ years old.

We do have root access on the server, I just haven't dug into it yet without getting more of an idea what I was getting into.

I guess I was hoping there was an easy samba solution that I was unaware of, one that I could implement myself. I am in agreement that it would be best to get a good consultant involved if no easy solution is apparent.

Thanks again for your help =)
 
Old 09-06-2010, 08:43 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Did anyone ever restore a backup to the Linux server?

Can you tell the owner that the system is now broken and it is time to get a new accounting package? If no-one knows how to restore the data, the backups are of limited use.

Do you see any Cron jobs running on the Linux server?

Have you looked at the server's logs for clues?

Last edited by jamrock; 09-06-2010 at 08:48 PM.
 
Old 09-06-2010, 09:03 PM   #5
netmar
LQ Newbie
 
Registered: Jul 2004
Location: Durham, NC
Distribution: Ubuntu 10.04 (I'd rather use Gentoo)
Posts: 23

Rep: Reputation: 3
It sounds as if you were using some sort of Windows backup software, which likely died with your machine.

If you want to access the Linux box via SAMBA, I'd start by checking if SAMBA is actually running. Just a quick

ps -ax|grep samba

should answer that question. If not, then it's likely your backup machine was running some type of nfs client, or even using ftp/sftp to perform the backup. If it is running, then you should be able to find the config options in /etc/samba.conf, including the location of the password files.

As far as what to use going forward, I wouldn't necessarily try to recreate what was there. In fact, given that an entire RH 6.1 install is only going to be a couple of GB of data, I'd probably dump the whole thing into a virtual machine (VirtualBox or VMware) and then backup the entire server as need from a Windows host. That, or rsync, which works via sftp, would work find for a small system.
 
Old 09-07-2010, 02:07 PM   #6
stevekc40v
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, I was able to get in with the root id and password through client1 and backup with Windows Backup.

Now I am in the process of trying to get virtualbox running so we can get rid of this old hardware. Trying to get an iso of RH6.1 with no success. Hopefully the program will run through 6.2, which is the only available version from Red Hat.

Thanks again for all your help =)
 
Old 09-07-2010, 09:38 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Trying to get an iso of RH6.1 with no success.
i would have been suprised IF you found one
rh6 came out in 1999

in the long term ( and maybe short term too) look into using some other NEW software other than
" an ancient text-based accounting program" ???

the cost of keeping that antique code running is only going to get exponentially larger in a very short amount of time
 
Old 09-08-2010, 07:36 AM   #8
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
Originally Posted by John VV View Post
in the long term ( and maybe short term too) look into using some other NEW software other than
" an ancient text-based accounting program" ???

the cost of keeping that antique code running is only going to get exponentially larger in a very short amount of time
Well said. There can be no doubt about this.

Last edited by jamrock; 09-08-2010 at 07:38 AM.
 
Old 09-17-2010, 12:06 PM   #9
netmar
LQ Newbie
 
Registered: Jul 2004
Location: Durham, NC
Distribution: Ubuntu 10.04 (I'd rather use Gentoo)
Posts: 23

Rep: Reputation: 3
Oops. Sorry I didn't check back on this sooner. I actually have a copy of RedHat 6.1 that I could put up for you to download, if you still need it.

PM me if you do.
 
  


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 to manual uninstall Retrospect Backup Linux Red Hat Cliënt Victor Max Linux - Newbie 3 06-17-2009 10:02 AM
LXer: How to Build Remote Snapshot Backup Server Using Red Hat/CentOS LXer Syndicated Linux News 0 07-10-2008 01:20 AM
backup Windows Server to Red Hat Linux fortunepc Linux - Server 3 05-14-2007 10:35 AM
Red Hat client does not appear in Windows DHCP server dbruso Linux - Networking 0 08-06-2004 02:31 PM
Solaris 9 client -->Openldap Red hat 9 server unix-o-matic Linux - Networking 2 05-03-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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