projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be68c96
)
Include snapshot intent value in the backup descriptor.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Thu, 17 Jan 2008 04:19:14 +0000
(20:19 -0800)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Thu, 17 Jan 2008 18:19:03 +0000
(10:19 -0800)
It wasn't included earlier, but could be useful to have when actually going
back to clean out old snapshots at a later point in time.
scandir.cc
patch
|
blob
|
history
diff --git
a/scandir.cc
b/scandir.cc
index
7a7ba46
..
65151bc
100644
(file)
--- a/
scandir.cc
+++ b/
scandir.cc
@@
-790,6
+790,7
@@
int main(int argc, char *argv[])
fprintf(descriptor, "Date: %s\n", desc_buf);
if (backup_scheme.size() > 0)
fprintf(descriptor, "Scheme: %s\n", backup_scheme.c_str());
+ fprintf(descriptor, "Backup-Intent: %g\n", snapshot_intent);
fprintf(descriptor, "Root: %s\n", backup_root.c_str());
SHA1Checksum checksum_csum;