Keep an index of old stored blocks, using sqlite3.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Tue, 15 May 2007 04:57:18 +0000 (21:57 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Tue, 15 May 2007 04:57:18 +0000 (21:57 -0700)
commited5a047c1b8a8f5c43b0192e8e774b91497c9706
treeb63318c32abbaa8c967930efa108f95b8ddeb0b3
parent136d05867858042ea22e4f8a53df97c731857e9b
Keep an index of old stored blocks, using sqlite3.

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.
Makefile
localdb.cc [new file with mode: 0644]
localdb.h [new file with mode: 0644]
scandir.cc
schema.sql [new file with mode: 0644]