1 unstable release

0.1.0 Sep 29, 2023

#8 in #host-name


Used in touls

MIT/Apache

13KB
287 lines

Touls

BorgFlux

BorgBackup + InfluxDB

Variables

You need to add a configuration file in order to connect to an InfluxDB instance and to backup a specific path:

touls borgflux -c config_file.toml
  • influx_url - URL to InfluxDB
  • influx_token - API token for InfluxDB
  • influx_org - Organization to use for InfluxDB
  • influx_bucket - InfluxDB bucket to send data to
  • hostname - custom host name (used for points within InfluxDB)
  • borg_repository - Borg repository for backup data
  • borg_source_path - local repository to create a backup of

Measurements

backup_data

  • Tags
    • host
    • backup_name
    • encryption
    • repo_location
  • Fields
    • duration
    • compressed_size
    • deduplicated_size
    • number_of_files
    • original_size

backup_start / backup_end

  • Tags
    • host
    • repository
    • source_path
  • Fields
    • dummy

backup_error

  • Tags
    • host
    • repository
    • source_path
  • Fields
    • error

Wakey

Send magic packets to start WOL enabled machines:

touls wake_on_lan aa:bb:cc:dd:ee:ff

Dependencies

~6–17MB
~249K SLoC