Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What kind of logging is provided when using RSYNC for data synchronization?

0
Posted

What kind of logging is provided when using RSYNC for data synchronization?

0

” A: Essentially, the RSYNC client by default operates in “quiet” mode, so it doesn’t show any play-by-play activity, and only displays a brief summary at the end. No log files are created. When the client is run in verbose mode by supplying the “–verbose” or “-v” switch on the command line (see “Using RSYNC in Data Backup Solution”), then it displays the file-by-file transfer process, but still does not generate any log files. To produce log files on the client side, use the “–log-file=” parameter in the command, such as: SYS:/rsync/rsync -rav –volume=DATA: –log-file=sys:/rsync/rsync1.log /TEST RSYNCHOST::TEST –delete This parameter, combined with the “-v” or “–verbose” parameter, gives you the file-by-file record of how the rsync client performed, which can be useful in troubleshooting. This also allows you to specify different log files for each command, if desired. Some admins like to run a separate RSYNC command after the replication job, just to forward the client-side log

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.