在过去一周左右的时间里,我一直在运行 rdiff-backup,每晚凌晨 4 点。
一开始并没有花那么长时间,但每次它每晚运行时,它所花的时间越来越长。
在某些情况下,有很多新的和更改的文件,而在其他情况下,没有那么多。
它开始需要不到 10 分钟,一周后需要超过 4.5 小时才能运行。在下面查看我的会话统计信息:
StartTime 1268046002.00 (Mon Mar 8 04:00:02 2010)
EndTime 1268046373.50 (Mon Mar 8 04:06:13 2010)
ElapsedTime 371.50 (6 minutes 11.50 seconds)
SourceFiles 213928
SourceFileSize 277271282225 (258 GB)
MirrorFiles 213914
MirrorFileSize 276693097638 (258 GB)
NewFiles 16
NewFileSize 578209911 (551 MB)
DeletedFiles 2
DeletedFileSize 2598 (2.54 KB)
ChangedFiles 27
ChangedSourceSize 5195150 (4.95 MB)
ChangedMirrorSize 5217876 (4.98 MB)
IncrementFiles 0
IncrementFileSize 0 (0 bytes)
TotalDestinationSizeChange 578184587 (551 MB)
Errors 0
StartTime 1268132402.00 (Tue Mar 9 04:00:02 2010)
EndTime 1268134341.29 (Tue Mar 9 04:32:21 2010)
ElapsedTime 1939.29 (32 minutes 19.29 seconds)
SourceFiles 213963
SourceFileSize 307959842562 (287 GB)
MirrorFiles 213928
MirrorFileSize 277271282225 (258 GB)
NewFiles 37
NewFileSize 31265005547 (29.1 GB)
DeletedFiles 2
DeletedFileSize 576511960 (550 MB)
ChangedFiles 25
ChangedSourceSize 5243761 (5.00 MB)
ChangedMirrorSize 5177011 (4.94 MB)
IncrementFiles 65
IncrementFileSize 577266412 (551 MB)
TotalDestinationSizeChange 31265826749 (29.1 GB)
Errors 0
StartTime 1268218802.00 (Wed Mar 10 04:00:02 2010)
EndTime 1268225230.15 (Wed Mar 10 05:47:10 2010)
ElapsedTime 6428.15 (1 hour 47 minutes 8.15 seconds)
SourceFiles 213971
SourceFileSize 307960643843 (287 GB)
MirrorFiles 213963
MirrorFileSize 307959842562 (287 GB)
NewFiles 9
NewFileSize 694087 (678 KB)
DeletedFiles 1
DeletedFileSize 894 (894 bytes)
ChangedFiles 38
ChangedSourceSize 30656167797 (28.6 GB)
ChangedMirrorSize 30656059709 (28.6 GB)
IncrementFiles 48
IncrementFileSize 289278151 (276 MB)
TotalDestinationSizeChange 290079432 (277 MB)
Errors 0
StartTime 1268305202.00 (Thu Mar 11 04:00:02 2010)
EndTime 1268312788.15 (Thu Mar 11 06:06:28 2010)
ElapsedTime 7586.15 (2 hours 6 minutes 26.15 seconds)
SourceFiles 213971
SourceFileSize 307960643779 (287 GB)
MirrorFiles 213971
MirrorFileSize 307960643843 (287 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 15
ChangedSourceSize 30650824127 (28.5 GB)
ChangedMirrorSize 30650824191 (28.5 GB)
IncrementFiles 16
IncrementFileSize 689437042 (657 MB)
TotalDestinationSizeChange 689436978 (657 MB)
Errors 0
StartTime 1268391601.00 (Fri Mar 12 04:00:01 2010)
EndTime 1268400145.85 (Fri Mar 12 06:22:25 2010)
ElapsedTime 8544.85 (2 hours 22 minutes 24.85 seconds)
SourceFiles 213974
SourceFileSize 307960784445 (287 GB)
MirrorFiles 213971
MirrorFileSize 307960643779 (287 GB)
NewFiles 5
NewFileSize 269587 (263 KB)
DeletedFiles 2
DeletedFileSize 128921 (126 KB)
ChangedFiles 16
ChangedSourceSize 30650815948 (28.5 GB)
ChangedMirrorSize 30650815948 (28.5 GB)
IncrementFiles 26
IncrementFileSize 818279963 (780 MB)
TotalDestinationSizeChange 818420629 (781 MB)
Errors 0
StartTime 1268478002.00 (Sat Mar 13 04:00:02 2010)
EndTime 1268488740.33 (Sat Mar 13 06:59:00 2010)
ElapsedTime 10738.33 (2 hours 58 minutes 58.33 seconds)
SourceFiles 213974
SourceFileSize 307960784238 (287 GB)
MirrorFiles 213974
MirrorFileSize 307960784445 (287 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 16
ChangedSourceSize 30650823920 (28.5 GB)
ChangedMirrorSize 30650824127 (28.5 GB)
IncrementFiles 19
IncrementFileSize 1041846015 (994 MB)
TotalDestinationSizeChange 1041845808 (994 MB)
Errors 0
StartTime 1268560803.00 (Sun Mar 14 04:00:03 2010)
EndTime 1268573194.82 (Sun Mar 14 07:26:34 2010)
ElapsedTime 12391.82 (3 hours 26 minutes 31.82 seconds)
SourceFiles 213974
SourceFileSize 307960784238 (287 GB)
MirrorFiles 213974
MirrorFileSize 307960784238 (287 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 14
ChangedSourceSize 30650815948 (28.5 GB)
ChangedMirrorSize 30650815948 (28.5 GB)
IncrementFiles 15
IncrementFileSize 1116911810 (1.04 GB)
TotalDestinationSizeChange 1116911810 (1.04 GB)
Errors 0
StartTime 1268647203.00 (Mon Mar 15 04:00:03 2010)
EndTime 1268662364.88 (Mon Mar 15 08:12:44 2010)
ElapsedTime 15161.88 (4 hours 12 minutes 41.88 seconds)
SourceFiles 214010
SourceFileSize 307963430178 (287 GB)
MirrorFiles 213974
MirrorFileSize 307960784238 (287 GB)
NewFiles 37
NewFileSize 2684172 (2.56 MB)
DeletedFiles 1
DeletedFileSize 5348 (5.22 KB)
ChangedFiles 32
ChangedSourceSize 30656134913 (28.6 GB)
ChangedMirrorSize 30656167797 (28.6 GB)
IncrementFiles 71
IncrementFileSize 1316460362 (1.23 GB)
TotalDestinationSizeChange 1319106302 (1.23 GB)
Errors 0
StartTime 1268733603.00 (Tue Mar 16 04:00:03 2010)
EndTime 1268750396.76 (Tue Mar 16 08:39:56 2010)
ElapsedTime 16793.76 (4 hours 39 minutes 53.76 seconds)
SourceFiles 214010
SourceFileSize 307963430156 (287 GB)
MirrorFiles 214010
MirrorFileSize 307963430178 (287 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 15
ChangedSourceSize 30650823898 (28.5 GB)
ChangedMirrorSize 30650823920 (28.5 GB)
IncrementFiles 16
IncrementFileSize 936032413 (893 MB)
TotalDestinationSizeChange 936032391 (893 MB)
Errors 0
StartTime 1268820002.00 (Wed Mar 17 04:00:02 2010)
EndTime 1268834619.90 (Wed Mar 17 08:03:39 2010)
ElapsedTime 14617.90 (4 hours 3 minutes 37.90 seconds)
SourceFiles 214010
SourceFileSize 307963430156 (287 GB)
MirrorFiles 214010
MirrorFileSize 307963430156 (287 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 14
ChangedSourceSize 30650815948 (28.5 GB)
ChangedMirrorSize 30650815948 (28.5 GB)
IncrementFiles 15
IncrementFileSize 1289272860 (1.20 GB)
TotalDestinationSizeChange 1289272860 (1.20 GB)
Errors 0
这是常见的行为吗?总共只有大约 300gigs 的数据。不过要注意的一件重要事情是,rdiff-backup 是将内容备份到 USB2 外部驱动器。也许这就是为什么它这么慢?
只是猜测,但也许您正在更改目录名称。如果您在目录 A 中有 100GB 并将目录重命名为 B,则 rdiff-backup 必须再次复制整个 100GB 并记录从目录 A 中消失的所有文件的文件名。