uniborg

package module
v0.0.0-...-82c8b98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

README

OVERVIEW

Go Reference Go Report Card

paepcke.de/uniborg

UNIBORG

  • secure backup & orchestration for ui.com controller appliances

EXAMPLE

UNI_TARGETS="uni001.lan,unni002.lan,uni003.lan" UNI_APIKEY="..." UNI_APISECRET="..." go run paepcke.de/uniborg/cmd/uniborg@latest

SUPPORTED OPTIONS

# REQUIRED: 
- UNI_TARGETS   - list of Unifi Controller Target Server to Backup (comma separated)
- UNI_APIKEY    - Unifi Controller Backup User APIKEY
- UNI_APISECRET - Unifi Controller User APISECRET

# OPTIONAL:
- UNI_TLSKEYPIN - Unifi TLS MitM proof Certificate Keypin [string]
- UNI_DAEMON    - run app in daemon mode, never quit, fetch once every hour [bool: defaults to 'false']
- UNI_NOGIT     - do not create & update local git version repo [bool: defaults to 'false']
- UNI_NOSSL     - do not verify SSL Certificates [bool: defaults to *'true'*, SSL SystemCertStore is pointless, use UNI_TLSKEYPIN!]

OPTIONS FAQ

- Enviroment Variables bools must set exactly case senitive to 'true' to enable, anything else will default to false.
- Clear text HTTP protocol is not supported, switch on HTTPS for your admin interface (self-signed certificates will do)
- ATT: HTTPS chain verification via system os trust store(s) clusterfuck is disabled by default (UNI_NOSSL='true'), use UNI_TLSKEYPIN !

HOW TO INSTALL

go install paepcke.de/uniborg/cmd/uniborg@latest
DOWNLOAD (prebuild)

github.com/paepckehh/uniborg/releases

STATUS

  • -=# WORK IN PROGRESS - DO NOT USE THIS REPO - MAY IMPLODE ANYTIME #=-
  • -=# WORK IN PROGRESS - DO NOT USE THIS REPO - MAY IMPLODE ANYTIME #=-
  • -=# WORK IN PROGRESS - DO NOT USE THIS REPO - MAY IMPLODE ANYTIME #=-

TIMELINE

  • 2024
    • September -> Internal Use Only (codesamples)
    • October -> Offical Testphase
    • November -> Offical Pilot Phase
    • December -> Release Candidate
  • 2025
    • January - > First Public Release & Native NixOS support

CONTRIBUTION

Yes, Please! PRs Welcome!

SPONSORS

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL