> On Jul 4, 2018, at 5:23 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> 
> wrote:
> 
> Does anyone know if there is an issue with writing or deleting entries 
> directly in the astdb.sqlite3 database rather than via Asterisk?
> It would only be used for backup/restore/factory reset purposes.

I would not do that if Asterisk is running.

If you need to change astdb.sqlite3 entries, do it via Asterisk.

As part of my tarsnap daily backups, my /mnt/kd/tarsnap-backup.script contains 
...
--
sqlite3 /mnt/kd/astdb.sqlite3 .dump > "$CUSTOM_BACKUP_DIR/astdb.sqlite3.dump"
--
Ref: 
https://doc.astlinux-project.org/userdoc:tt_tarsnap_online_backup#optional_action_script

Then any restore would need to be done when Asterisk is not running.

Lonnie



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to