refactor: exclude thumbnail directories when backup (#6725)

#### What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
备份时忽略缩略图目录

#### Which issue(s) this PR fixes:
Fixes #6717

#### Does this PR introduce a user-facing change?
```release-note
备份时忽略缩略图目录以减少文件大小
```
pull/6734/head
guqing 2024-09-29 23:17:47 +08:00 committed by GitHub
parent e77954313d
commit 875a804a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ public class MigrationServiceImpl implements MigrationService, InitializingBean
"mysql/**",
"mysqlBackup/**",
"**/.idea/**",
"**/.vscode/**"
"**/.vscode/**",
"attachments/thumbnails/**"
);
private final DateTimeFormatter dateTimeFormatter;