Skip to content

mrachcore/backup-guardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Backup Guardian

by mrachcore

Local backup validation & file integrity dashboard built with Python and Streamlit.

Professional sysadmin-style tooling for backup verification, integrity checks, duplicate detection and reporting.


๐Ÿ“Œ Overview

Backup Guardian is a lightweight local dashboard designed to help analyze backup folders, validate backup freshness, verify file integrity, detect duplicate files, and generate reports.

The project was created as part of my learning journey during my Ausbildung as a Fachinformatiker fรผr Systemintegration.

The application runs completely locally and does not require:

  • cloud services
  • paid APIs
  • databases
  • Docker
  • external infrastructure

All file analysis is performed directly on the local machine.


โœจ Features

๐Ÿ–ฅ Dashboard

  • Modern overview page
  • Quick backup validation overview
  • Clean sysadmin-style UI
  • Simple workflow explanation

๐Ÿ“‚ Folder Scanner

  • Recursive folder scanning
  • File statistics
  • Largest file overview
  • File extension analysis
  • Modified date tracking

๐Ÿ•’ Backup Age Checker

  • Detect outdated backups

  • Configurable backup age threshold

  • Status indicators:

    • OK
    • WARNING
    • CRITICAL
  • Backup freshness validation


๐Ÿ” Integrity Checker

  • SHA256 checksum generation
  • File integrity validation
  • Single file or folder hashing
  • CSV checksum export

๐Ÿงฌ Duplicate Finder

  • Duplicate file detection using SHA256 hashes
  • Duplicate grouping
  • Wasted storage estimation
  • CSV duplicate reports

๐Ÿ“‘ Reports

  • Generate local backup reports
  • Plain text export
  • Folder summaries
  • Backup health overview

๐Ÿ›  Tech Stack

Technology Purpose
Python Core language
Streamlit Dashboard UI
pathlib / os File handling
hashlib SHA256 hashing
pandas Tables & reports
datetime Backup age calculations

๐ŸŽจ UI Design

The interface is inspired by:

  • modern internal IT dashboards
  • backup operation panels
  • sysadmin workflows
  • cybersecurity-inspired tooling

Design Highlights

  • Dark mode only
  • Professional dashboard layout
  • Clean sidebar navigation
  • Modern metric cards
  • Soft borders and spacing
  • Status badges
  • Terminal-inspired report sections
  • Responsive layout

๐Ÿš€ Installation & Setup

Requirements

  • Python 3.10 or newer recommended
  • Local laptop or desktop
  • Internet access only for installing Python packages

Clone Repository

git clone https://github.com/mrachcore/backup-guardian.git

Open Project Folder

cd backup-guardian

Create Virtual Environment

python -m venv .venv

Activate Virtual Environment

Windows

.venv\Scripts\activate

Linux/macOS

source .venv/bin/activate

Install Dependencies

pip install -r requirements.txt

โ–ถ Run The App

streamlit run app.py

Streamlit will print a local URL, usually:

http://localhost:8501

Open that URL in your browser.


๐Ÿ“‚ Project Structure

backup-guardian/
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ logo.png
โ”‚
โ”œโ”€โ”€ screenshots/
โ”‚   โ”œโ”€โ”€ dashboard.png
โ”‚   โ”œโ”€โ”€ folder-scanner.png
โ”‚   โ”œโ”€โ”€ backup-age-checker.png
โ”‚   โ”œโ”€โ”€ integrity-checker.png
โ”‚   โ”œโ”€โ”€ duplicate-finder.png
โ”‚   โ””โ”€โ”€ reports.png
โ”‚
โ””โ”€โ”€ utils/
    โ”œโ”€โ”€ file_scanner.py
    โ”œโ”€โ”€ checksum_tools.py
    โ””โ”€โ”€ report_generator.py

๐Ÿ“ธ Screenshots

Dashboard

Dashboard


Folder Scanner

Folder Scanner


Backup Age Checker

Backup Age Checker


Integrity Checker

Integrity Checker


Duplicate Finder

Duplicate Finder


Reports

Reports


๐ŸŽฏ Purpose of This Project

This project was built to:

  • improve Python skills
  • learn practical file handling
  • understand backup validation workflows
  • practice SHA256 integrity checks
  • create realistic sysadmin tooling
  • build a professional portfolio project

๐Ÿ“š What I Learned

  • Recursive file scanning
  • SHA256 checksum generation
  • File integrity validation
  • Duplicate detection logic
  • Report generation
  • Streamlit dashboard development
  • Error handling
  • Beginner-friendly project organization

๐Ÿ”ฎ Future Improvements

Possible future additions:

  • ZIP backup inspection
  • JSON report export
  • Backup schedule tracking
  • Backup comparison system
  • File change history
  • Multi-folder monitoring
  • Cleanup assistant for duplicate files

๐Ÿ“ Notes

  • All checks are performed locally.
  • No files are uploaded anywhere.
  • Large folders may take longer to scan.
  • Some files may be skipped because of permission restrictions.
  • Duplicate detection uses SHA256 hashes for accuracy.

๐Ÿ‘จโ€๐Ÿ’ป Author

mrachcore

Code. Connect. Control.


๐ŸŒ GitHub

Repository:

https://github.com/mrachcore/backup-guardian

โš  Disclaimer

This tool was created for educational and portfolio purposes.

Use responsibly and only on files and backup folders you are authorized to analyze.

Releases

No releases published

Packages

 
 
 

Contributors

Languages