Skip to main content

Collect and show info about various backups

Project description

Backup Reporter

This repository contains source code for backup reporter tool. That tool can collect backup information, upload it to S3 buckets, than collect bunch of backup information files, get them together into one csv file and upload it to google spreadsheet.

Backup reporter has two working modes: reporter and collector.

Configuration

Reporter can be configured with two ways: script arguments or configuration file. Possible configuration options you can find by typing main.py -h. To use config file just pass --config your_config_file.yml as script argument. All options from cli-help are same for config-file. As example following command:

  • python3 main.py --bucket="{'s3_path': 's3://bucket_name/in_bucket_path/metadata_file_name.txt', 'aws_access_key_id': 'key', 'aws_secret_access_key': 'key', 'aws_region': 'region'}" --docker_postgres

can be written in file:

docker_postgres: true
bucket:
    - s3_path: s3://bucket_name/in_bucket_path/metadata_file_name.txt
      aws_access_key_id: key
      aws_secret_access_key: key
      aws_region: region

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

backup_reporter-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

backup_reporter-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file backup_reporter-0.1.0.tar.gz.

File metadata

  • Download URL: backup_reporter-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.3.0

File hashes

Hashes for backup_reporter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 efef238ce5152bebcd98a637d0fb39870d44feda68c049ee04c436270e597882
MD5 e6e1d62eb7e081f06ee4da51a45a9d01
BLAKE2b-256 acb001aa01c614c8d231a436d4c53a7b1de1bd25f26ebc4bbb018ac20b5e4931

See more details on using hashes here.

File details

Details for the file backup_reporter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: backup_reporter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.3.0

File hashes

Hashes for backup_reporter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14c49941024cd7eb938c5207ff2c205cc76f8d864f83009be25932cf3278e8c8
MD5 d99f5ddbf063a52a20af0fbbf2afc313
BLAKE2b-256 5b0b0a4d6ce284a77eef2616e3fcb2a3d9ff27143b6621edb692fae8a163d323

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