LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-30-2003, 12:23 PM   #1
alfy
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?

THANKS!!

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.

alfy

Last edited by alfy; 06-02-2003 at 07:50 AM.
 
Old 06-01-2003, 10:34 AM   #2
pjcp64
Member
 
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/rsync.backup.sh /* 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.
 
  


Reply


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


All times are GMT -5. The time now is 04:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration