This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
rsync [2010/08/23 14:12] k2patel |
rsync [2010/10/05 23:48] k2patel |
||
---|---|---|---|
Line 5: | Line 5: | ||
</code> | </code> | ||
- | == SSH Wrapper == | + | ==== SSH Wrapper ==== |
SSH Wrapper allows to transfer files using rsync over SSH.\\ | SSH Wrapper allows to transfer files using rsync over SSH.\\ | ||
Mostly usefull when dont have Rsyncd not running and have only access over ssh. | Mostly usefull when dont have Rsyncd not running and have only access over ssh. | ||
<code bash> | <code bash> | ||
rsync -av -e "ssh -l testet" <source> <destination> | rsync -av -e "ssh -l testet" <source> <destination> | ||
+ | </code> | ||
+ | |||
+ | ==== Limit Bandwidth / Disk I/O ==== | ||
+ | |||
+ | To limit bandwidth when transferring over Network.\\ | ||
+ | OR\\ | ||
+ | Limit Disk I/O when transferring between Disk.\\ | ||
+ | Use "--bwlimit" switch. it is measured as "KBytes" | ||
+ | |||
+ | Following example limit 100 MB/s | ||
+ | <code bash> | ||
+ | rsync -avgop --progress --bwlimit=102400 /mnt/drive1 /mnt/driv2 | ||
</code> | </code> | ||