# To Migrate Metatron/Zytatron

\*Note - New server must have all pre-requisites installed and directory to be created in a way as suggested in doc. Also go env must be configured.

#### 1. Login and switch to the directory

```shell
cd /usr/local/go/src/github.com/
```

{% hint style="info" %}
\*Here, You will get to see the directory on the name of pandotoken.

{% endhint %}

#### 2. Create .zip or .tar file of pandotoken

\*Note - Always take backup of key which you got at the time of running of metatron or zytatron node which is at below directory,\
/usr/local/go/src/github.com/pandoprojects/pandonet/node/key/encrypted/

#### 3. Download the zip file from previous server and upload or move it to new server.

#### 4. Unzip the folder but make sure directory architecture will be same as previous one or suggested according to the document  provided.

* `i.e, cd /usr/local/go/src/github.com/`
* Move zip or tar file to this directory and unzip here.

#### 5. Compilation of the code

```
cd /usr/local/go/src/github.com/pandoprojects/pando
```

```
make install
```

#### 6. Run the code

* Run blockchain node in background process whether it is in tmux, nohup, sceen, pm2 or other.

```
cd /usr/local/go/src/github.com/pandoprojects/pando
```

* `Run,`&#x20;

```
/usr/local/go/bin/pando start --config=../pandonet/node
```

* Enter the password and start the node.
