[GH-ISSUE #57] [Feature] Persist database #42

Closed
opened 2026-03-04 12:24:10 +03:00 by kerem · 2 comments
Owner

Originally created by @TimerWolf on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/brvphoenix/luci-app-wrtbwmon/issues/57

Is there no way to persist the database so that not is lost every time when the router restarts ?

Originally created by @TimerWolf on GitHub (Feb 9, 2023). Original GitHub issue: https://github.com/brvphoenix/luci-app-wrtbwmon/issues/57 Is there no way to persist the database so that not is lost every time when the router restarts ?
kerem 2026-03-04 12:24:10 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@bcseputetto commented on GitHub (Feb 18, 2023):

The default database file save path is under /tmp, which is a memory mount, and it will be lost every time you restart. Change the save path to the hard disk. (Software translation)

<!-- gh-comment-id:1435518117 --> @bcseputetto commented on GitHub (Feb 18, 2023): The default database file save path is under /tmp, which is a memory mount, and it will be lost every time you restart. Change the save path to the hard disk. (Software translation)
Author
Owner

@TimerWolf commented on GitHub (Feb 18, 2023):

Aha, you mean to "etc/usage.db"...

Thanks for that!

<!-- gh-comment-id:1435524746 --> @TimerWolf commented on GitHub (Feb 18, 2023): Aha, you mean to "etc/usage.db"... Thanks for that!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-wrtbwmon-brvphoenix#42
No description provided.