Skip to content

Commit

Permalink
refactor: exclude thumbnail directories when backup (#6725)
Browse files Browse the repository at this point in the history
#### 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
备份时忽略缩略图目录以减少文件大小
```
  • Loading branch information
guqing authored Sep 29, 2024
1 parent e779543 commit 875a804
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public class MigrationServiceImpl implements MigrationService, InitializingBean
"mysql/**",
"mysqlBackup/**",
"**/.idea/**",
"**/.vscode/**"
"**/.vscode/**",
"attachments/thumbnails/**"
);

private final DateTimeFormatter dateTimeFormatter;
Expand Down

0 comments on commit 875a804

Please sign in to comment.