# Does the Migration Guide have errors?

**URL:** <https://forum.storj.io/t/does-the-migration-guide-have-errors/20115>\
**Category:** Node Operators\
**Tags:** windows-gui, linux, move-node\
**Created:** [November 1, 2022, 1:24am UTC](https://forum.storj.io/t/does-the-migration-guide-have-errors/20115 "2022-11-01T01:24:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RandallStevens](https://storj.bcdn.literatehosting.com/letter_avatar/randallstevens/32/6_449c533f586939b6e5f246632a46421f.png) [@RandallStevens](https://forum.storj.io/u/RandallStevens)\
**Post date:** [November 1, 2022, 1:24am UTC](https://forum.storj.io/t/does-the-migration-guide-have-errors/20115/1 "2022-11-01T01:24:24Z")

</div>

I just migrated my node from Windows 10 on one PC to Linux on a different PC.

I followed this guide but ran into a number of problems that @Alexey@peem were kind enough to help me fix; [Migrating from Windows GUI installation to Docker CLI - Storj Node Operator Docs](https://docs.storj.io/node/resources/faq/migrate-my-node/migrating-from-windows-gui-installation-to-a-docker-cli/)

I believe I followed the guide “to a T” but could be mistaken. Or perhaps there are errors in the guide?

Is the step that I put a red dot next too correct? Because I had to move files around after the transfer otherwise the node was offline. I’m wondering if the pathway is wrong?

 ![Screenshot from 2022-10-31 21-16-37](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6ceedc51c90efe32cbfe50d2da58db18a14eea20.png)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [November 1, 2022, 8:56am UTC](https://forum.storj.io/t/does-the-migration-guide-have-errors/20115/2 "2022-11-01T08:56:41Z")

</div>

There is a difference, where Windows GUI node and docker node stores its data.  
Windows GUI storagenode will store data in a specified path, so the file tree would look like

```auto
X:\storagenode
├── blob
├── blobs
├── garbage
├── temp
├── trash
├── bandwidth.db
├── heldamount.db
├── info.db
├── notifications.db
├── orders.db
├── piece_expiration.db
├── piece_spaced_used.db
├── pieceinfo.db
├── pricing.db
├── reputation.db
├── satellites.db
├── secret.db
├── storage-dir-verification
├── storage_usage.db
└── used_serial.db

```

The `orders` folder, `storagenode.log` file and `config.yaml` file are stored in the `"C:\Program Files\Storj\Storage Node"` path, the identity is stored in the `%APPDATA%\Storj\Identity\storagenode` by default.

But for the docker node the structure is different:

```auto
/mnt/x/storagenode2/
├── identity
│ ├── ca.1560971067.cert
│ ├── ca.cert
│ ├── ca.key
│ ├── identity.1560971067.cert
│ ├── identity.cert
│ └── identity.key
├── orders
│ ├── archive
│ └── unsent
├── storage
│ ├── blob
│ ├── blobs
│ ├── garbage
│ ├── temp
│ ├── trash
│ ├── bandwidth.db
│ ├── heldamount.db
│ ├── info.db
│ ├── notifications.db
│ ├── orders.db
│ ├── piece_expiration.db
│ ├── piece_spaced_used.db
│ ├── pieceinfo.db
│ ├── pricing.db
│ ├── reputation.db
│ ├── satellites.db
│ ├── secret.db
│ ├── storage-dir-verification
│ ├── storage_usage.db
│ └── used_serial.db
├── config.yaml
├── revocations.db
├── storagenode.log
└── trust-cache.json

```

So, to correctly migrate your Windows storagenode to Linux, you need to copy/move data to `storage` subfolder in the data location, and your `orders` subfolder to the data location.  
In your `docker run` command you will use a path without `storage` subfolder (it will be added automatically inside the container).

---

<div class="post-metadata">

**Author:** ![RandallStevens](https://storj.bcdn.literatehosting.com/letter_avatar/randallstevens/32/6_449c533f586939b6e5f246632a46421f.png) [@RandallStevens](https://forum.storj.io/u/RandallStevens)\
**Post date:** [November 5, 2022, 3:08am UTC](https://forum.storj.io/t/does-the-migration-guide-have-errors/20115/3 "2022-11-05T03:08:12Z")

</div>

@Alexey

Alright. So then someone @storj should add that step to the guide right?

I’m just trying to look out for the next person who confuses easily.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [November 5, 2022, 7:42am UTC](https://forum.storj.io/t/does-the-migration-guide-have-errors/20115/4 "2022-11-05T07:42:59Z")

</div>

It’s added, if you run the mentioned command:

```auto
rsync -aP "/mnt/c/Program Files/Storj/Storage Node/orders" user@192.168.1.68:/mnt/storj/storagenode/orders/

```

it will copy your `orders` folder to the storage location on Linux.  
The next command will copy data to the subfolder `storage` in your data location on the Linux system:

```auto
rsync -aP /mnt/d/STORJ/ user@192.168.1.68:/mnt/storj/storagenode/storage/

```

As you can see, that it will do exactly what I explained and what’s explained in the [mentioned guide](https://docs.storj.io/node/resources/faq/migrate-my-node/migrating-from-windows-gui-installation-to-a-docker-cli/):

> [@](#):
>
> 1. The difference between the Windows GUI and the Docker CLI is where each system stores the data. The Windows GUI version stores data in the path specified in the `storage.path` parameter of the configuration file `"%ProgramFiles%\Storj\Storage Node\config.yaml"`, while the Docker version stores data in the subfolder called `storage`, which is automatically (silently) added to the specified path through the `--mount` option.
