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


  Search this Thread
Old 08-24-2008, 08:50 PM   #1
LQ Newbie
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
backing up and restoring a linux machine

1. The best would be to have a tar backup of the machine
2. The restore files go onto a windows share, basically loosing all
unix attributes
3. The restore is to a new machine
ok,so install linux from a dvd. and copy files from the restore data

problems with /etc/passwd for example,
it seems you can't just copy them, possibly to do with the encrypt key
used to generate them.

Is there a way to copy /etc/passwd ?
or must recreate groups/users

it seems I must cherrypick which files to copy over, for example networking, the setup may be different on the new machine.

My question here is, has anyone else gone about it this way and how successfull, seems to work out ok, except for loosing attributes, just wonder about others experience.....

4. RALUS backup agent, what is the procedure to using this and keeping
all unix permissions?
Old 08-25-2008, 01:50 PM   #2
Registered: Nov 2005
Location: The People's Republic of South Yorkshire
Distribution: FC3, CentOS4&5, Hardy Heron, Mythbuntu
Posts: 62

Rep: Reputation: 15
Why not tar it to the CIFS share? The archive will retain the permissions, so you don't have to worry.

I do similar things all the time for my small business customers - rsync to a CIFS share or to a VFAT formatted USB drive. They don't see security as a problem - they just want to get at the data if the server goes, so it's ideal for them.

Can't say I've ever had a problem restoring /etc/passwd. Could be SELINUX or something getting in the way (assuming your backup is running as root)?

With regard to your backup agent, never heard of it! There are so many backup tools out there, you might struggle finding someone with experience of that.
Old 08-25-2008, 01:52 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
I think you're confusing /etc/shadow that stores users encrypted passwords with /etc/passwd, which only holds the user account info.

And I'd agree, I've never had any problems restoring, copying these files.
Old 08-25-2008, 08:25 PM   #4
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
I'd never heard of Ralus either, but a bit of googling turned up "Symantec Backup Exec Remote Agent for Linux and Unix Servers (RALUS)" -- So, for Windows admins who are using Symantec Veritas Backup Exec on Windows. They can grab control of all your linux boxes too.
Old 08-25-2008, 08:48 PM   #5
LQ Newbie
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
thanks, forgot all about /etc/shadow stuff!!

yes RALUS is an agent software that runs on linux, allowing the
a windows server to back it up.
So the issue i had is when it is then restored to a windows share.
I'm not the one driving the backup s/w, so don't know much about it at all.
would be perfect if the agent s/w could emulate tar,

Ah who the !@!! had the wise idea of deprecating cp --reply=yes
because --force does not do what it says it should, and still get a prompt!!! AH@!!
Old 08-25-2008, 09:17 PM   #6
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Backup Exec was primarily designed for Windows. From my experience, it sucks in handling Linux, even though it has an agent for them. Veritas Netbackup Server was designed for *nix servers and handles file attributes much better.


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
Help needed for backing up and restoring Slackware 10.2 nykey Slackware 17 06-01-2006 06:10 PM
Backing up/restoring LILO tntcoder Linux - General 3 05-27-2006 04:00 PM
LXer: Backing Up and Restoring Using the cpio Command in Linux and Unix LXer Syndicated Linux News 0 05-26-2006 01:33 PM
Backing Up / Restoring Arrowx7 Linux - Software 6 09-20-2005 08:49 PM
backing up and restoring linux graystarr Linux - General 8 01-06-2002 10:35 AM > Forums > Linux Forums > Linux - Server

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration