Link sqlite3 in with the snapshot program, and start to write a wrapper
around a "local database" which tracks previously-backed-up data to make
incremental backups possible.
At the moment, blocks are indexed as they are stored, but we never read
from the index, so blocks are not yet reused.