db
Backend database management tools
Usage: sos tools db <COMMAND>
Commands:
upgrade Upgrade from filesystem to SQLite database backend
upgrade-archive Upgrade a version 1 or 2 backup archive to version 3
migrate Migrate a database file, create the file when necessary
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
upgrade
Upgrade from filesystem to SQLite database backend
Usage: sos tools db upgrade [OPTIONS] <DIRECTORY>
Arguments:
<DIRECTORY> Root directory for the file system accounts
Options:
-a, --apply-changes Apply changes, otherwise is a dry run
-k, --keep-stale-files Keep stale files on disc
-s, --server Server accounts storage
-b, --backup-directory <BACKUP_DIRECTORY> Directory for account backups
-h, --help Print help
upgrade-archive
Upgrade a version 1 or 2 backup archive to version 3
Usage: sos tools db upgrade-archive <INPUT> <OUTPUT>
Arguments:
<INPUT> Input backup archive ZIP file
<OUTPUT> Output backup archive ZIP file
Options:
-h, --help Print help
migrate
Migrate a database file, create the file when necessary.
If no specific file is given runs migrations on the database for the current documents directory.
Usage: sos tools db migrate [DATABASE]
Arguments:
[DATABASE]
Database file
Options:
-h, --help
Print help (see a summary with '-h')