Hello everyone,
I’m in the process of upgrading my Asterisk system, and I’ve come across a concern regarding the internal Asterisk database (astdb.sqlite3
). I understand that this database stores dynamic runtime information like device states, user preferences, and other custom entries.
In my case, a significant issue arises if the astdb
is deleted because all custom DEVSTATE
entries are lost, and I have to re-enter them manually. This is especially problematic in environments like mine, where many custom device states are critical for daily operations.
Before I proceed with the upgrade, I want to clarify:
- Is it necessary to delete or reset the
astdb
when upgrading Asterisk? - If not, are there any recommended steps to preserve and migrate it safely?
- In scenarios where
astdb
becomes incompatible or corrupted post-upgrade, what’s the best approach to restore custom device states efficiently?
Any insights or best practices for managing astdb
during upgrades would be greatly appreciated.
Thanks in advance!