From d2079ba19b474993ec8544186d21824e8e22921f Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Wed, 16 Jan 2008 20:19:14 -0800 Subject: [PATCH] Include snapshot intent value in the backup descriptor. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/scandir.cc b/scandir.cc index 7a7ba46..65151bc 100644 --- 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; -- 2.20.1