Skip to content

Commit

Permalink
Fix dump move
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 24, 2023
1 parent 95d3911 commit 86d4b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/database/meilisearch/meilisearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (db *Meilisearch) moveDumpsToBackupDir() error {
}

dst := path.Join(constants.BackupDir, d.Name())
src := path.Join(basepath, d.Name())
src := basepath
db.log.Infow("move dump", "from", src, "to", dst)

err = os.Rename(src, dst)
Expand Down
2 changes: 2 additions & 0 deletions deploy/meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ spec:
- name: BACKUP_RESTORE_SIDECAR_MEILISEARCH_URL
value: http://localhost:7700
volumeMounts:
- mountPath: /tmp
name: tmp
- name: data
mountPath: /meili_data
- name: bin-provision
Expand Down

0 comments on commit 86d4b9e

Please sign in to comment.