From: Michael Vrable Date: Thu, 17 Jan 2008 04:19:14 +0000 (-0800) Subject: Include snapshot intent value in the backup descriptor. X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=commitdiff_plain;h=d2079ba19b474993ec8544186d21824e8e22921f 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. --- 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;