borgflux

Crates.ioborgflux
lib.rsborgflux
version0.1.0
sourcesrc
created_at2023-09-29 21:24:32.38449
updated_at2023-09-29 21:24:32.38449
descriptionBorgBackup and InfluxDB combined
homepagehttps://github.com/MapManagement/touls
repositoryhttps://github.com/MapManagement/touls
max_upload_size
id987936
size12,518
Jan (MapManagement)

documentation

README

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
Commit count: 33

cargo fmt