# For Windows Server

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

Select any Window Operating system to perform these processes.

We have chosen the operating system Windows Server 2022

Click on the link to launch the [instance](https://docs.neevcloud.com/neevcloud-products/computes/getting-started-launch-vms).

Download rclone from the following [link](https://rclone.org/downloads/)

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2F3kZPXLU50HoMX6XZE5Eg%2Fimage.png?alt=media&#x26;token=242b9f8c-f30f-4b3b-ad62-dc7241926a2e" alt=""><figcaption></figcaption></figure>

For Zata.ai configuration:

* Click on the Zata [login page](https://auth.zata.ai/realms/zata/protocol/openid-connect/auth?client_id=zatacloud_client\&redirect_uri=https%3A%2F%2Fmy.zata.ai%2F\&state=dd2b5305-f7f5-4922-8639-4b0c62060c2f\&response_mode=fragment\&response_type=code\&scope=openid\&nonce=646d8811-0870-469c-9045-9e13d0fdd1b3\&code_challenge=wRG6I1qb9wdmY4unvHhPYaYq5WWM-801w72AYyLi8xY\&code_challenge_method=S256).
* Zata Bucket - See our [Bucket Creation Guide](https://docs.zata.ai/manage/bucket/create-bucket)
* Zata Access & Secret Key Pair - See our [Access Keys Guid](https://docs.zata.ai/manage/access-keys/creating-a-new-access-key)e
* For more information about the [zata.ai](https://zata.ai/)

After successfully launching the instance, follow these steps:

After successfully downloading rclone, extract the file.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FUekYZMu6RGvzpVV0brkO%2Fimage.png?alt=media&#x26;token=b12f5635-4864-4e5d-a6a4-3433828c5643" alt=""><figcaption></figcaption></figure>

Now navigate to the `C:\Let's` directory and create an `rclone` folder.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FkRRLb0SelwSFRPAX2kb3%2Fimage.png?alt=media&#x26;token=59610b6e-c558-4fa7-853e-e81d73f7a199" alt=""><figcaption></figcaption></figure>

Now, move the downloaded content to the rclone directory.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2F8UhH2C7SKiTJMMrR95Dn%2Fimage.png?alt=media&#x26;token=519bc660-0a4b-48d0-9152-70ebfe06c444" alt=""><figcaption></figcaption></figure>

Let's see if the content has been moved to the rclone directory.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FTNhP9kmBqRa1NApLDLEn%2Fimage.png?alt=media&#x26;token=d7041311-2299-4c1c-b507-0e0eb126bcc0" alt=""><figcaption></figcaption></figure>

**Add Rclone to the System PATH**

Open Environment Variables Settings

* Right-click This PC or My Computer → Click Properties
* Click Advanced system settings
* In the System Properties window, click Environment Variables

Edit the PATH Variable

* Under System variables, scroll and find Path, then click Edit
* Click New and paste the folder path (not the `.exe`, just the folder).

```
C:\rclone
```

Click OK to close all windows

Restart Command Prompt

Close and reopen the Command Prompt, then test:

Open your command prompt, navigate to the rclone directory, and run the command.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FgeYhNNt62IbZAAMnkpzy%2Fimage.png?alt=media&#x26;token=53403f55-0386-4651-8f7c-1edbee0c8216" alt=""><figcaption></figcaption></figure>

```
rclone version 
```

Now, configure the rclone for Zata.ai

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

When you run the command above, follow these steps:

Choose 'n' to create a new remote

Name: Zata (Give the name of the remote)

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2F1pucz27ag2KFTFagIhzo%2Fimage.png?alt=media&#x26;token=636a0736-ca2a-48eb-a996-34639066fd44" alt=""><figcaption></figcaption></figure>

Type of storage to configure: '4'; these values vary depending on the rclone version.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FbSNIxYpXKm8J2O6LBMGo%2Fimage.png?alt=media&#x26;token=a4a4a6e3-b76b-40de-859a-a567cb772f65" alt=""><figcaption></figcaption></figure>

Choose your S3 compatible version to choose '34' for object storage, these numbers are very dependent on the rclone versions.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FxX0lN3fOdjn0IZ6gxObG%2Fimage.png?alt=media&#x26;token=29738cad-03a7-4d75-be84-cffa7b5785b5" 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**

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FDdgQ5tjUdNpdx3Lwh2fS%2Fimage.png?alt=media&#x26;token=554c68d0-ea9d-4e19-99f2-ada97087b2f8" alt=""><figcaption><p><br></p></figcaption></figure>

**Access & Secret key** - We have created the above in the zata.ai section.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FWSqYupMKxGBOnG1x5Uo6%2Fimage.png?alt=media&#x26;token=5aed074f-d5db-476a-bbc1-f3b79fa0a41f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FXxAxRTA5IKRCMO0qEtOU%2Fimage.png?alt=media&#x26;token=f6f6cbfe-1be3-4c17-894d-da5256b17bb4" 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://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FDVUHKt59IARlhu5NbuCj%2Fimage.png?alt=media&#x26;token=ed076cf7-44f2-4800-8aca-ae221361e201" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FyuXctzAkbiXP6cSJzaNx%2Fimage.png?alt=media&#x26;token=f3af7ffe-724b-4a48-b4c6-460a169a8e40" alt=""><figcaption></figcaption></figure>

Note that this ACL is applied only when creating buckets.

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

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FEqhTEPBsCyv9K1lJZVaD%2Fimage.png?alt=media&#x26;token=d4a58bd1-f025-4064-8124-a0efc82f6c07" alt=""><figcaption></figcaption></figure>

After this, all processes use the default configuration, so press Enter to continue.

This is the remote configuration completed after following these steps:

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2F2uVdl5Ft2YnybJW3tTGO%2Fimage.png?alt=media&#x26;token=dd386940-c717-43c9-a364-f3e8b3f5f189" alt=""><figcaption></figcaption></figure>

Now, complete the configuration to run these commands.

#### To copy and move your data <a href="#to-copy-and-move-your-data" id="to-copy-and-move-your-data"></a>

You can run it accordingly.

```
 rclone copy   <file-name> zata:(bucket-name) --progress
```

```
 rclone move  <file-name> zata:(bucket-name) --progress
```

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FDR9DtVNTF3ooDsBpIZnw%2Fimage.png?alt=media&#x26;token=8b6c2bc8-b7ab-4098-bd03-997f01ab1196" alt=""><figcaption></figcaption></figure>

Now, navigate to the Zata.ai bucket section and check the bucket.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2F1uyYuXlRyKJFizLcJsjd%2Fimage.png?alt=media&#x26;token=5a40bc8c-999e-467c-b411-4594e359d6b1" alt=""><figcaption></figcaption></figure>

Download or restore your server files from Zata to your local system.

* `zata` Your rclone remote
* `your-bucket-name`The name of the bucket in Zata.ai.
* `/path/to/local/directory`Where do you want to restore the files?

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2FXAHH9LD9uzHuyk81k7SB%2Fimage.png?alt=media&#x26;token=579cdb8b-18fc-4059-b0d1-f52c1537c1e1" alt=""><figcaption></figcaption></figure>

Now, check the restore folder on your local system.

<figure><img src="https://2683631041-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPPVG4W649TwXN8OejRhb%2Fuploads%2Faj1MrMcpEWmoaRkuXCya%2Fimage.png?alt=media&#x26;token=71e17d6a-b88e-4e36-b0e0-35d73da122b0" alt=""><figcaption></figcaption></figure>
