feat: Add the vantagectl backup and inspect subcommands

Progress output goes to stderr so --out - stays a clean pipe into restic,
age or aws s3 cp. Archive names carry no colon, because these get copied
onto Windows shares.
This commit is contained in:
2026-09-07 13:57:04 +00:00
parent d9f7fa6993
commit 461a79277d
5 changed files with 255 additions and 13 deletions
+4 -3
View File
@@ -5,6 +5,7 @@ go 1.26
replace gitea.hostxtra.co.uk/mrhid6/vantage/shared => ../shared
require (
gitea.hostxtra.co.uk/mrhid6/vantage/shared v0.0.0-00010101000000-000000000000
github.com/spf13/cobra v1.10.2
go.mongodb.org/mongo-driver/v2 v2.8.0
)
@@ -17,7 +18,7 @@ require (
github.com/xdg-go/scram v1.2.0 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
golang.org/x/crypto v0.33.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/crypto v0.54.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.40.0 // indirect
)