Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-05-2005, 12:22 AM   #1
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
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
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 machine to
Thanks again
SAnjib Gupta


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 > Forums > Linux Forums > Linux - Networking

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