Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: Different session count: API vs DB records

$
0
0

The network server manages the database in /var/run/lora/ directory in RAM. It is backed up periodically to flash in /var/config/lora/ directory.

To force a backup to flash
$ lora-query -x database backup

Now the /var/config/lora/lora-network-server.db file will be in sync.
Move the file to another conduit.

$ /etc/init.d/lora-network-server stop
$ cp lora-network-server.db /var/config/lora/lora-network-server.db
$ /etc/init.d/lora-network-server start

List all session
$ lora-query -x sessions list json

See available options
$ lora-query -x help


Viewing all articles
Browse latest Browse all 7111

Trending Articles