This section describes typical async usage for bi-directional
synchronization.
Note: You can synchronize Windows, Linux, Mac OS X, and other
Unix-based endpoints and servers, but must take care with path separators.
The path separator "/" is supported on Windows and other platforms. The path
separator "\" is platform-agnostic only for the options
-d/r/L/R/B/b and
--keep-dir-local/remote. In Include/Exclude Filtering Rules, however, "\" is exclusively a quoting
operator and "/" is the only path separator recognized.
Example Options:
- Pair name = "asyncTwoWay"
- Local directory is /fio/S
- Remote directory and login is
admin@192.168.200.218:d:/mnt/fio/S (Windows machine)
- Password is v00d00
- Target rate = 100,000 Kbps or 100 Mbps
- No encryption
- Transfer policy = fair
- Read-block size = 1048576 or 1MB
- Write-block size = 1048576 or 1MB
- Continuous transfer
- Bidirectional transfer
Example Command:
$ async -N asyncTwoWay -d /fio/S -r admin@192.168.200.218:d:/mnt/fio/S -w v00d00 -l 100M -c none -a fair -g 1M -G 1M -C -K BIDI
Example Output:
/ SYNCHRONIZED
/a SYNCHRONIZED
/b SYNCHRONIZED
/c SYNCHRONIZED
/DIR1 SYNCHRONIZED
/A1 SYNCHRONIZED
/DIR2 SYNCHRONIZED
/A2 SYNCHRONIZED
/REMOTE_DIR1 SYNCHRONIZED
/REMOTE_DIR2 SYNCHRONIZED
/REMOTE_DIR1 SYNCHRONIZED(del)
/DIR1/a SYNCHRONIZED
/DIR1/b SYNCHRONIZED
/DIR1/c SYNCHRONIZED
[idle ] Found/Synced/Pending/Error/Conflict=9/9/0/0/0