# Migrate from Wasabi s3 storage to NeevCloud s3 storage

Wasabi Storage is a cloud storage service providing high-performance, scalable, and cost-effective storage solutions. Wasabi is suitable for backup, recovery, and archiving needs.

{% embed url="<https://youtu.be/w-Ir-9z2k1g?si=BxaFSTwy6r_ixr7F>" %}

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Select any Linux operating system to perform these processes.

We have chosen the operating system \*\***Ubuntu 22.04**

Launch the [Instance](https://docs.neevcloud.com/neevcloud-products/computes/getting-started-launch-vms).

## Setup Wasabi

For Wasabi configuration:

Click on the [Wasabi console.](https://console.wasabisys.com/login)

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FlByPtxPg3Is9kPBIQNK5%2Fimage.png?alt=media&#x26;token=8fcdce72-7c08-4362-9178-2d36012d2e2b" alt=""><figcaption></figcaption></figure>

### To create a bucket in wasabi

After logging in to Wasabi, navigate to **Buckets** and create a bucket.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FEB4M0kijd6rdxc9WG3tY%2Fimage.png?alt=media&#x26;token=41d87703-201c-425d-b203-5eb617372467" alt=""><figcaption></figcaption></figure>

### To create Access & Secret Key

Navigate to the Access Keys section.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FzNClS3HeNpAoSC6fc31S%2Fimage.png?alt=media&#x26;token=16a7ee46-8742-4538-93f6-2ed90f2ad0c8" alt=""><figcaption></figcaption></figure>

After performing these processes in Wasabi, configure the NeevCloud settings.

## Setup Neevcloud

Click on the Neevcloud [**login page.**](https://auth.neevcloud.com/realms/clients/protocol/openid-connect/auth?client_id=neevcloud-ui\&redirect_uri=https://my.neevcloud.com/login\&response_type=code\&state=16d24668-3348-463c-8a25-7aeaf08e0b2a\&scope=openid%20profile%20email%20offline_access\&code_challenge=j5Tz4sDlN1fUkOXBD1oV-9i5RL-4O-HoabHq4aV3PDk\&code_challenge_method=S256)

Neevcloud Bucket - See our [Bucket Creation Guide](https://docs.neevcloud.com/neevcloud-products/storage/object-storage/create-bucket)

Neevcloud Access & Secret Key Pair - See our [Access Keys Guide](https://docs.neevcloud.com/neevcloud-products/access-details/s3-ec2-credentials/create-s3-ec2-credentials)

For more information [**Neevcloud**](https://www.neevcloud.com/)

## **Guide to Move Data from Wasabi to NeevCloud.**

We used Ubuntu 22.04 as the mediator to facilitate the data migration from Wasabi to NeevCloud S3.

For example, on a **Ubuntu 22.04** system.

### The first process for Wasabi

Update && Upgrade the systems.

```
sudo apt-get update -y
sudo apt-get upgrade -y
```

{% hint style="info" %}
For migrating data from Wasabi to Neevcloud, use **rclone**
{% endhint %}

Install and configure the **rclone**.

```
sudo apt-get install rclone -y
```

To configure rclone for **Wasabi**, and then configure it in **Neevcloud.**

Run the following command to configure ' **rclone** ':

```
sudo rclone config
```

When you run the command above, follow these steps:

Choose 'n' to create a new remote

Name: Wasabi (Give the name of the remote)

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FsjNHgEKSamrsYGVdrDig%2Fimage.png?alt=media&#x26;token=7aee96ad-23bc-4941-aaf4-4c79bd735685" alt=""><figcaption></figcaption></figure>

Type of storage to configure to **Choose '4' for Aws s3 compliant storage provider.**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F1HYQfvffDx6fSP0TN3X6%2Fimage.avif?alt=media&#x26;token=ff949fb4-b00a-4698-b3be-661ea33207bf" alt=""><figcaption></figcaption></figure>

Choose your S3 provider to **Choose '12' for Wasabi object storage.**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FuQoOwUSXci9c9nikjiKq%2Fimage.png?alt=media&#x26;token=520658bc-9b27-4ae3-9a6f-4a0e01330031" alt=""><figcaption></figcaption></figure>

Get credentials from runtime (environment variables or metadata if no env vars). This only applies if access\_key\_id and secret\_access\_key are blank. Enter a boolean value (true or false). Press Enter for the default ("false"). Choose a number from below, or type in your value.

env\_auth: true

Access & Secret key - We have created the above in the Wasabi section.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FTxsSpdlk6YXzOSsc841X%2Fimage.png?alt=media&#x26;token=c00df254-e5b9-485a-a494-36017af4685f" alt=""><figcaption></figcaption></figure>

Region to connect to. Leave blank if you are using an S3 clone and you don't have a region. Enter a string value. Press Enter for the default. Choose a number from below, or type in your value

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fi3mBdrIUGNIukbt4UI64%2Fimage.png?alt=media&#x26;token=0fc78867-3e42-4bd5-a671-4716ca8edc26" alt=""><figcaption></figcaption></figure>

Endpoint for S3 API. Required when using an S3 clone. Enter a string value. Press Enter for the default. Choose a number from below, or type in your value

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FgQXGNHZHDS2ix3BMNQrU%2Fimage.png?alt=media&#x26;token=f778ad40-e654-42a7-9f37-eba4277e8549" alt=""><figcaption></figcaption></figure>

Note that this ACL is applied when server-side copying objects as S3

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FRuDpylZ0Gc3BeR1hoNau%2Fimage.png?alt=media&#x26;token=a90bf0c2-434b-45a2-99eb-c77593afdce1" alt=""><figcaption></figcaption></figure>

Note that this ACL is applied only when creating buckets.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FbtM0f8xZqSayYousH8nP%2Fimage.png?alt=media&#x26;token=ba6d1209-3afa-4ab3-8f61-0d0dbdb134dd" alt=""><figcaption></figcaption></figure>

After completing these processes, simply press Enter at each step.

This is the remote configuration completed after following these steps:

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FZ4eLgyJBYsKj0fQ3t7Fs%2Fimage.png?alt=media&#x26;token=e3bfc240-c8a6-4979-92e1-dd06ad37e88f" alt=""><figcaption></figcaption></figure>

### Second process for Neevcloud

The same process is now being applied to **Neevcloud**.

Choose 'n' to create a new remote.

Name it 'Neevcloud'

Choose '4' for S3 Compliant Storage Provider

Choose'13' for S3 compatible provider

env\_auth : true

Access & Secret Key - See our [Access Keys Guide](https://docs.neevcloud.com/neevcloud-products/access-details/s3-ec2-credentials/create-s3-ec2-credentials)

EndPoint: **s3-api.neevcloud.com**

Once you have applied the same process, see Configure the details for **Neevcloud.**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FeVww45JJGyKFF9QThHhx%2Fimage.png?alt=media&#x26;token=a65490d0-7b39-4bee-a3f6-03adc4d6bded" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure you have created buckets in both **Wasabi** and **Neevcloud** before running these commands.
{% endhint %}

Now complete the configuration to run these commands.

```
sudo rclone move Wasabi:(wasabi_bucket_name) Neevcloud:(neevcloud_bucket_name)  --progress
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fw3LCg5FncH8txz3If7JJ%2Fimage.png?alt=media&#x26;token=6c039870-ed98-436e-8b9c-6fb2e7195fa3" alt=""><figcaption></figcaption></figure>

Now, return to both Wasabi and Neevcloud to check the status of buckets and details of the data.
