Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-30-2003, 12:23 PM   #1
LQ Newbie
Registered: Jan 2003
Location: michigan, usa
Distribution: redhat
Posts: 7

Rep: Reputation: 0
Cool cross network backup account needed

Running RedHat 7.3 on 4 machines.
Want to set one up to do network backups (4x120gig drives )

I have rlogin and rsh working just fine.

Need to setup an account that has the permissions to read the system (that isn't root) so it can be feed to the other system.

Using BackupEdge by Microlite. The servers are comunicating.
Just get "Insufficient Permisions on Resource" (local) error.

In $CO Unix, they have a default "backup" account and group. Anything like that in HAT?


ADITIONAL INFO: This backup is for disaster recovery only. I am doing something similar (but not quite as good, yet) as the script in the first response.

rlogin working was just to test connectivity.

Anything else I SHOULD have included up front?

I am trying, but it is hard to read the man page if your not sure which one to read and google searches just haven't gotten it either.

Thanks again for you consideration and your paitients with me.


Last edited by alfy; 06-02-2003 at 07:50 AM.
Old 06-01-2003, 10:34 AM   #2
Registered: Dec 2002
Location: Omaha, NE
Distribution: Ubuntu Server and SuSE
Posts: 69

Rep: Reputation: 15
CrossNetwork Backups

I like using rsync much more that rsh and rlogin. rysnc can copy the data over using an ssh link. ( sshd has to be running on both systems ). It runs really fast since it only copies the minimum needed to make the target system an exact copy of the source.

For instance, my script is shown below:

rsync -avz -e ssh --delete --exclude=/boot --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/lost+found --exclude=/etc/sysconfig --exclude=/etc/resolv.conf --exclude=/root/.ssh --exclude=/etc/hosts --exclude=/custom/ /* rh02:/

It copies everything from rh01 to rh02 except for the specific exclusions ( I don't want to mess up my network on the target systems etc... I also don't copy the kernel over. When I want to update it I do it manually. It also deletes anything on the target system ( rh02) that no longer exists on the source system ( rh01 )

I can also make a backup copy:

rsync -avz -e ssh --delete --exclude=/proc --exclude=/dev --exclude=/mnt --exclude=/lost+found --exclude=/backup /* rh02:/backup/rh01/

This copies almost everything from rh01 to rh02 ( /backup/rh01 directory ).

The data is transferred encrypted so it's much safer. I do have to run these commands as root and log into the other system as root. I think that this would be required for any backup process on RedHat though because only root can read and write all of the files necessary.

If you're backing up to tape you should still consider using ssh. It's a much more secure replacement for rlogin and rsh. You can even do things like read the data on the remote system and tar it to a local tape drive.


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
creating a secure ftp-based backup account? evank Linux - Security 3 11-30-2005 12:44 AM
Non-privileged user account needed.... AzuuAz Linux - Security 1 11-26-2004 04:06 AM
How to backup outlookxp mail account? subaruwrx General 5 09-23-2004 09:05 AM
postfix as a backup MX-what is needed? bruce1271 Linux - General 0 03-16-2004 09:59 PM
Home Network Problem - Cross Platform Texas Linux - Networking 1 08-20-2003 12:27 AM > Forums > Linux Forums > Linux - Security

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