does it make sense to run rsync over ftp (curlftpfs)?

View: New views
3 Messages — Rating Filter:   Alert me  

does it make sense to run rsync over ftp (curlftpfs)?

by Kent Tong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

It seems to work but very slowly. I guess it's because rsync has to read the complete file content
on the remote host, so does it make any sense at all to do it over FTP?
--
Kent Tong
Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net)

Re: does it make sense to run rsync over ftp (curlftpfs)?

by macuserfr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Like on any other mounting system, if you run rsync over a mounted ftp  
volume, it won't be able to save you a lot of bandwidth with the delta  
algorithm as it's not running on both sides of the link.

In another hand, if bandwidth is not your problem, with this method  
rsync should (to be confirmed by an expert, what I am not) still use  
incremental updates on your files if your ftp volume support append or  
other file modification function that rsync needs.

Running rsync on both ends is the most optimized way to do it. But I  
feel like you don't have the choice of the other side setup.

Cheers,

Vitorio

Le 10 nov. 09 à 05:14, Kent Tong a écrit :

>
> Hi,
>
> It seems to work but very slowly. I guess it's because rsync has to  
> read the
> complete file content
> on the remote host, so does it make any sense at all to do it over  
> FTP?
>
> -----
> --
> Kent Tong
> Wicket tutorials freely available at http://www.agileskills2.org/EWDW
> Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA
> --
> View this message in context: http://old.nabble.com/does-it-make-sense-to-run-rsync-over-ftp-%28curlftpfs%29--tp26278059p26278059.html
> Sent from the Samba - rsync mailing list archive at Nabble.com.
>
> --
> Please use reply-all for most replies to avoid omitting the mailing  
> list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: does it make sense to run rsync over ftp (curlftpfs)?

by Matt McCutchen-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-10 at 08:40 +0100, Mac User FR wrote:
> In another hand, if bandwidth is not your problem, with this method  
> rsync should (to be confirmed by an expert, what I am not) still use  
> incremental updates on your files if your ftp volume support append or  
> other file modification function that rsync needs.

With --append, rsync will append to the destination file.  With
--no-whole-file --inplace, it will write only the changed blocks, but it
will read the whole file first, which may defeat the purpose.  Rsync is
at the mercy of curlftpfs as well as the FTP server to perform any
partial updates efficiently; I don't care to research their capabilities
myself.

The main reason to use rsync over an impoverished virtual filesystem
would be to take advantage of rsync's non-performance-related features,
such as filters.

--
Matt

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html