fix: update backup archive to ignore migration secrets files (#5548)

This commit is contained in:
Cohee
2026-04-28 19:14:54 +03:00
committed by GitHub
parent 004f1336e6
commit aa50edcf45
+1 -1
View File
@@ -1052,7 +1052,7 @@ export async function createBackupArchive(handle, response) {
archive.pipe(response);
// Append files from a sub-directory, putting its contents at the root of archive
const ignore = allowKeysExposure ? [] : [SECRETS_FILE];
const ignore = allowKeysExposure ? [] : [SECRETS_FILE, 'backups/secrets_migration_*.json'];
archive.glob('**/*', {
cwd: directories.root,
follow: false,