Fixed a protential race condition with warning messages and file counts (cosmetic only) when using async transfers. Spelling correction, Seperator -> Separator. Changed so a restore operation can also supply advanced options. Changed the format of timestamps in filenames to follow the Duplicity convention, which removes the need for --time-separator and --use-short-filenames. Moved the URL utility into Core, to avoid compilation errors with Monodevelop. Reorganized the runner to better support the LiveControls on all operations rather than only for backup/restore. Update issue #210 Status: Fixed I have now changed the time format to follow the Duplicity naming convention. This means that all filenames are now generated with the time set as "yyyyMMddTHHmmssZ". This format is more portable across all platforms, and easily sortable/readable. The drawback is that the Z indicates UTC time, so if one looks at the filenames, the times are not local. The motivation for this is to avoid trouble with daylight savings time offsets. There is full backwards compatibility as long as backups have not used more than one character for --time-separator (only possible via commandline). This new format means that the options --time-separator and --use-short-filenames are now deprecated and removed from the user interface. It is possible to access them from the advanced options page, along with the --use-old-filenames option. If anyone needs these options for some reason, let me know, otherwise they will be removed in a later version. git-svn-id: https://duplicati.googlecode.com/svn/trunk@523 59da171f-624f-0410-aa54-27559c288bec
109 lines
2.3 KiB
SQL
109 lines
2.3 KiB
SQL
CREATE TABLE "Task" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"ScheduleID" INTEGER NULL,
|
|
"Service" TEXT NULL,
|
|
"Encryptionkey" TEXT NULL,
|
|
"SourcePath" TEXT NULL,
|
|
"KeepFull" INTEGER NULL,
|
|
"KeepTime" TEXT NULL,
|
|
"FullAfter" TEXT NULL,
|
|
"EncryptionModule" TEXT NULL,
|
|
"CompressionModule" TEXT NULL,
|
|
"IncludeSetup" BOOLEAN NULL
|
|
);
|
|
|
|
CREATE TABLE "Schedule" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"Name" TEXT NULL,
|
|
"Path" TEXT NULL,
|
|
"When" DATETIME NULL,
|
|
"Repeat" TEXT NULL,
|
|
"Weekdays" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "BackendSetting" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "TaskExtension" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "TaskOverride" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "CommandQueue" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"Command" TEXT NULL,
|
|
"Argument" TEXT NULL,
|
|
"Completed" BOOLEAN NULL
|
|
);
|
|
|
|
CREATE TABLE "Log" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"EndTime" DATETIME NULL,
|
|
"BeginTime" DATETIME NULL,
|
|
"Action" TEXT NULL,
|
|
"SubAction" TEXT NULL,
|
|
"Transfersize" INTEGER NULL,
|
|
"ParsedStatus" TEXT NULL,
|
|
"LogBlobID" INTEGER NULL
|
|
);
|
|
|
|
CREATE TABLE "LogBlob" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"Data" BLOB NULL
|
|
);
|
|
|
|
CREATE TABLE "Version" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"Version" INTEGER
|
|
);
|
|
|
|
CREATE TABLE "ApplicationSetting" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "TaskFilter" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"SortOrder" INTEGER NULL,
|
|
"Include" BOOLEAN NULL,
|
|
"Filter" TEXT NULL,
|
|
"TaskID" INTEGER NULL
|
|
);
|
|
|
|
CREATE TABLE "SettingExtension" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"SettingKey" TEXT NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "CompressionSetting" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
CREATE TABLE "EncryptionSetting" (
|
|
"ID" INTEGER PRIMARY KEY,
|
|
"TaskID" INTEGER NULL,
|
|
"Name" TEXT NULL,
|
|
"Value" TEXT NULL
|
|
);
|
|
|
|
INSERT INTO "Version" ("Version") VALUES (6); |