Skip to main content

Monitor backup status, check backup freshness, and verify backup integrity on Linux servers

Project description

dargslan-backup-monitor

Linux Backup Monitor — Monitor backup status, check freshness, verify checksums, and track backup disk usage. Zero external dependencies.

PyPI version

Installation

pip install dargslan-backup-monitor

CLI Usage

dargslan-backup report /backup        # Full backup report
dargslan-backup check /backup --max-age 48  # Check freshness
dargslan-backup list /var/backups     # List backup files
dargslan-backup checksum /backup/db.sql.gz  # Verify integrity
dargslan-backup json                  # JSON output

Python API

from dargslan_backup_monitor import BackupMonitor

bm = BackupMonitor(backup_dirs=["/backup", "/var/backups"])
bm.print_report()

backups = bm.find_backups("/backup")
freshness = bm.check_freshness(max_age_hours=24)
checksum = bm.verify_checksum("/backup/db.tar.gz")
usage = bm.disk_usage_trend()

Supported Formats

.tar, .tar.gz, .tgz, .tar.bz2, .tar.xz, .zip, .sql, .sql.gz, .dump, .bak, .backup

More Resources

License

MIT — Dargslan

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

dargslan_backup_monitor-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

dargslan_backup_monitor-1.0.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file dargslan_backup_monitor-1.0.0.tar.gz.

File metadata

  • Download URL: dargslan_backup_monitor-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dargslan_backup_monitor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b8c5be50597c9fb6bda7df3d9eca893154e5c3eef91b63dbccc6626e15fa51a1
MD5 bf60e6f9fe7e83607e299ab6ba28c130
BLAKE2b-256 b4eb8f62b1e995665e4fe01483be8bc61bb313b9c940bc94001f51ec307efec0

See more details on using hashes here.

File details

Details for the file dargslan_backup_monitor-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_backup_monitor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 580ba92aab1c6dd01d3d0d61283d6d96fc2f11e1a7631c475c15468be4a5da66
MD5 3e777a2f83af4d8a5c7674970799386a
BLAKE2b-256 2f4de52da0974e05c47329951d28bb5ebce1e96534d203f46f6891288ea1dc07

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 Pingdom Monitoring Sentry Error logging StatusPage Status page