Skip to main content

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.

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.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: restic-exporter-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 66783e8fb901e8e3f2406737d24aad4af5beb1a4e6022f6a2220038fa11f5bd4
MD5 1ddcb365b336ef0b0b883424712baa54
BLAKE2b-256 486890143f3e3b428daa6be60e71d70dde2be45185af5c5c511ee81adf455aa5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: restic_exporter-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb1ed8f70daeb0f503505c24a3a0ae60d65fa21a62e05da231f93ab8ffcb0a36
MD5 65c50f1064e8712634f881835b30096f
BLAKE2b-256 df28153498830041151274891941e79799b9fe23abadf6d603e576273fb6bec3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page