The "backup" command:

Usage: fossil backup ?OPTIONS? FILE|DIRECTORY

Make a backup of the repository into the named file or into the named directory. This backup is guaranteed to be consistent even if there are concurrent changes taking place on the repository. In other words, it is safe to run "fossil backup" on a repository that is in active use.

Only the main repository database is backed up by this command. The open check-out file (if any) is not saved. Nor is the global configuration database.


OK to overwrite an existing file
Filename of the repository to backup