[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] listing files in an increment
From: |
Scott Lair |
Subject: |
Re: [rdiff-backup-users] listing files in an increment |
Date: |
Thu, 11 Apr 2013 12:50:30 -0400 |
On Thu, 2013-04-11 at 10:49 -0400, Joe Steele wrote:
> On 4/11/2013 9:24 AM, Scott Lair wrote:
> > Hello,
> >
> > Is it possible to list files in an increment? I see a week ago that an
> > increment size was several gigs and want to find out what files are in
> > there.
> >
>
> When I want to know why a certain backup was large, I will look
> in the file-statistics for the backup. The file header tells you
> what's in the file:
>
> # Filename Changed SourceSize MirrorSize IncrementSize
>
> Some examples --
>
> To see all the new or changed files or directories:
>
> zgrep -e ' 1( [^ ]+){3}$'
> rdiff-backup-data/file_statistics.2013-04-11T04\:17\:09-04\:00.data.gz
>
> To see new files greater than 10MB:
>
> zgrep -e ' 1 [0-9]{8,} NA 0$'
> rdiff-backup-data/file_statistics.2013-04-11T04\:17\:09-04\:00.data.gz
>
> Other useful patterns (I think these are generally correct):
>
> New files:
> ' 1 [0-9]+ NA 0$'
>
I wasn't having much luck with this so I thought I'd focus on the new
files search. I have the following line in one of my stats files.
opt/samba/m/ATX/2011/Years/2011/Support201304030936.log 1 13848 NA 0
when I run
zgrep -e ' 1 [0-9]+ NA 0$' rdiff-backup-data/blah_blah.gz
I get no output. Seems like it should work. I don't know reg exp at
all.
thanks,
Scott