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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: backup_reporter-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 0a043359b0641ee4ffccd16a7e9220783ec195b8e8cf43f6192970b0870c2538
MD5 39d09b8e3d598eebfc91beab40e5c54d
BLAKE2b-256 e2565bedf77cff77d9fe5543f421a7e771f9eedad028aa53fd2719028ce6bdaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backup_reporter-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2686371e2d7b3017738fb1e442f8128192a48b48fcbd4d37084f583b6836067f
MD5 1cf6b25ea0292951fe67bfa05614dd50
BLAKE2b-256 6ab9ef101f850f8df74086e38c8d95d45ada93483633a9ffe3cfe1d351231ec0

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