# Wasabi storage

### Setting up Wasabi as a Database

Select Wasabi: Navigate to the database section and choose Wasabi as the database type.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2FPV1WqfNF3yiWXfOgMAgq%2Funknown.png?alt=media&#x26;token=196a01c4-f331-4678-bd70-0fa0cde77a61" alt=""><figcaption></figcaption></figure>

#### Gather Wasabi Details: Open your Wasabi URL in a separate tab to retrieve the necessary database information.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2F9A7ZvImNvAKLxZbXmQGy%2Funknown.png?alt=media&#x26;token=ce1ac6a2-c28f-49dc-834f-9743d8a565ce" alt=""><figcaption></figcaption></figure>

* Log in to Wasabi: Enter your username and password credentials. Upon successful login, you will be directed to the Wasabi Dashboard.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2Fp8kKVfzssNheVecunolH%2Funknown.png?alt=media&#x26;token=df8bd945-0e50-4c6e-aa2c-2512bcb355ef" alt=""><figcaption></figcaption></figure>

#### Creating Buckets and Access Keys

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2FzUzVd3cwGxnGubrUCQqK%2Funknown.png?alt=media&#x26;token=f7fdf191-9175-4795-8182-d61f0a7a1b0d" alt=""><figcaption></figcaption></figure>

* Create a Bucket: Go to the bucket section and create a new bucket. Assign a name to it (e.g., cr-dev).
* Generate Access Keys: Navigate to the Access Keys section and click "Create access key."
* Secure Secret Key: The Access Key and Secret Key will be displayed. Keep the Secret Key safe as it is generated and visible only once.

#### Configuring Data Synchronization

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2Fchq2ABOdudbyPRbHFEhs%2Funknown.png?alt=media&#x26;token=61e80b4b-a570-4a78-84f5-f280b596952b" alt=""><figcaption></figcaption></figure>

* Enter Credentials: Input all the necessary credentials.
* Select Data Format: Choose the desired format (CSV/Parquet) for saving your data in Wasabi Storage. This option determines the format of the data saved in Wasabi Storage.
* Set Batch Size: Specify the batch size for data processing.
* Clean Old Data (Optional): Enable the "Purge Old Data For a Clean Copy" option if you want to remove existing data before performing the clean copy and adding new data to the bucket.
* Test Connection: After filling in all the details, test the connection to ensure everything is configured correctly.

#### Post-Synchronization Verification

* Verify Sync: After a successful sync, a folder with the same name as the profile will appear in your Wasabi bucket.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2FKFcnsVLJXmDhThBOFc3H%2Funknown.png?alt=media&#x26;token=9407afe8-3533-40b1-87d3-3ac16b678083" alt=""><figcaption></figcaption></figure>

* Check Objects: Inside this folder, you will find sub-folders named after the objects that were synced.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2FDnokQSZXnrpjG4BRuHlN%2Funknown.png?alt=media&#x26;token=16589e99-b5bf-4fa0-be79-713f8fda7e7f" alt=""><figcaption></figcaption></figure>

* Confirm Data Format: Within each object folder, the data will be saved in the selected CSV or Parquet format.

<figure><img src="https://1807783010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJ01SyijpwGkw5NZTFOA%2Fuploads%2FtDdfWfHcopf7ijeHBjBw%2Funknown.png?alt=media&#x26;token=78c5573e-87dc-475e-a225-4b8ddba1c07c" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/target-setup/wasabi-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
