diff --git a/app/drizzle/meta/_journal.json b/app/drizzle/meta/_journal.json index 36145bb..b3edcb3 100644 --- a/app/drizzle/meta/_journal.json +++ b/app/drizzle/meta/_journal.json @@ -141,6 +141,13 @@ "when": 1764839917446, "tag": "0019_secret_nomad", "breakpoints": true + }, + { + "idx": 20, + "version": "6", + "when": 1764847918249, + "tag": "0020_even_dexter_bennett", + "breakpoints": true } ] } \ No newline at end of file diff --git a/app/server/utils/restic.ts b/app/server/utils/restic.ts index c1559dc..ab6743f 100644 --- a/app/server/utils/restic.ts +++ b/app/server/utils/restic.ts @@ -281,6 +281,12 @@ const backup = async ( } } + if (options?.excludeIfPresent && options.excludeIfPresent.length > 0) { + for (const filename of options.excludeIfPresent) { + args.push("--exclude-if-present", filename); + } + } + addCommonArgs(args, env); const logData = throttle((data: string) => {