Skip to content

๐Ÿ“Š Small dashboard service for backup ๐Ÿ’พ

License

Notifications You must be signed in to change notification settings

apertureless/bs3stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

bs3stat

CircleCI License Go Report Card

bs3stat

Is a small dashboard service in go and vue, to collect and visualize your backups made with backup

๐Ÿšง It is still in early alpha and not production readyโš 

Features

  • Cluster statistics by model name
  • Bar height based on backup duration
  • Bar color based on backup status
  • TODO: S3 integration with buckets and bucket cost
  • TODO: Auth for api endpoints
  • TODO: Simple login for dashboard
  • TODO: Crud operations in frontend
  • TODO: Tooltips with more info
  • TODO: Docker container

bs3stat

Commands

Run server:

go run main.go

Run server with custom port:

go run main.go --port=3000

Run with migrations:

go run main.go --migrate

Run with db seeds:

go run main.go --seed

Migration

Create migration

migrate --url sqlite3:https://storage.db --path ./db/migrations create add_example_field

Migrate

migrate --url sqlite3:https://storage.db --path ./db/migrations up # or down

Backup Notifier Settings

Accepted post parameters are

{
	"name":"model_name",
	"title": "Model Name",
	"status": "Backup::Success",
	"duration": "00:00:24"

}