diff --git a/internal/manager/config/config.go b/internal/manager/config/config.go index 3cba5e1f261..6a568c1da0b 100644 --- a/internal/manager/config/config.go +++ b/internal/manager/config/config.go @@ -702,7 +702,8 @@ func (i *Config) GetBackupDirectoryPath() string { func (i *Config) GetBackupDirectoryPathOrDefault() string { ret := i.GetBackupDirectoryPath() if ret == "" { - return i.GetConfigPath() + // #4915 - default to the same directory as the database + return filepath.Dir(i.GetDatabasePath()) } return ret