[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Getting info about the backups
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] Getting info about the backups |
Date: |
Fri, 25 Nov 2005 21:47:40 -0600 |
>>>>> <address@hidden>
>>>>> wrote the following on Fri, 25 Nov 2005 01:12:56 -0800 (PST)
>
> Is the mirror_metadata documented? and if so can I get a link to
> that documentation? I'm assuming the mirror_metadata format you are
> referring to is the data that is written to the disk by
> rdiff-backup?
There's currently no documentation (other than that in the metadata.py
file). The file is pretty simple though, you will probably
immediately understand the record format immediately after zlessing
it.
> I was thinking that there was an interface in the rdiff-backup
> program itself, that would read the internal (maybe mirror_metadata)
> and have it stream out XML for programs to parse the output.
There's nothing like that now, but it's not a bad idea. What kind of
functionality would you require? Something like an 'rdiff-backup
--get-metadata[-at-time XXX] <file>' command, which would output the
metadata record on stdout?
BTW, I have to take back what I said about no non-backwards compatible
changes. I just remembered that recently I added metadata diffing.
The format of each metadata record is the same, but the new format
allows for metadata .diffs, not just metadata.snapshots.
--
Ben Escoto
pgp6koGm5wjTV.pgp
Description: PGP signature