# MINIO

### **DBSync Cloud Replication (Salesforce with MINIO)** <a href="#minio-dbsynccloudreplication-salesforcewithminio" id="minio-dbsynccloudreplication-salesforcewithminio"></a>

* Go to the database section and select the database type as MinIO.

![](https://lh3.googleusercontent.com/qL6kisvmlwX9ucXn3DqOltNsAqHAvyWqnNKjIe3YhCiwxgr8hTBhpmp8XTs9cCXGbQQfr8z07Xp0qLxQfGdXHKI9F9-w1fBeUr_v9_U15NoAMGDIQfeEtVCqBPGS9fb1HCHBqkl4IhBieZDyFq9_eA)

* In another tab, open your MinIO URL to get the database details.

![](https://lh6.googleusercontent.com/WV_op8B2GrcvhmNkxU3PiitnPpe7GBN_Dh0dQncDXh43sadOpv7VUs4ybnOAtDSN0EE8UCyN3sVOGO2DWfZr5lB4LVpGHgMfz7zoA4wctdtLeFrcZLg1outYTsabqb3uS2fDIHqHmHeDR24UM7Mqmg)

* Enter the credentials as username and password&#x20;
* After login, you will be redirected to the object browser of Minio

![](https://lh3.googleusercontent.com/IDM3ovpjoVN_LrB0twgjNAFNGNgbadz0yS-J9TnO_asayEj0zz1ESetzSIMtSOZRkt1FDiNhkyHn6uETeZjnQmQbZLerg5O4aEqlYXRP0n0fbqJ-1DGb6prASeA6HD8v8t62xXnOVzkfOhjwTgfleg)

* Now, go to the bucket section and create a bucket.

![](https://lh4.googleusercontent.com/IRV06umrrZ6LLS75nnt87NytGd1xooS0ae7FY-EwzvZobQgaBm7rDlXJfaYaLN_B6Air8sZjQeZlCpT1NxiNgJDR1Untz-CvP7oFDeHgfYeWCcr3MnJf02WNvFwiR_UfrONlEpGAMo926x_0lapTGw)

* Give a name, for example, minbucket (in my case).

![](https://lh3.googleusercontent.com/ZykvysVuVEhJ_Kn2KxrSAVrospMpm7QlrCAPJGlXf7cfXePTHT0Dk8IIu5z_jUUElbTXor1nOPs6gyBQccCkDuS20PJEiDhl-i4I-KreMB2-3RNbzGn8AGK92eh4qCh9I_s_00Z7jSCqSX7SZKD7UA)

* Now go to Access Keys and create access keys.

![](https://lh5.googleusercontent.com/azAjiXjG1ol2zLbbv1qTuBf8Vae13A7Oq7j5TAYP84tKQn4ePOGtT8568R_YiuM4XdT1jvVm4wrSBl0qR5hZe1vep64_elwCd8uu8qURIgf0eZS8tN9aPhFOdjCdytjBoRYUjOU74NuENa2aK2659Q)

* After clicking “**Create access key**,” you will see the Access and secret keys. **Keep the secret key safe, as it only generates and is seen once.**<br>

![](https://lh3.googleusercontent.com/4Qi15-BytatpggwmMJ7hD8J0btBdBdNAYw1xtpnT_AR2aCf4J-n0ca_vBujWUg-Nu9Rg2VpTYApBTnBWF3zAFCWrIqE6KjGnEdzh4REx0KC0T2quPXhAFJ55qvKutbzoLcTAVgyrcwZ1wlFov7IvYw)

* Now enter all the credentials&#x20;

![](https://help.mydbsync.com/docs/download/attachments/68878482/image2023-12-20_20-52-19.png?version=1\&modificationDate=1703085739000\&api=v2)

* **Select the format** in which you want to save your data in your MinIO

![](https://help.mydbsync.com/docs/download/attachments/68878482/image2023-12-20_21-1-16.png?version=1\&modificationDate=1703086277000\&api=v2)

| <p>Note<br><img src="https://lh7-us.googleusercontent.com/lnVyfEY-N9r-lIXw0Us7bMegINvXsV7iplNgSsHWX7GnuCd0PL9LKFmVH9X2Q4ZjGg7M7xISd4C6rtL2jNiTB2ggHfBm5PdjraDIuL3JC4htmzFyxrXqkwJcU4MFdx1WWvHq0bZIR0FdhoJ7VnL11IM" alt=""><br>This section will only be visible once CSV is selected in the “Save As Type”</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

This option enables you to select the format in which you want to save the data in MinIO

* **Select the Batch size**\
  ![](https://help.mydbsync.com/docs/download/attachments/68878482/image2023-12-20_21-2-42.png?version=1\&modificationDate=1703086362000\&api=v2)
* **Purge Old Data For a Clean Copy** \
  &#x20;![](https://help.mydbsync.com/docs/download/thumbnails/68878482/image2023-12-20_21-17-27.png?version=1\&modificationDate=1703087247000\&api=v2)\
  enabling this will clean the old data before performing the clean copy and adding new data to the bucket
* **Test connection**\
  once all the details are filled test the connection\
  ![](https://lh5.googleusercontent.com/sRpzaZCa9WNnQ8Rnjk10gWXwjnTaJqyTNRjCHQfQso6cAgcHvw0SfA04VPt3_45_sq3LBXdikCwQolS58BsL2JML8y7TaewbdOFwsmKmMwAYamnaW-IjaNYGiisr6Coh9Rdm3LCyd_jkR8MxRgag2A)<br>
* After a successful sync, we can see in the bucket(min bucket in my case) a folder created by the same name as the profile name.

![](https://lh4.googleusercontent.com/NDo3Yg9twh14DVOWxDYZujzAxeoesPTUbZVWoYmKug1VtYGDEhwabrR15wxc_Pc3RuDP43HX1I9wdL4Cm1UljKEdwBTi73LOBFQ384TA8lH8LoAfj0tyX4k4-4-US8FHKpPV6xs2QoX2avPptuAfjA)

* Going inside, we can see the folders by the same name as the objects that we synced are created.

![](https://lh5.googleusercontent.com/kpFyq2IiH9HiVKRR7-gCXsVV49LXxeIKMa9usVukq9nXBNf1aoD9IX6GPFVr38HJN2Mxo1kc1dmuMA-pZXfC7Ipd2ubPdfBmsqcMKa8_-UWc-Y7hG4Iv8GVMxYyYSN6sVYulEkndw3UawKIwfIVTig)

* Inside the object, we can see that the data is saved in CSV/Parquet format.

![](https://lh3.googleusercontent.com/6_rTH6-coAmrjkfS7FPELS3Vc7VwStKVDSYpK2ZArUSnBFBeIVnaI996wbUEG2SZFRExoVMAy9nUdahGCCuZrT_PgV1t2YOMhvzh3xmKRKe1OMsYw8S8FGw6NxjlyHftUlbzifgtP0RRYdXRBzA-Yg)
