Implement backup and restore functionality; add IBackupService and BackupService; refactor services to use DbContextFactory

This commit is contained in:
2026-04-03 10:53:53 +02:00
parent 0923c037eb
commit 387c18e834
15 changed files with 411 additions and 71 deletions

35
.vscode/tasks.json vendored
View File

@@ -22,6 +22,37 @@
}
}
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj",
"-c",
"Release",
"-r",
"win-x64",
"--self-contained",
"true",
"/p:PublishSingleFile=true",
"/p:EnableCompressionInSingleFile=true",
"/p:IncludeNativeLibrariesForSelfExtract=true",
"/p:IncludeAllContentForSelfExtract=true",
"/p:DebugType=None",
"/p:DebugSymbols=false",
"-o",
"${workspaceFolder}/Publish"
],
"problemMatcher": "$msCompile",
"options": {
"statusbar": {
"label": "$(package) Publish",
"color": "#22c55e",
"detail": "Publish desktop app into Publish folder"
}
}
},
{
"label": "watch",
"command": "dotnet",
@@ -34,6 +65,10 @@
],
"problemMatcher": "$msCompile",
"isBackground": true,
"presentation": {
"reveal": "never",
"panel": "dedicated"
},
"options": {
"statusbar": {
"label": "$(eye) Watch",