# 4. Backup After Plugin V2.4 Upgrade

* Full Backup (4.1)
* Organize Backup Files for Plugin Node V2.4 (4.2)
* Transferring the Backup Directory to Your Local PC (4.3)

<mark style="color:red;">**4.1 Full Backup**</mark>

Run the following commands to perform a FULL backup. As per the usage above this backups up both the conf files & the db.

`cd ~/pluginV2.4Install/ && ./_plinode_backup.sh -full`

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXexPFw46-rlxOEd2bemeyhgF8PPVf7-LghkIiSB2JV6qfQry2ySMu6a-BUERCkY1xdj6xyJ8ypAXxXomLJo3HYUPu75okxCCMSaB6NS341AGVcGjmqPHCQ_-2dE0jyfG9irni5tNg?key=mn_fIPfVH025DNDvRj6RUVtQ)

<mark style="color:red;">**4.2 Organize Backup Files for Plugin Node V2.4**</mark>

After a successful upgrade to Plugin Node 2.4, create a directory named originals/pluginV2.4 within the /plinode\_backups/ directory and copy the relevant files from that moment into it.

```
mkdir -p /plinode_backups/originals/pluginV2.4 && \
cd ~/pluginv3.0/ && cp -u ~/pluginv3.0/apicredentials.txt config.toml secrets.toml /plinode_backups/originals/pluginV2.4/ && \
cd ~ && cp -u ~/plinode_$(hostname -f).vars plinode_$(hostname -f)_keys*.json /plinode_backups/originals/pluginV2.4/ && \
tree -a /plinode_backups/
```

<mark style="color:red;">**4.3 Transferring the Backup Directory to Your Local PC**</mark>

To complete the upgrade, transfer the /plinode\_backups/ directory from your server to your local PC. This ensures that all important data is safely stored.

Using an SFTP Client (Turmius Example)

* Open Turmius and connect to your server via SFTP.
* Navigate to the /plinode\_backups/ directory on the server.
* Download the entire directory to your PC (e.g., C:\Users\YourName\plinode\_backups).
* If prompted, select "Merge" to avoid overwriting existing files.

The following screenshot shows how to download the backup directory using Turmius:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdFEbb6478Jbk7dzi0GlliyXdV1IvGqYlKPdNa9Hlib-ek71I32my5HuUkCxpDnPNtg38EKugH2Uaa_4E_ENiTtkUD8eC0GQ3iEcyIqm4UXtvtNDsLY_1BK7OS2lSk4Y09v_igmww?key=mn_fIPfVH025DNDvRj6RUVtQ)

\
And the node is successfully migrated into Plugin V2.4
