[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] file-by-file changes from one backup to the nex
From: |
Adrian Klaver |
Subject: |
Re: [rdiff-backup-users] file-by-file changes from one backup to the next |
Date: |
Tue, 14 Jun 2011 16:36:38 -0700 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-32-generic; KDE/4.4.5; i686; ; ) |
On Tuesday, June 14, 2011 4:18:25 pm Robert Nichols wrote:
>
> You can get a little of that from the file_statistics.{timestamp}.data.gz
> file that is created for each backup. For each file or directory there is
> a flag that indicates a change, plus the sizes of the source file, the file
> in the mirror, and the increment. Because of the format and the
> possibility of file names with spaces, it gets a bit messy to parse that
> file, but the following will show all of the lines with the "change" flag
> set:
>
> zgrep -E '(# F)|(1 [^ ]+ [^ ]+ [^ ]+$)' \
> file_statistcs.{timestamp}.data.gz | less
>
> Alas, if you were using the "--null-separator" option for your backup,
> that gets even worse:
>
> zcat file_statistcs.{timestamp}.data.gz | tr '\0' '\n' | \
> egrep '(# F)|(1 [^ ]+ [^ ]+ [^ ]+$)' | less
>
> Also, you can always see what versions of a file exist in the backup:
>
> rdiff-backup -l /backup_dir/path/to/some/filename
>
>
>
>
> That's nothing like what you're used to, but at least it's something.
Maybe:
rdiff-backup --list-changed-since 1B /some/rdiff-backup/dir
where 1B equals last backup before current.
Does not show size changes, but does show changed,new,deleted.
---
Adrian Klaver
address@hidden