Originally Posted by
sed_faster
But how can I generate a report with rsync? I've been reading the manual and searching but haven't found a command where the output was a server and client comparison report. (
https://linux.die.net/man/1/rsync)
It sounds as though you want more than the standard output:
Code:
doug@s15:~/backup_smythies.com_03$ rsync --delete --archive --verbose --dry-run --progress --exclude 'ext-20*\.bin*' --exclude 'int-20*\.bin*' --exclude 'big' doug@smythies.com:/home/doug ./
receiving incremental file list
doug/
doug/.bash_history
doug/access.log
doug/access.log.1
doug/access.log.2
doug/access.log.3
doug/auth.log
doug/auth.log.1
doug/error.log
doug/error.log.1
doug/error.log.2
doug/error.log.3
doug/mail.err
doug/mail.log
doug/mail.log.1
doug/zz.log
doug/zz.txt
doug/tcpdump/109/
doug/test2/zzxxtest.data
sent 3,914 bytes received 20,239,890 bytes 941,572.28 bytes/sec
total size is 117,705,867,687 speedup is 5,814.41 (DRY RUN)
You can play with verbosity to get way way more information, if you want:
Code:
doug@s15:~/backup_smythies.com_03$ rsync --delete --archive -vv --dry-run --exclude 'ext-20*\.bin*' --exclude 'int-20*\.bin*' --exclude 'big' doug@smythies.com:/home/doug ./
receiving incremental file list
delta-transmission enabled
doug/.bash_logout is uptodate
doug/.bashrc is uptodate
doug/.bzr.log is uptodate
doug/.htkes is uptodate
...
doug/config/etc/bind/named.conf.local is uptodate
doug/config/etc/bind/named.conf.local.001 is uptodate
doug/config/etc/bind/named.conf.local.doug is uptodate
doug/config/etc/bind/named.conf.local.original is uptodate
doug/config/etc/bind/named.conf.options is uptodate
doug/config/etc/bind/named.conf.options.doug is uptodate
doug/config/etc/bind/named.conf.options.doug1 is uptodate
doug/config/etc/bind/named.conf.options.original is uptodate
doug/config/etc/bind/named.conf.options.test is uptodate
...
doug/public_html/linux/single-threaded/sweep/power.png is uptodate
doug/public_html/linux/single-threaded/sweep/teo.csv is uptodate
doug/public_html/linux/sort_order/index.html is uptodate
doug/public_html/linux/ubuntu-docs/index.html is uptodate
doug/public_html/linux/ubuntu-docs/langs.htm is uptodate
doug/public_html/linux/ubuntu-docs/load-trace.html is uptodate
doug/public_html/linux/ubuntu-docs/upstream_yelp.html is uptodate
doug/public_html/linux/ubuntu-docs/help.ubuntu.com/compile_desktop_help.txt is uptodate
...
Bookmarks