save transfer:using rsync

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

save transfer:using rsync

by Madan Kumar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi all,
I need to know the details of "save transfer" command using rsync. What is the purpose of using this command.
Can we save only the diffs of files using this command? Does it works on stand alone system?
Please give me the syntax this command for stand alone system as i want to back up of one directory to another directory(these may be in different partition of hard disk).
 
 
Your suggestions are important to me. 
 
 
 
 
Thanks
Regards
M Chauhan
 

--
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: save transfer:using rsync

by Matt McCutchen-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 2008-06-23 at 12:55 +0530, Madan Kumar wrote:
> I need to know the details of "save transfer" command using rsync.
> What is the purpose of using this command.
> Can we save only the diffs of files using this command?

The "support/savetransfer" program dumps all the data exchanged between
the rsync client and server to a file.  It is really designed only for
debugging.  If you want to save the diffs in a form that you can replay
later, use a batch file (see the "BATCH MODE" section of the rsync man
page).

> Does it works on stand alone system?
> Please give me the syntax this command for stand alone system as i
> want to back up of one directory to another directory(these may be in
> different partition of hard disk).

To use savetransfer with source and destination on the same machine, use
the fake remote shell "support/lsh" that comes in the rsync source tree.
The examples at the top of savetransfer.c become:

rsync -av --rsh="savetransfer -i /tmp/to.server lsh" \
        --rsync-path="savetransfer -i /tmp/from.client rsync" \
        SOURCE DEST

rsync -av --rsh="savetransfer -o /tmp/from.server lsh" \
        --rsync-path="savetransfer -o /tmp/to.client rsync" \
        SOURCE DEST

where one of SOURCE, DEST (but not both) begins with "localhost:".
Adjust the paths to savetransfer and lsh as necessary.

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

signature.asc (204 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price