thingsboard.io/docs/user-guide/install/pe/upgrade-instructions/#upgrading-to-311pe
www.liquidweb.com/kb/how-to-remove-postgresql/
Thingsboard 데이터베이스를 백업합니다.
sudo -Hiu postgres pg_dump thingsboard > thingsboard.sql.bak
백업된 데이터를 복원합니다.
sudo service thingsboard stop
sudo -Hiu postgres dropdb thingsboard
psql -U postgres -d postgres -h 127.0.0.1 -W
CREATE DATABASE thingsboard;
\q
sudo -Hiu postgres psql thingsboard < thingsboard.sql.bak &
// Restore backup fiiles
Please proceed with following command: psql -U postgres -h localhost -d thingsboard < thingsboard.sql.bak
www.vultr.com/docs/how-to-backup-and-restore-postgresql-databases-on-ubuntu-16-04
sudo service thingsboard start
github.com/thingsboard/thingsboard/issues/2221
'스마트팜 > thingsboard' 카테고리의 다른 글
Thingsboard remove old DATA (0) | 2021.01.08 |
---|---|
Farm1st 초기버전 (0) | 2021.01.05 |
Thingsboard Server + Client Setup (0) | 2020.12.25 |
FARM1ST 아마존 서버 200 -> 400 GiB 추가 증설 (0) | 2020.09.14 |
아마존 EC2 서버 아이피 변경됨 ㅠㅠ (0) | 2020.06.18 |