# Transfer your Subplebbit to a Server / Windows

**- Open windows PowerShell.** \
PowerShell is *a cross-platform task automation solution made up of a command-line shell, a scripting* language, and a configuration management. We will be using this to trasnsfer files from your Windows computer to your server.

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

**- Run your SSH command to enter your server**\
In order to transfer your subplebbit to your server, you will use the "**ssh**" command to enter the server from your PC through PowerShell, then install and start plebbit cli. The IP address 11.111.111.11 is just an example, you will need to use your own specifically.\
\
**SSH** stands for Secure Shell. It is a cryptographic network protocol used for operating network services securely over an unsecured network.

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

**- Next we will install the Plebbit-CLI:**\
You need to install [vc-redist](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170) first. After you install `vc-redist`, download the installer of [plebbit](https://github.com/plebbit/plebbit-cli/releases/latest/download/plebbit_installer_win32_x64.exe) and next your way to the end.\
\
vc-redist:\
\- <https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170>\
\
Plebbit Client:\
\- <https://github.com/plebbit/plebbit-cli/releases/latest/download/plebbit_installer_win32_x64.exe>\
\
\&#xNAN;**-** **Install both of these.**

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

**- Next you will need to run the Plebbit CLI:** \
In the instance of PowerShell that you have open that has been connected to your server with the "**ssh**" command, run the command "**Plebbit Daemon**"\
\
After you run the "**Plebbit Daemon**" command it will display several rows of information related to your subplebbits. Save the location of your subplebbit data path somewhere, you'll need it to transfer your subplebbit folder to to your servers.\
\
**Example:&#x20;*****"C:\Users\New Owner P C\AppData\Local\plebbit\Data"***

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

If this directory cannot be found manually browsing your file system, copy and paste the directory into your navigation bar

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

**- Now we will install the Plebbit-CLI onto your server remotely.**\
Go back to the the PowerShell window that you used the "**ssh**" command to access your server with. \
\
Run the command "**Plebbit Daemon**" in your powershell window.\
\&#xNAN;***Plebbit Daemon***\
\
If this gives you an error and does not work, run this command\
\&#xNAN;***echo 'export PATH="$PATH":\~/.local/bin' >> \~/.bashrc && source \~/.bashrc***\
\
If running the Plebbit Daemon command didn't work before and you have run the "**echo**" command, run  "**Plebbit Daemon**" again now.\
\
**- Next you will be using the "spc" command in a new powershell window to transfer your documents to the server.**\
\
scp - r Your\PC\Plebbit\Directory Yourservername\@11.111.111.11:/root/.local/share/plebbit\
\
**Your\PC\Plebbit\Directory:** Where your plebbit files are stored in your PC.\
**Yourservername:** The name of the server you are transferring the files to.\
**11.111.111.11:** Your servers IP address.\
\
**Example:** scp -r C:\Users\New Owner P C\AppData\Local\plebbit\Data root\@11.11.111.111:/root/.local/share/plebbit\
\
Thats it!

<br>


---

# Agent Instructions: 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:

```
GET https://plebbit-guides.gitbook.io/guides/windows-guides/transfer-your-subplebbit-to-a-server-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
