> For the complete documentation index, see [llms.txt](https://docs.zata.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zata.ai/knowledgebase/how-to-transfer-data-to-zata.ai-bucket-using-rclone/for-windows-server.md).

# For Windows Server

{% embed url="<https://youtu.be/SJLgph5giME>" %}

### **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="/files/QPBJs5BSGohjYPEZxlQc" 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="/files/yKFaMVzaWNaeq45aFpol" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/0AbeJyQIfDFHIX2iNnYE" alt=""><figcaption></figcaption></figure>

Now, move the downloaded content to the rclone directory.

<figure><img src="/files/XpETa1z8zSNDtxt5P71z" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/7kJvWE6A780M90pu5FWW" 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="/files/pr4IpF9IyHZOIqJ7vmia" 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="/files/mLhkNHFBS5o2k7ALstXG" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/98bUaf1reY1nujaMRSmx" 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="/files/zDE9hXKdTWdULfsfRJri" 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="/files/V2aka9MlJ81Mjguwu2OJ" alt=""><figcaption><p><br></p></figcaption></figure>

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

<figure><img src="/files/fx9wv1hItTHCE9DFSIJY" 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="/files/nMxxFUnzppU83IxbfEfC" 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="/files/5P64js8EeM52y7zHL9qb" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/Z6qf5X9Cx1tFNL2dYGWg" 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="/files/rarwT5KC34hY91y7Ivas" 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="/files/aIFP4wDhMgDlTvPm94DU" 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="/files/eVMohbF2wCnJ8FUJfGSK" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/Rltz12fxstQSopujwlnU" 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="/files/wbCrQ4btuFSh2vBSuYxg" alt=""><figcaption></figcaption></figure>

Now, check the restore folder on your local system.

<figure><img src="/files/bWMODLjbS9f9RqiTkqRa" alt=""><figcaption></figcaption></figure>
