2 ms·
How robust is rsync? How does it report failures? (Is that one line inside something that tells a human that something went wrong?) What about partial succes
by anamax 17y ago
How robust is rsync? How does it report failures? (Is that one line inside something that tells a human that something went wrong?)
What about partial successes?
- peterwwillis 17y agoThe man page and docs in the source detail how it handles these different circumstances. The short answer is "very robust" and there are options to customize how it behaves during partial or total success/failure.
- joubert 17y agoWe use rsync to deploy all our front-end code/files. It is pretty robust, but, syncing multiple files is not an atomic operation across the batch as a whole. So if one file fails you do get an err report. But the other files would have been synced. Once you fix whatever the problem is and you re-run your script, that one file will then be synced. In practice, rsync is really great for deploying. It is also neat for backups - in fact, before I got my Mac and started using Time Machine, I used rsync for backups (and in fact used rsync.net for offsite backups).