# Xbcloud oci object storage

**URL:** <https://forums.percona.com/t/xbcloud-oci-object-storage/20078>\
**Category:** Percona XtraBackup\
**Created:** [February 13, 2023, 10:16pm UTC](https://forums.percona.com/t/xbcloud-oci-object-storage/20078 "2023-02-13T22:16:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiago\_Andreis](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/thiago_andreis/32/9304_2.png) [@Thiago\_Andreis](https://forums.percona.com/u/Thiago_Andreis)\
**Post date:** [February 13, 2023, 10:16pm UTC](https://forums.percona.com/t/xbcloud-oci-object-storage/20078/1 "2023-02-13T22:16:56Z")

</div>

Hi,

There’s a way to perform backup using xbcloud to Oracle Cloud Object storage bucket, as xbcloud perform backups to Amason s3 Buckets?

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [February 14, 2023, 1:30am UTC](https://forums.percona.com/t/xbcloud-oci-object-storage/20078/2 "2023-02-14T01:30:28Z")

</div>

Hello @Thiago_Andreis,  
If OCI storage supports the S3 standard, then xbcloud should work all the same.

---

<div class="post-metadata">

**Author:** ![Thiago\_Andreis](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/thiago_andreis/32/9304_2.png) [@Thiago\_Andreis](https://forums.percona.com/u/Thiago_Andreis)\
**Post date:** [February 14, 2023, 2:15pm UTC](https://forums.percona.com/t/xbcloud-oci-object-storage/20078/3 "2023-02-14T14:15:13Z")

</div>

Thank you @matthewb, I’ll check the oci documentation.

---

<div class="post-metadata">

**Author:** ![Thiago\_Andreis](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/thiago_andreis/32/9304_2.png) [@Thiago\_Andreis](https://forums.percona.com/u/Thiago_Andreis)\
**Post date:** [February 16, 2023, 11:03pm UTC](https://forums.percona.com/t/xbcloud-oci-object-storage/20078/4 "2023-02-16T23:03:39Z")

</div>

In case of someone having this issue.

This solution works for me.

You wi’ll need to configure the oci cli on your machine.

> **[Início Rápido](https://docs.oracle.com/pt-br/iaas/Content/API/SDKDocs/cliinstall.htm)**
>
> Saiba como usar o script instalador e o comando de configuração para começar a trabalhar com a CLI.

Then you can redirect the xbstream output to the oci client.

`xtrabackup --backup --stream=xbstream --compress | $(oci os object put --bucket-name bucket --file - --name backup_mysql_2023-02-16/backup.xbstream)`

Please note the value “-” for the argument “–file”: `--file -`
