From aa50edcf4561301ec5ef916b247f0ec34d3ac4b9 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 28 Apr 2026 19:14:54 +0300 Subject: [PATCH] fix: update backup archive to ignore migration secrets files (#5548) --- src/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.js b/src/users.js index 10216b679..1b2a7b7d7 100644 --- a/src/users.js +++ b/src/users.js @@ -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,