Configuration
Databases
SQLite

SQLite

GoBackup uses sqlite utility to export SQLite database into a .sql file.

Install tool

So you need to install sqlite3 first.

$ sudo apt install sqlite3

Config keys

type: sqlite

  • path - The path of the SQLite 3 database file, for example: /data/db.sqlite3.

https://github.com/gobackup/gobackup/blob/main/database/sqlite.go (opens in a new tab)

Configuration Example

models:
  my_app:
    databases:
      my_app:
        type: sqlite
        path: /var/data/my_app.sqlite3