LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 01:22 AM   #1
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 212

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, 01:30 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,158

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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, 01:32 AM   #3
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 212

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


All times are GMT -5. The time now is 06:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration