backupUsage: trilium-alchemy db backup [OPTIONS] PATHBackup database to file ╭─ Arguments ──────────────────────────────────────────────────────────────────╮│*pathPATHDestination database file or folder; if folder, ││filename will be generated using current datetime ││[default: None] ││[required] │╰──────────────────────────────────────────────────────────────────────────────╯╭─ Options ────────────────────────────────────────────────────────────────────╮│--nameTEXTName of backup in Trilum data ││dir to generate, e.g. 'now' ││will write 'backup-now.db' ││[default: now] ││--overwrite--no-overwriteWhether to overwrite ││destination file if it already││exists ││[default: no-overwrite] ││--hostTEXTTrilium host, e.g. ││http://localhost:8080 ││[env var: TRILIUM_HOST] ││[default: None] ││--tokenTEXTETAPI token ││[env var: TRILIUM_TOKEN] ││[default: None] ││--passwordTEXTTrilium password ││[env var: TRILIUM_PASSWORD] ││[default: None] ││--trilium_data_dirPATHDirectory containing Trilium ││database ││[env var: TRILIUM_DATA_DIR] ││[default: None] ││--helpShow this message and exit. │╰──────────────────────────────────────────────────────────────────────────────╯Trilium options can be passed in the following order of precedence: • CLI options • Environment variables • .env file
restoreUsage: trilium-alchemy db restore [OPTIONS] PATHRestore database from file ╭─ Arguments ──────────────────────────────────────────────────────────────────╮│*pathPATHSource database file ││[default: None] ││[required] │╰──────────────────────────────────────────────────────────────────────────────╯╭─ Options ────────────────────────────────────────────────────────────────────╮│--trilium_data_dirPATHDirectory containing Trilium database ││[env var: TRILIUM_DATA_DIR] ││[default: None] ││--helpShow this message and exit. │╰──────────────────────────────────────────────────────────────────────────────╯Trilium options can be passed in the following order of precedence: • CLI options • Environment variables • .env file