BackupPC-users

Re: [BackupPC-users] Incremental backup: What files changed?

2010-04-06 21:39:47
Subject: Re: [BackupPC-users] Incremental backup: What files changed?
From: Luis Paulo <luis.barbas AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 7 Apr 2010 02:32:11 +0100
Thank you, Jeffrey

But again, I'm counting lines starting with "  create" in the backup log. No attrib files there.

On Wed, Apr 7, 2010 at 2:09 AM, Jeffrey J. Kosowsky <backuppc AT kosowsky DOT org> wrote:
Matthias Meyer wrote at about 08:12:45 +0200 on Monday, April 5, 2010:
 > Luis Paulo wrote:
 >
 > > I was trying to get a way to find what files have changed in an
 > > incremental backup.
 > > Does any one has a solution for it already?
 > >
 > > I've look at /var/lib/backuppc/pc/<host>/backups and to the XferLOG, but
 > > i'm getting nowhere.
 > > I did a manual incremental a few minutes after another, and I get:
 > >
 > >> echo -e " n   type\tFiles\tExist\tNew\tlevel"; \
 > >  awk '{print $1," ",$2,"\t",$5,"\t",$7,"\t",$9,"\t",$21}'
 > > /var/lib/backuppc/pc/portatil/backups
 > >  n  type    Files    Exist    New    level
 > > 35   incr      36      27      43      4
 > >
 > > Those are the numbers that appears on the GUI. How they relate (or if)
 > > with each other I don't know. (btw, It's a level 4 incremental following a
 > > level 3)
 > >
 > > But if I count the "create" files on XferLOG.35.z I get *19491* files (15
 > > pool, 11 same, 0 skip, 0 delete).
 > >> /usr/share/backuppc/bin/BackupPC_zcat
 > > /var/lib/backuppc/pc/portatil/XferLOG.35.z |grep -c "^  create"
 > >
 > > Don't know where to go from here.
 > > Really appreciate any help.
 > >
 > > EDIT: I look better to the log and its almost all directories
 > >
 > > If I exclude directories, I have 10 create (9 regular, 1 p), 15 pool (10
 > > reg, 3 c, 2 l), 11 same. Create files are logs and pid, as expected.
 > >
 > >> /usr/share/backuppc/bin/BackupPC_zcat
 > > /var/lib/backuppc/pc/portatil/XferLOG.31.z |grep "^  create" |grep -v "^
 > > create d"
 > >
 > > Did some tests with other log files and it looks reasonable. Although it
 > > don't show what directories were created, its a start. How it relates with
 > > backups file values beats me.
 > >
 > > Any one as a better solution, please? Thanks.
 >
 > 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>"
 >

I believe that empty directories do not have an attrib file in
them. Perhaps this explains the parity results...

------------------------------------------------------------------------------
Download Intel&#174; 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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
Download Intel&#174; 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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/