The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
directory synchronization splakang25 UNIX for Dummies Questions & Answers 3 05-18-2008 06:43 PM
Server Synchronization kumarrana UNIX for Dummies Questions & Answers 3 05-09-2008 12:28 AM
Synchronization of 2 directories Hitori UNIX for Advanced & Expert Users 5 02-23-2007 06:37 AM
export display of directories of remote machine bhakti Shell Programming and Scripting 2 07-19-2006 03:55 AM
Date synchronization skotapal UNIX for Dummies Questions & Answers 2 11-25-2002 09:36 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2007
Registered User
 

Join Date: Jul 2007
Posts: 92
remote directories synchronization

Hi ALL,

We have 2 Linux boxes that are remote to each other. We need to achieve folder synchronization like whatever we keep in a folder (specific) on Server-A which needs to be replicated to Server-B’s respective folder. The requirements are below
- Secure transfer (encrypted)
- File Compression during transfer
- Resume broken transfer (in case there is connectivity failure or any other break after transferring 50% (500MB – e.g.) of a 1GB size (e.g.). Next time when it is run, it should resume the file and download remaining 500MB part only.
- Authentication
- Detailed Logs containing transferred files (or failed also with reason), time stamp and source/destination folders, server names.

Though there’re few commercial software on Windows (or may be even on Linux), we have to implement by ourselves using shell scripting on Linux only. Though RSYNC is the best option but it fails to provide “resume broken transfers”.

Could anyone please suggest any way/tools/packages/technique to achieve this?

Thanks in Advance
Prvn
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-21-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,120
overall, rsync seems to suit best your needs, the only secure application that I can think of, for "Resume broken transfer" is sftp transfer.
Reply With Quote
  #3 (permalink)  
Old 08-21-2007
Registered User
 

Join Date: Jul 2007
Posts: 92
Thanks sysgate.

But how could i use SFTP to resume broken transfer? I simulated this and got the entire file re-transferred.


Prvn
Reply With Quote
  #4 (permalink)  
Old 08-22-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,120
My bad, I've always thought that resuming is supported, because I'm using some in-house modified tools, etc. Sorry for the confusion. Here's an article related to this matter, HTH.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0