Initdb¶
Usage¶
hs initdb [-h] [--truncate | --vacuum | --rotate | --backup PATH] [--yes]
Description¶
Initialize database.
For SQLite this happens automatically.
See also --initdb for the hs cluster command.
The available special actions are mutually exclusive.
The --rotate operation migrates completed tasks to the next database partition,
and applies a special purpose part:N tag to the new partition and remaining tasks.
Actions¶
-v,--vacuumVacuum an existing database.
-b,--backupPATHVacuum into backup file (SQLite only).
-r,--rotateRotate completed tasks to new database (SQLite only).
-t,--truncateTruncate database (task metadata will be lost).
Options¶
-y,--yesAuto-confirm action (default will prompt).