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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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