AWS RDS Migration1 Thingsboard 특정 device 나 Entity DB Migration 방법 Thingsboard Device 단위 Backup Restore 전 사전 준비 사항 1. Device ID 확인 백업하고자 하는 단말 정보의 Copy device ID 통해 준비 2. SQL문 실행을 위한 Console을 접속 및 DB 접속 해서 Thingsboard 테이블 접속 sudo -u postgres psql postgres=# \c thingsboard; 1. Backup 할 Table 생성하여 Copy 테이블 생성 (Create a table with only the data you need to export:) create table export_telemetry as select * from ts_kv where entity_id = '[your_device_id]' and ts>[yo.. 2022. 7. 10. 이전 1 다음