On Tue, 2009-12-22 at 21:20 +0000, Chris G wrote:
Is there any difference between the two following strategies for backing up files to a remote system:-
1 Mount the remote destination directory using sshfs/fuser Copy the files to the 'local' directory just mounted using rsync, rdiff-backup or whatever.
2 Copy the files directly to the remote system using rsync or rdiff-backup.
I would expect option two to have better performance when doing a backup in the same way that FTP will usually transfer a file faster then NFS. This is because at application protocol level there are fewer points where the sending end must wait for the receiver - when streaming the data this is handled at TCP level which has a transmit window etc.
Of course option one may have other uses that make it attractive.
Regards, Steve.