From: Luis P. <lui...@gm...> - 2010-04-05 13:54:04
|
I'm not sure I understand you, but maybe this helps: I'm not counting files. I'm counting lines starting with " create" in the backup log file /var/lib/backuppc/pc/<yourhost>/XferLOG.<backupnumber>.z > /usr/share/backuppc/bin/BackupPC_zcat /var/lib/backuppc/pc/portatil/XferLOG.35.z |grep -c "^ create" 19491 If I exclude directories, I have 10 create files/lines (9 regular, 1 p). The following lists them > /usr/share/backuppc/bin/BackupPC_zcat /var/lib/backuppc/pc/portatil/XferLOG.35.z |grep "^ create" |grep -v "^ create d" create 644 0/0 1502 dev/.udev/queue.bin create 644 0/0 46141 var/lib/DeviceKit-power/history-charge-T12--24-50.dat create 644 0/0 2730 var/lib/dhcp3/dhclient.br0.leases create 644 0/0 10518 var/log/ConsoleKit/history create 640 101/4 36033 var/log/auth.log create 640 101/4 165433 var/log/daemon.log create 640 101/4 10134 var/log/syslog create 600 0/0 1310 var/run/ConsoleKit/database create 644 0/0 486 var/run/motd create p 600 101/103 0 var/run/rsyslog/kmsg Thank you Luis > The count not only including directories but also the files "attrib". One > in > each directory. > I believe your counting (19491 Total files, 10 regular files) can't be > correct. Regular files must be an odd number because count of directories > and attrib files must be an even number. > > You can do a "ls -R /var/lib/backuppc/pc/<yourhost>/<backupnumber>" > > br > Matthias > -- > Don't Panic > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > |