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 CE to 3.7.0
Download the Edge package
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.7.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
Note: The upgrade script must be run with Administrator privileges.
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.4
Start the service
1
net start tb-edge