Two questions

Дугин Сергей drug at qwarta.ru
Mon May 18 04:05:00 MDT 2015


Hello, Rsync.

rsync  version 3.0.9  protocol version 30:


1) Why test.log changes not only on the parameter --log-file-format and the parameter --out-format?


rsync -a --delete -vv --log-file-format="%i|%o|%B|%U|%G|%M|%f" --log-file=/home/test.log /home/124/ /home/1/

2015/05/18 12:40:43 [21148] building file list
2015/05/18 12:40:43 [21148] delta-transmission disabled for local transfer or --whole-file
2015/05/18 12:40:43 [21148] .d..t......|send|rwxr-xr-x|0|0|0-4096|2015/05/18-12:40:43|home/124/.
2015/05/18 12:40:43 [21148] *deleting  |del.|---------|0|0|0-0|1970/01/01-03:00:00|----d.log
2015/05/18 12:40:43 [21148] ----e.log is uptodate
2015/05/18 12:40:43 [21148] ----f.log is uptodate
2015/05/18 12:40:43 [21148] ----g.log is uptodate
2015/05/18 12:40:43 [21148] ----i.log is uptodate
2015/05/18 12:40:43 [21148] ----k.log is uptodate
2015/05/18 12:40:43 [21148] ----l.log is uptodate
2015/05/18 12:40:43 [21148] ----m.log is uptodate
2015/05/18 12:40:43 [21148] ----n.log is uptodate
2015/05/18 12:40:43 [21148] ----o.log is uptodate
2015/05/18 12:40:43 [21148] ----p.log is uptodate
2015/05/18 12:40:43 [21148] ----r.log is uptodate
2015/05/18 12:40:43 [21148] ----s.log is uptodate
2015/05/18 12:40:43 [21148] ----t.log is uptodate
2015/05/18 12:40:43 [21148] ----u.log is uptodate
2015/05/18 12:40:43 [21148] ----u1.log is uptodate
2015/05/18 12:40:43 [21148] ----u2.log is uptodate
2015/05/18 12:40:43 [21148] ----u3.log is uptodate
2015/05/18 12:40:43 [21148] ----u4.log is uptodate
2015/05/18 12:40:43 [21148] ----u5.log is uptodate
2015/05/18 12:40:43 [21148] ----u6.log is uptodate
2015/05/18 12:40:43 [21148] >f.st......|send|rw-r--r--|0|0|2247-2204|2015/05/18-12:40:25|home/124/----u8.log
2015/05/18 12:40:43 [21148] >f+++++++++|send|rw-r--r--|0|0|1486-47|2015/05/18-12:40:43|home/124/----u9.log
2015/05/18 12:40:43 [21148] 000000000000004 is uptodate
2015/05/18 12:40:43 [21148] aquota.group is uptodate
2015/05/18 12:40:43 [21148] aquota.user is uptodate
2015/05/18 12:40:43 [21148] backupland.com.log is uptodate
2015/05/18 12:40:43 [21148] listfiles_backup.txt is uptodate
2015/05/18 12:40:43 [21148] listfiles_full.txt is uptodate
2015/05/18 12:40:43 [21148] listfiles_viruses.txt is uptodate
2015/05/18 12:40:43 [21148] log-format.sh is uptodate
2015/05/18 12:40:43 [21148] test.1.log is uptodate
2015/05/18 12:40:43 [21148] total: matches=0  hash_hits=0  false_alarms=0 data=3647
2015/05/18 12:40:43 [21148] sent 4455 bytes  received 140 bytes  9190.00 bytes/sec
2015/05/18 12:40:43 [21148] total size is 422643231  speedup is 91978.94


rsync -a --delete -vv --log-file-format="%i|%o|%B|%U|%G|%M|%f" --out-format="|%a  |%b |%B |%c |%C |%f |%G |%h |%i |%l |%L |%m |%M |%n |%o |%p |%P |%t |%u |%U" --log-file=/home/test.log /home/124/ /home/1/

2015/05/18 12:32:55 [16058] building file list
2015/05/18 12:32:55 [16058] delta-transmission disabled for local transfer or --whole-file
2015/05/18 12:32:55 [16058] .d..t......|send|rwxr-xr-x|0|0|0-4096|2015/05/18-12:32:55|home/124/.
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-6519|2015/05/18-11:44:24|home/124/----d.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3443|2015/05/18-11:44:56|home/124/----e.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-1687|2015/05/18-11:45:28|home/124/----f.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-1881|2015/05/18-11:47:56|home/124/----g.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-1888|2015/05/18-11:51:59|home/124/----i.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-2292|2015/05/18-11:57:25|home/124/----k.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-4826|2015/05/18-12:00:04|home/124/----l.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-2536|2015/05/18-12:00:12|home/124/----m.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-5494|2015/05/18-12:04:56|home/124/----n.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-2842|2015/05/18-12:06:05|home/124/----o.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-2863|2015/05/18-12:06:32|home/124/----p.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-2976|2015/05/18-12:07:11|home/124/----r.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3036|2015/05/18-12:13:58|home/124/----s.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3140|2015/05/18-12:14:20|home/124/----t.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3240|2015/05/18-12:18:25|home/124/----u.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3345|2015/05/18-12:19:00|home/124/----u1.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3449|2015/05/18-12:19:46|home/124/----u2.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3545|2015/05/18-12:22:15|home/124/----u3.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-3546|2015/05/18-12:22:47|home/124/----u4.log
2015/05/18 12:32:55 [16058] >f.s.......|send|rw-r--r--|0|0|3636-3593|2015/05/18-12:32:20|home/124/----u5.log
2015/05/18 12:32:55 [16058] >f+++++++++|send|rw-r--r--|0|0|2386-47|2015/05/18-12:32:55|home/124/----u6.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-395|2010/06/19-12:43:35|home/124/000000000000004
2015/05/18 12:32:55 [16058] .f         |send|rw-------|0|0|0-68608|2015/01/26-12:24:44|home/124/aquota.group
2015/05/18 12:32:55 [16058] .f         |send|rw-------|0|0|0-66560|2015/01/26-12:25:29|home/124/aquota.user
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-249689|2015/01/19-11:18:05|home/124/backupland.com.log
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-223779|2015/05/18-12:06:26|home/124/listfiles_backup.txt
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-421966401|2015/05/18-12:06:57|home/124/listfiles_full.txt
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-0|2015/01/19-11:25:48|home/124/listfiles_viruses.txt
2015/05/18 12:32:55 [16058] .f         |send|rwxr--r--|0|0|0-1973|2015/05/18-11:59:45|home/124/log-format.sh
2015/05/18 12:32:55 [16058] .f         |send|rw-r--r--|0|0|0-254|2015/01/20-12:47:22|home/124/test.1.log
2015/05/18 12:32:55 [16058] total: matches=0  hash_hits=0  false_alarms=0 data=5936
2015/05/18 12:32:55 [16058] sent 6725 bytes  received 137 bytes  13724.00 bytes/sec
2015/05/18 12:32:55 [16058] total size is 422643847  speedup is 61591.93



2) The size of the deleted file with the parameter --delete zero, this information can be obtained from the server where it will be removed, but how?



-- 
С уважением,
 Дугин Сергей                          mailto:drug at qwarta.ru
 QWARTA



More information about the rsync mailing list