dargslan-backup-monitor
Linux Backup Monitor — Monitor backup status, check freshness, verify checksums, and track backup disk usage. Zero external dependencies.
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
Metadata
Release files for dargslan-backup-monitor 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dargslan_backup_monitor-1.0.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_backup_monitor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / dargslan_backup_monitor-1.0.0.tar.gz
| Download URL | dargslan_backup_monitor-1.0.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8c5be50597c9fb6bda7df3d9eca893154e5c3eef91b63dbccc6626e15fa51a1
|
|
BLAKE2b-256 checksum How to use checksums |
b4eb8f62b1e995665e4fe01483be8bc61bb313b9c940bc94001f51ec307efec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_backup_monitor-1.0.0-py3-none-any.whl
| Download URL | dargslan_backup_monitor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
580ba92aab1c6dd01d3d0d61283d6d96fc2f11e1a7631c475c15468be4a5da66
|
|
BLAKE2b-256 checksum How to use checksums |
2f4de52da0974e05c47329951d28bb5ebce1e96534d203f46f6891288ea1dc07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|