Export data on command line

Are there any plans to introduce a CLI for Everdo? It would be nice to be able to set up cronjobs to regularly backup Everdo :slight_smile:

Otherwise are there any other methods we can take to accomplish this, rather than having to manually export each time?

For querying and exporting data, there is sqlite3. For example, to export all items and store as csv:

sqlite3 -header ~/.config/everdo/db "select * from item;" > items.csv

For backups it’s much better to copy the whole database file. For example I have a cron job that copies the database every 4 hours and stores to a different folder (I’m testing very unstable versions of the app sometimes).

1 Like