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

# How to transfer data from a Windows server to a NeevCloud bucket using Rclone

Prerequisites:

Select any Windows 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F2fnRh1YNaDLgNj47iMuy%2Fimage.png?alt=media&amp;token=a0e6281a-28be-44e6-8585-7bee10d9d9dc" alt=""><figcaption></figcaption></figure>

For NeevCloud Configuration:

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/)**.**

**After successfully launching the instance, follow these steps:**

After successfully downloading rclone, extract the file.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FIEhIwOyZqXmn6pKJ0oH2%2Fimage.png?alt=media&amp;token=1acce662-4a96-4f78-badb-effd57b579a5" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FChm8X3I1VrQ7kXmuMRtn%2Fimage.png?alt=media&amp;token=2da21b09-ebe4-4528-a7bb-b8eb6de639cb" alt=""><figcaption></figcaption></figure>

Now, move the downloaded content to the rclone directory.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FJQhrTQMYyMuDj2ajLi2e%2Fimage.png?alt=media&amp;token=598a4c89-ef8e-408b-b9b8-72fd68497c2f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FMJ8CurXF6OeVRu6O3niv%2Fimage.png?alt=media&amp;token=041c9a2a-6a2c-44e2-8c84-d01eab1eb565" 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.

```
rclone version 
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FGXDMzH2IzVKCionRdlph%2Fimage.png?alt=media&amp;token=cd892230-b78d-4f6e-b9fe-dfa381fc0d4d" alt=""><figcaption></figcaption></figure>

Now, configure the rclone for Neevcloud

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

When you run the command above, follow these steps:

Choose 'n' to create a new remote

Name: neevcloud (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%2FRulARzMiELOF74fC9rIH%2Fimage.png?alt=media&amp;token=21f9c78a-b0e3-4e46-a552-8745a68cd58e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FwLQOVanzxLJuaUDK5mp6%2Fimage.png?alt=media&amp;token=6f2c7ade-73c0-4686-b77a-635b2a10b0e7" 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FplYZKHy7xUq6RVL5bTQF%2Fimage.png?alt=media&amp;token=2b7943c7-6a83-4db4-9830-87491cdf5461" 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fmt9G8JAbkY2EW0MqiOYb%2Fimage.png?alt=media&amp;token=ce2a787d-bd22-4020-ba94-878653cb1cda" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FQDKcQzr1AclQwx0iUNCR%2Fimage.png?alt=media&amp;token=2396af87-a829-47b3-9012-cbf50151b417" 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FZyUYflS9itzHFYnVzJIq%2Fimage.png?alt=media&amp;token=c7f28163-6444-4fdb-9a49-27b6cd675894" 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%2FrZSq10MsmWEYLr1lcKiC%2Fimage.png?alt=media&amp;token=6b62c60c-d7d6-44e1-9f53-09f8ea7f4af7" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FVMMOhJ7Yi12dnPMjpJAR%2Fimage.png?alt=media&amp;token=2b2cafd1-c8dc-48c2-98fd-f88d225b5005" 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FT90x78ZXf6jlZGuGDoPc%2Fimage.png?alt=media&amp;token=08cda0db-6afe-4e92-9700-f00d4553c4a9" 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://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FmRjOPqDAk1GIfOVQIXdq%2Fimage.png?alt=media&amp;token=7ad95dc7-83bc-4b18-bdb2-4cfafd3a90bf" alt=""><figcaption></figcaption></figure>

Now, complete the configuration to run these commands.

**To copy and move your data**

You can run it accordingly.

```
 rclone copy   /path/to/local/directory neevcloud:(bucket-name) --progress
```

```
 rclone move  /path/to/local/directory neevcloud:(bucket-name) --progress
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F7IXJ0mKpviB5FxgYFh2C%2Fimage.png?alt=media&amp;token=b8bfa37b-47ae-4536-8d62-40c0a86eeb94" alt=""><figcaption></figcaption></figure>

Now, navigate to the Neevcloud bucket section and check the bucket.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FKsbC5tHLSfkbQcr1N0bA%2Fimage.png?alt=media&amp;token=e774426d-d8b0-45d7-9c18-208884c433c0" alt=""><figcaption></figcaption></figure>

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

Now create another to restore your files.

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

```
 rclone copy neevcloud:(bucket-name) /path/to/local/directory --progress
```

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fl8vNRsYkDNlU8IJOF9Hk%2Fimage.png?alt=media&amp;token=25c4a033-f4dd-418c-8371-e591ffe3f5d8" alt=""><figcaption></figcaption></figure>

Now, check the restore folder on your local system.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F6weA4mNDmgDxW4DsaeH6%2Fimage.png?alt=media&amp;token=e0003a2b-cba0-4e6d-9c79-c3fe158c47c1" alt=""><figcaption></figcaption></figure>
