Backup before upgrading
Stop the Edge service:
1
net stop tb-edge
To back up the database, follow these steps:
- Launch pgAdmin and log in as the postgres superuser.
- In the left sidebar, expand your server and locate the tb_edge database.
- Right-click tb_edge and select Backup.
- In the Backup Dialog, specify a filename and location for your backup.
- Click Backup to create the backup file.
Upgrading Edge PE to 4.3.0 (4.3.0.1)
Download the Edge package
Download ThingsBoard Edge package for Windows: tb-edge-windows-4.3.0.1pe.zip.
Stop the Edge service:
1
net stop tb-edge
Make a backup of your ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example, C:\tb-edge\conf).
Extract and update configuration:
- Extract the ThingsBoard Edge package.
- Compare your old configuration files (from the backup) with the new ones.
- Merge any custom settings into the new configuration files.
Run the upgrade script
Upgrade the ThingsBoard Edge service:
1
C:\tb-edge>upgrade.bat
Note: The upgrade script must be run with Administrator privileges.
Start the Edge service
1
net start tb-edge