LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2005, 12:22 AM   #1
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Rep: Reputation: 30
Backup of directory


I have a machine which runs Linux redhat 9.0 is it possible tar,compress and take a backup of the home directory automatically to any other Linux machine over the network . If so how?

Sanjib Gupta
 
Old 09-05-2005, 12:30 AM   #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
There are a number of ways. You can just run a shell script out of cron to tar up the directory and gzip it. Then you could use passwordless scp to get it to the other machine. or you could NFS mount the backup directory and just have tar write tae tarball directly onto the backup drive, unmounting it afterwards.
 
Old 09-05-2005, 12:32 AM   #3
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Original Poster
Rep: Reputation: 30
thanks for the reply.
Can u please give a sample script and how do i send the tar /zipped file from my 192.168.20.10 machine to 192.168.20.11
Thanks again
SAnjib Gupta
 
  


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
help with compressing a directory for backup Lleb_KCir Linux - Newbie 8 10-28-2005 02:52 AM
backup from directory with spaces dennis_89 Linux - Networking 7 06-21-2004 10:14 PM
Backup, directory, permissions. linuxgamer Linux - Distributions 0 11-19-2003 06:07 PM
backup directory with root only permissions? hobylinux Linux - Newbie 3 08-22-2003 12:25 AM
What directory (ies) to backup with mysql? BrianG Linux - General 1 01-24-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:49 AM.

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