SQL logic error
Опубликовал: Demonicia
в asterisk
19/07/2024
126 Просмотров
sqlite3 /var/lib/asterisk/astdb.sqlite3
- (Check for integrity using )---->
pragma integrity_check;
- (Help can be of help too) ---->
.help
- (You can check tables to see what is inside) ---->
.tables
.mode insert
.output mydb_export.sql
.dump
.exit
mv /var/lib/asterisk/astdb.sqlite3 /var/lib/asterisk/astdb.sqlite3.orig
sqlite3 /var/lib/asterisk/mydb.db < mydb_export.sql
(mydb_export.sql will most likely be in your pwd)
sqlite3 /var/lib/asterisk/astdb.sqlite3
analyze;
.exit
Share this post for your friends:
Friend me:
2024-07-19