Skip to content

Latest commit

 

History

History
85 lines (55 loc) · 1.53 KB

dmbackup.adoc

File metadata and controls

85 lines (55 loc) · 1.53 KB

dmbackup(1) Manual Page

NAME

dmbackup - creates an online backup of a running database

SYNOPSIS

dmbackup --help

dmbackup --version

dmbackup --database file --backup file [--vacuum] [--wal] [--verbose]

DESCRIPTION

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.

OPTIONS

--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.

EXIT STATUS

0

Success. Backup has been created.

1

Failure. Backup creation failed.

EXAMPLE

Create an online backup of an observation database:

$ dmbackup --database observ.sqlite --backup /tmp/observ.sqlite

SEE ALSO

dminit(1)

RESOURCES

Project web site: https://www.dabamos.de/

COPYING

Copyright © 2024 Philipp Engel.
Free use of this software is granted under the terms of the ISC Licence.