Skip to main content

Statistic exporter for restic backups

Project description

Restic Exporter

A small Python binary to export stats from a restic backup repository, for example for use in monitoring systems.

Installation

$ pip3 install restic-exporter

Features

  • Decoupled from restic itself, can be run on any host as long as it can talk to the repository.
  • Can provide both repo-based statistics, and backup progress statistics from restic clients.

Statistics Exported

Almost all data made available from the restic tool itself can be exported.

  • Backup progress (restic_backup_progress)
    • hostname
    • paths
    • tags
    • bytes_done
    • total_bytes
    • files_done
    • total_files
    • percent_done
    • seconds_tag
  • Backup summary (restic_backup_summary)
    • hostname
    • paths
    • tags
    • snapshot_id
    • files_new
    • files_unmodified
    • files_changed
    • dirs_new
    • dirs_unmodified
    • dirs_changed
    • data_added
    • total_bytes_processed
    • total_files_processed
    • total_duration
  • Snapshots (restic_snapshots)
    • hostname
    • paths
    • tags
    • raw_blob_count
    • raw_file_count
    • raw_size
    • restore_file_count
    • restore_size

Supported Exporters

This tool can export statistics to:

Usage

To be completed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

restic-exporter-0.0.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

restic_exporter-0.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file restic-exporter-0.0.2.tar.gz.

File metadata

  • Download URL: restic-exporter-0.0.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for restic-exporter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7b5d317a41b629d7aafe8c8eeb5a14ba8db04da12fe2d55f792e8b9b35f16e35
MD5 7cc074c5de671d08d59faf2c3eabbd76
BLAKE2b-256 23d0aed2b07ce64bbe89f434adbdc55ac7c706a769e72f7f60c189d7e9538d22

See more details on using hashes here.

File details

Details for the file restic_exporter-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: restic_exporter-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for restic_exporter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e50cedc563f020548e7592511344225caf986ca6c86d673c2d15d88d4f17973
MD5 c032b8434e19806ef0d72b1202344b94
BLAKE2b-256 73639e958b7b7448e14d8826ed5759423cef7aa2241efa110587199e47e4b335

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page