Files
duplicati/Duplicati/Library/Main/Database/Local/Database schema/2. Use Lastmodified.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

14 lines
343 B
SQL

CREATE TABLE "FilesetEntry_Temp" (
"FilesetID" INTEGER NOT NULL,
"FileID" INTEGER NOT NULL,
"Lastmodified" INTEGER NOT NULL
);
INSERT INTO "FilesetEntry_Temp" SELECT "FilesetID", "FileID", 0 FROM "FilesetEntry";
DROP TABLE "FilesetEntry";
ALTER TABLE "FilesetEntry_Temp" RENAME TO "FilesetEntry";
UPDATE "Version" SET "Version" = 2;