Skip to content

Commit

Permalink
refactor: exclude indices directory during backup (#6753)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area core
/kind improvement
/milestone 2.20.x

#### What this PR does / why we need it:

备份时排除全文索引目录 indices,防止恢复之后因为索引文件问题无法启动。

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

Fixes #6443

#### Does this PR introduce a user-facing change?

```release-note
备份时排除全文索引目录 indices,防止恢复之后因为索引文件问题无法启动。
```
  • Loading branch information
ruibaby authored Oct 4, 2024
1 parent c941e37 commit cf7746b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class MigrationServiceImpl implements MigrationService, InitializingBean
"backups/**",
"db/**",
"logs/**",
"indices/**",
"docker-compose.yaml",
"docker-compose.yml",
"mysql/**",
Expand Down

0 comments on commit cf7746b

Please sign in to comment.