Skip to content

Commit

Permalink
fix use_embedded_backup_restore: true behavior for azblob, fix #103…
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Oct 23, 2024
1 parent 97fd5a4 commit 5d577f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/backuper.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func (b *Backuper) buildEmbeddedLocationAZBLOB() string {
azblobBackupURL.Scheme = b.cfg.AzureBlob.EndpointSchema
// https://github.com/Altinity/clickhouse-backup/issues/1031
if b.cfg.AzureBlob.EndpointSuffix == "core.windows.net" {
azblobBackupURL.Host = b.cfg.AzureBlob.AccountName + "." + b.cfg.AzureBlob.EndpointSuffix
azblobBackupURL.Host = b.cfg.AzureBlob.AccountName + ".blob." + b.cfg.AzureBlob.EndpointSuffix
} else {
azblobBackupURL.Host = b.cfg.AzureBlob.EndpointSuffix
azblobBackupURL.Path = b.cfg.AzureBlob.AccountName
Expand Down

0 comments on commit 5d577f7

Please sign in to comment.