FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
613 views 1 comments
by anonymous
Hi,

Which folders have logfiles and data stats?

How can logfiles and data stats be exported/downloaded using CLI via SSH?

1 Answer

0 votes
by anonymous

Hi,

Unfortunately, there is no possible way to download logs through CLI as it will have to save a bunch of data into the router's free space, what could be not enough.

Most of the logs or databases are in .db file extensions and would need to be imported through some kind of other database apps, but I believe logread command output should be enough for you if you're looking for debugging information. To export it into file use logread > /usr/file.txt or something similar to your needs.

So if you wish to download all the configs and logs, the best way to do it - is through WebUI.

EB.

Best answer
by anonymous
Thank you Ernestas