Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2014, 06:02 AM   #1
Registered: Nov 2005
Location: Poland
Distribution: Mint Mate, Ubuntu
Posts: 49

Rep: Reputation: 1
Question rsync or other tool for fast syncs with simple requirements

I have some problem with syncing efficiency.
I need to do frequent syncs from local machine to some remote location.
Currently I use rsync with backup option. The problem is that it works too slow because of connection quality.
Even _no_single_file_ is changed it lasts for about minute with directory tree containing about 35MB in 800 files.

Since my needs are rather simple I had idea to write my own script employing find command and some logging, but later I have realized that it could be only a question of options passed to rsync or a question of using some different existing tool.

I don't need to worry about files contents, modification dates or even files existence at remote location. I just need to copy all files modified locally after previous sync but first backup their remote versions (if they exist) in backup dir at remote location.
In other words: the decision which files to sync can be made locally without any references to destination directory tree state. But I need to know a list of modified files since last sync.

Both machines running linux. I can mount remote location into my local filesystem.
Efficiency is priority. I would like to shorten the operation time from minute to seconds.

Any idea how to do it?

regards for all
Old 09-02-2014, 09:32 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Before searching other solutions, did you try your rsync command with the -v (verbose) option set, just to check what it really does?



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
rsync re-syncs same files tripialos Linux - Newbie 3 03-04-2013 04:50 AM
rsync problem - syncs all files MarcusWebb1966 Linux - General 22 09-19-2012 05:58 AM
requirements for to have for fast running of a virtual machine. mutetikasikali Linux - Hardware 1 06-26-2012 03:39 AM
Linux Newbie - Very Simple Requirements paulie Linux - Newbie 3 07-30-2004 12:32 PM
Is there a simple way to install the most common requirements for games? jimdaworm Linux - Games 2 12-04-2003 12:12 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 PM.

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