Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.23 KB

File metadata and controls

72 lines (48 loc) · 1.23 KB

Command Reference

backinghum backup:create

Create a new backup through an interactive wizard.

Options:

  • -c, --compress : compress output
  • -v, --verbose : print detailed process logs

Examples:

backinghum backup:create
backinghum backup:create --compress
backinghum backup:create --compress --verbose

Interactive flow summary:

  • Select DB: mongodb | mysql | postgres
  • MySQL:
    • Local
    • Remote → Connection URI or Manual details
  • PostgreSQL:
    • Local
    • Remote → Connection URI or Manual details
    • Docker

Notes:

  • In URI mode, only URI + output are requested.
  • For URI mode backups, database name is inferred from URI path when missing and saved to the registry.

backinghum backup:list

List all backup entries from the registry.

backinghum backup:list

backinghum backup:restore <id>

Restore a backup by ID.

You will be prompted to choose restore mode:

  • Merge (keep existing data)
  • Replace (drop existing data)
backinghum backup:restore 1776174984348

backinghum backup:delete <id>

Delete backup files and remove the registry entry.

backinghum backup:delete 1776174984348

backinghum --help

Show all commands and options.