dmbackup - creates an online backup of a running database
dmbackup --help
dmbackup --version
dmbackup --database file --backup file [--vacuum] [--wal] [--verbose]
The dmbackup utility creates an online backup of a running SQLite database. By default, the SQLite backup API is used. The program is functional equivalent to running the sqlite3(1) command-line interface:
$ sqlite3 <database> ".backup '<backup>'"
dmbackup does not replace existing backup databases.
- --backup, -b file
-
Path of the backup database.
- --database, -d file
-
Path of the SQLite database to backup.
- --help, -h
-
Output available command-line arguments and quit.
- --vacuum, -U
-
Use
VACUUM INTO
instead of the SQLite backup API. - --verbose, -V
-
Print progress to standard output (not in vacuum mode).
- --version, -v
-
Output version information and quit.
- --wal, -W
-
Enable WAL mode for backup database.
Create an online backup of an observation database:
$ dmbackup --database observ.sqlite --backup /tmp/observ.sqlite
Project web site: https://www.dabamos.de/