Skip to content

Commit

Permalink
Update upload.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mithunputhusseri authored Nov 6, 2024
1 parent 6775397 commit 6cdaf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (b *Backuper) validateUploadParams(ctx context.Context, backupName string,
}

if b.cfg.General.RemoteStorage == "custom" && b.resume {
return fmt.Errorf("can't resume for `remote_storage: custom`")
return fmt.Errorf("Resumable state not allowed for `remote_storage: custom`. Disable it by setting use_resumable_state=false in `general` config section")
}
if b.cfg.General.RemoteStorage == "s3" && len(b.cfg.S3.CustomStorageClassMap) > 0 {
for pattern, storageClass := range b.cfg.S3.CustomStorageClassMap {
Expand Down

0 comments on commit 6cdaf30

Please sign in to comment.