| 1052 | archive.pipe(response); | 1052 | archive.pipe(response); |
| 1053 | | 1053 | |
| 1054 | // Append files from a sub-directory, putting its contents at the root of archive | 1054 | // Append files from a sub-directory, putting its contents at the root of archive |
| 1055 | const ignore = allowKeysExposure ? [] : [SECRETS_FILE]; | 1055 | const ignore = allowKeysExposure ? [] : [SECRETS_FILE, 'backups/secrets_migration_*.json']; |
| 1056 | archive.glob('**/*', { | 1056 | archive.glob('**/*', { |
| 1057 | cwd: directories.root, | 1057 | cwd: directories.root, |
| 1058 | follow: false, | 1058 | follow: false, |