diff --git a/src/restic/backend/s3/s3.go b/src/restic/backend/s3/s3.go index aa557e7e4..7f14e72cd 100644 --- a/src/restic/backend/s3/s3.go +++ b/src/restic/backend/s3/s3.go @@ -291,6 +291,11 @@ func (be *Backend) Remove(ctx context.Context, h restic.Handle) error { objName := be.Filename(h) err := be.client.RemoveObject(be.bucketname, objName) debug.Log("Remove(%v) at %v -> err %v", h, objName, err) + + if be.IsNotExist(err) { + err = nil + } + return errors.Wrap(err, "client.RemoveObject") }