LinuxQuestions.org
Review your favorite Linux distribution.
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: 207

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,078

Rep: Reputation: 297Reputation: 297Reputation: 297
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: 207

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


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 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


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