Files
duplicati/Duplicati/Library/Main/Database/Local/Database schema/11. Add Block indices.sql
T
Kenneth Skovhede 62ea2d23f5 Added a sync command to the Controller and CLI.
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.
2026-06-25 15:49:00 +02:00

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;