Skip to content

feat: add standalone upload command - #108

Merged
abdullahainun merged 1 commit into
mainfrom
feat/upload-command
May 26, 2026
Merged

feat: add standalone upload command#108
abdullahainun merged 1 commit into
mainfrom
feat/upload-command

Conversation

@abdullahainun

Copy link
Copy Markdown
Owner

Add tenangdb upload --source-path <path> subcommand to upload existing backup files/directories to cloud storage without requiring a backup run first. Uses the existing upload.Service.Upload() which already accepts arbitrary paths.

Flags:
  --source-path, -s  Path to backup file or directory (required)
  --config           Config file path (auto-discovery)
  --log-level        Log level (debug, info, warn, error)
  --dry-run          Preview without executing

Docs: added upload command section to COMMANDS.md

Add 'tenangdb upload --source-path <path>' subcommand to upload
existing backup files/directories to cloud storage without requiring
a backup run first. Uses the existing upload.Service.Upload() which
already accepts arbitrary paths.

Flags:
  --source-path, -s  Path to backup file or directory (required)
  --config           Config file path (auto-discovery)
  --log-level        Log level (debug, info, warn, error)
  --dry-run          Preview without executing

Docs: added upload command section to COMMANDS.md
@abdullahainun
abdullahainun merged commit 5274cf1 into main May 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant