This refactors a part of the database and adds a new "sync" command that reuses a lot of the backup logic to take a set of sources and apply them to a backend. Unlike the backup process, the sync copies files verbatim without any encryption.
5 lines
185 B
SQL
5 lines
185 B
SQL
CREATE INDEX IF NOT EXISTS "BlockSize" ON "Block" ("Size");
|
|
CREATE UNIQUE INDEX IF NOT EXISTS "BlockHashVolumeID" ON "Block" ("Hash", "VolumeID");
|
|
|
|
UPDATE "Version" SET "Version" = 11;
|