> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/object-storage-han02/use-case/migrate-data/rclone-mount-vstorage-on-window-server.md).

# \[Rclone] Mount vStorage on Window server

To Mount vStorage to Local Drive on Windows using Rclone, follow these instructions:

## 1. Download and Install Rclone <a href="#id-1.-tai-va-cai-dat-rclone-theo-huong-dan-sau" id="id-1.-tai-va-cai-dat-rclone-theo-huong-dan-sau"></a>

* You download Rclone via the link: <https://rclone.org/downloads/> .

## 2. Create a certificate file rclone.conf <a href="#id-2.-tao-file-chung-thuc-rclone.conf-theo-mau-sau" id="id-2.-tao-file-chung-thuc-rclone.conf-theo-mau-sau"></a>

* After downloading and installing Rclone, create a file rclone.conf in the directory `C:\Users\username\.config\rclone`with the content

```bash
[vstorage]
type = s3
provider = Other
access_key_id = <<Lấy thông tin từ vStorage Portal>>
secret_access_key = <<Lấy thông tin từ vStorage Portal>>
endpoint = https://hcm04.vstorage.vngcloud.vn
```

## 3. Perform mount <a href="#id-3.-thuc-hien-mount" id="id-3.-thuc-hien-mount"></a>

* Next, you can use Rclone with CMD or PowerShell
  * To list the objects in a bucket, use the command:

    ```bash
    C:\Users\stackops\Downloads\rclone.exe ls vstorage:[bucket_name]
    ```
  * To upload an object to a bucket, use the command:

    ```bash
    C:\Users\stackops\Downloads\rclone.exe copy [local_path] vstorage:[bucket_name]
    ```
  * To mount a bucket on vStorage to local\_path, run the command:

    ```bash
    C:\Users\stackops\Downloads\rclone.exe mount vstorage:[bucket_name] [local_path] --vfs-cache-mode off --allow-non-empty --allow-other --drive-chunk-size 128M  --max-read-ahead 200M --dir-cache-time 30m
    ```

**Note:**

* If you encounter an error about missing winfsp package as shown below, you can download additional packages at this link <https://github.com/billziss-gh/winfsp/releases/tag/v1.4.19049>

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

* You do not need to create the local\_path on the local machine when mounting.
* Rclone does not support background mode so you must not close cmd during use.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/object-storage-han02/use-case/migrate-data/rclone-mount-vstorage-on-window-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
