| 1142 | archive.pipe(response); | 1142 | archive.pipe(response); |
| 1143 | | 1143 | |
| 1144 | // Append files from a sub-directory, putting its contents at the root of archive | 1144 | // Append files from a sub-directory, putting its contents at the root of archive |
| 1145 | const ignore = allowKeysExposure ? [] : [SECRETS_FILE]; | 1145 | const ignore = allowKeysExposure ? [] : [SECRETS_FILE, 'backups/secrets_migration_*.json']; |
| 1146 | archive.glob('**/*', { | 1146 | archive.glob('**/*', { |
| 1147 | cwd: directories.root, | 1147 | cwd: directories.root, |
| 1148 | follow: false, | 1148 | follow: false, |