1 |
I got an RTFM on the rsnapshot list for this, but not finding it so |
2 |
hoping someone here using rsnapshot and will know how to do this: |
3 |
|
4 |
I want to make rsync report which directory it is working in as a |
5 |
series of runs are executed as in an rsnapshot config. |
6 |
|
7 |
I know about the multiple -v switches but that actually produces a |
8 |
veritable firehose at the levels it takes to get this info. |
9 |
|
10 |
>From rsnapshot.conf |
11 |
My rsnap targets and rsnync args followed by a bit of one log. |
12 |
|
13 |
backup /etc/ reader_etc/ |
14 |
backup /cvsb/ reader_cvs/cvsb/ |
15 |
backup /usr/local reader_usr_local |
16 |
backup /root reader_root/ |
17 |
|
18 |
Rsync args: |
19 |
rsync_short_args -va |
20 |
rsync_long_args --delete --numeric-ids --links \ |
21 |
--delete-excluded --stats |
22 |
|
23 |
|
24 |
You will notice in the log below that unless files are altered at the |
25 |
various backup points, there is no way to tell what directory is being |
26 |
worked and even with file names it sometimes takes a moment to deduce |
27 |
where the action is. |
28 |
|
29 |
I'd like to make rsync print out what directory it is entering as the |
30 |
rsnapshot list is gone thru. |
31 |
|
32 |
Log output: |
33 |
|
34 |
|
35 |
|
36 |
building file list ... done |
37 |
mail/statistics |
38 |
|
39 |
Number of files: 1189 |
40 |
Number of files transferred: 1 |
41 |
Total file size: 4859834 bytes |
42 |
Total transferred file size: 728 bytes |
43 |
Literal data: 728 bytes |
44 |
Matched data: 0 bytes |
45 |
File list size: 44383 |
46 |
File list generation time: 2.518 seconds |
47 |
File list transfer time: 0.000 seconds |
48 |
Total bytes sent: 45173 |
49 |
Total bytes received: 42 |
50 |
|
51 |
sent 45173 bytes received 42 bytes 18086.00 bytes/sec |
52 |
total size is 4859834 speedup is 107.48 |
53 |
building file list ... done |
54 |
|
55 |
Number of files: 813 |
56 |
Number of files transferred: 0 |
57 |
Total file size: 3435635 bytes |
58 |
Total transferred file size: 0 bytes |
59 |
Literal data: 0 bytes |
60 |
Matched data: 0 bytes |
61 |
File list size: 14810 |
62 |
File list generation time: 0.309 seconds |
63 |
File list transfer time: 0.000 seconds |
64 |
Total bytes sent: 14826 |
65 |
Total bytes received: 20 |
66 |
|
67 |
sent 14826 bytes received 20 bytes 9897.33 bytes/sec |
68 |
total size is 3435635 speedup is 231.42 |
69 |
building file list ... done |
70 |
deleting New Folder 1/ |
71 |
deleting test/etc/rsnap_Misc.conf~ |
72 |
deleting test/etc/rsnap_Mail.conf~ |
73 |
deleting test/etc/rsnap_Home.conf~ |
74 |
./ |
75 |
test/ |
76 |
test/etc/ |
77 |
test/etc/rsnap_Home.conf |
78 |
test/etc/rsnap_Mail.conf |
79 |
|
80 |
Number of files: 11188 |
81 |
Number of files transferred: 2 |
82 |
Total file size: 226059114 bytes |
83 |
Total transferred file size: 8478 bytes |
84 |
Literal data: 8478 bytes |
85 |
Matched data: 0 bytes |
86 |
File list size: 291845 |
87 |
File list generation time: 3.767 seconds |
88 |
File list transfer time: 0.000 seconds |
89 |
Total bytes sent: 300449 |
90 |
Total bytes received: 82 |
91 |
|
92 |
sent 300449 bytes received 82 bytes 66784.67 bytes/sec |
93 |
total size is 226059114 speedup is 752.20 |
94 |
building file list ... done |
95 |
deleting xorg.conf_ubuntu |
96 |
deleting xorg.conf_reader |
97 |
deleting xorg.conf-012307_150038_usingUbuntu4base |
98 |
deleting xorg.conf-012307_143529_firsttry |
99 |
deleting startup-041607 |
100 |
deleting rc-update |
101 |
deleting modules.conf_ubuntu |
102 |
deleting lsmod_ubuntu |
103 |
deleting grub.conf |
104 |
deleting dmesg-041607 |
105 |
deleting diff_of_openssl.cnf.txt |
106 |
./ |
107 |
.viminfo |
108 |
|
109 |
Number of files: 67 |
110 |
Number of files transferred: 1 |
111 |
Total file size: 3344287 bytes |
112 |
Total transferred file size: 6532 bytes |
113 |
Literal data: 6532 bytes |
114 |
Matched data: 0 bytes |
115 |
File list size: 1693 |
116 |
File list generation time: 0.005 seconds |
117 |
File list transfer time: 0.000 seconds |
118 |
Total bytes sent: 8293 |
119 |
Total bytes received: 48 |
120 |
|
121 |
sent 8293 bytes received 48 bytes 16682.00 bytes/sec |
122 |
total size is 3344287 speedup is 400.95 |
123 |
|
124 |
|
125 |
-- |
126 |
gentoo-user@g.o mailing list |