-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from whoiami/master
Update rsync readme
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Slash | ||
|
||
Rsync | ||
|
||
slash/include/rsync.cc | ||
|
||
Rsync module is designed to sync document between hosts. | ||
|
||
In the destination host, a deamon is setup by calling slash::StartRsync. Meanwhile, rsync config file is created under "raw_path". | ||
|
||
In the source host, several slash::RsyncSendFile is invoked, it depends on the files you may need to sync. Then, if you need to delete the files in the remove folder that don't exist in the source host, slash::RsyncSendClearTarget is standby. | ||
|
||
After RsyncSendFile process, in the destination host, slash::StopRsync will help you terminate rsync deamon and cleanup everything for you. |