public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  [rsync] How to make rsync [rsnapshot] report which dir is being worked
@ 2007-05-27  2:26 reader
  0 siblings, 0 replies; only message in thread
From: reader @ 2007-05-27  2:26 UTC (permalink / raw
  To: gentoo-user

I got an RTFM on the rsnapshot list for this, but not finding it so
hoping someone here using rsnapshot and will know how to do this:

I want to make rsync report which directory it is working in as a
series of runs are executed as in an rsnapshot config.

I know about the multiple -v switches but that actually produces a
veritable firehose at the levels it takes to get this info.

>From rsnapshot.conf
My rsnap targets and rsnync args followed by a bit of one log.

  backup   /etc/       reader_etc/
  backup   /cvsb/         reader_cvs/cvsb/
  backup   /usr/local     reader_usr_local
  backup   /root          reader_root/

Rsync args:
  rsync_short_args  -va
  rsync_long_args   --delete  --numeric-ids --links  \
                    --delete-excluded --stats


You will notice in the log below that unless files are altered at the
various backup points, there is no way to tell what directory is being
worked and even with file names it sometimes takes a moment to deduce
where the action is.

I'd like to make rsync print out what directory it is entering as the
rsnapshot list is gone thru.

Log output:



building file list ... done
mail/statistics

Number of files: 1189
Number of files transferred: 1
Total file size: 4859834 bytes
Total transferred file size: 728 bytes
Literal data: 728 bytes
Matched data: 0 bytes
File list size: 44383
File list generation time: 2.518 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 45173
Total bytes received: 42

sent 45173 bytes  received 42 bytes  18086.00 bytes/sec
total size is 4859834  speedup is 107.48
building file list ... done

Number of files: 813
Number of files transferred: 0
Total file size: 3435635 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 14810
File list generation time: 0.309 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 14826
Total bytes received: 20

sent 14826 bytes  received 20 bytes  9897.33 bytes/sec
total size is 3435635  speedup is 231.42
building file list ... done
deleting New Folder 1/
deleting test/etc/rsnap_Misc.conf~
deleting test/etc/rsnap_Mail.conf~
deleting test/etc/rsnap_Home.conf~
./
test/
test/etc/
test/etc/rsnap_Home.conf
test/etc/rsnap_Mail.conf

Number of files: 11188
Number of files transferred: 2
Total file size: 226059114 bytes
Total transferred file size: 8478 bytes
Literal data: 8478 bytes
Matched data: 0 bytes
File list size: 291845
File list generation time: 3.767 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 300449
Total bytes received: 82

sent 300449 bytes  received 82 bytes  66784.67 bytes/sec
total size is 226059114  speedup is 752.20
building file list ... done
deleting xorg.conf_ubuntu
deleting xorg.conf_reader
deleting xorg.conf-012307_150038_usingUbuntu4base
deleting xorg.conf-012307_143529_firsttry
deleting startup-041607
deleting rc-update
deleting modules.conf_ubuntu
deleting lsmod_ubuntu
deleting grub.conf
deleting dmesg-041607
deleting diff_of_openssl.cnf.txt
./
.viminfo

Number of files: 67
Number of files transferred: 1
Total file size: 3344287 bytes
Total transferred file size: 6532 bytes
Literal data: 6532 bytes
Matched data: 0 bytes
File list size: 1693
File list generation time: 0.005 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 8293
Total bytes received: 48

sent 8293 bytes  received 48 bytes  16682.00 bytes/sec
total size is 3344287  speedup is 400.95


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-27  2:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-27  2:26 [gentoo-user] [rsync] How to make rsync [rsnapshot] report which dir is being worked reader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox