rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] listing files in an increment


From: Joe Steele
Subject: Re: [rdiff-backup-users] listing files in an increment
Date: Thu, 11 Apr 2013 10:49:08 -0400
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

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$'

Changed files:
' 1( [0-9]+){3}$'

Deleted files:
' 1 NA [0-9]+ [^0][0-9]*$'

New directories:
' 1 0 NA NA$'

Changed directories:
' 1 0 0 NA$'

Deleted directories:
' 1 NA 0 0$'

--Joe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]