fix: update backup archive to ignore migration secrets files (#5548)
Signed| @@ -1052,7 +1052,7 @@ export async function createBackupArchive(handle, response) { | ||
| 1052 | 1052 | archive.pipe(response); |
| 1053 | 1053 | |
| 1054 | 1054 | // Append files from a sub-directory, putting its contents at the root of archive |
| 1055 | 1055 | const ignore = allowKeysExposure ? [] : [SECRETS_FILE, 'backups/secrets_migration_*.json']; |
| 1056 | 1056 | archive.glob('**/*', { |
| 1057 | 1057 | cwd: directories.root, |
| 1058 | 1058 | follow: false, |