Automatic Document Cloud Backup
Overview
Creates automatic nightly backups of all critical work folders to Google Drive or Dropbox, verifies file integrity, sends a confirmation report every morning and immediately alerts if files are corrupted or storage is insufficient.
Folders
4
Total files
222
Schedule
02:00
contratti/34 files · 2.4 MB
fatture/128 files · 1.1 MB
progetti/57 files · 8.7 MB
database/3 files · 0.9 MB
Details
The problem
Many small businesses have no reliable backup system. Critical documents (contracts, invoices, databases, project files) live only on the local computer or an external hard drive that nobody ever checks. A hardware failure, ransomware, or accidental deletion can mean the irreversible loss of years of work.
The solution
A Python script scheduled every night at 02:00 that scans configured work folders, compresses files modified in the last 24 hours into a timestamped ZIP archive, uploads the archive to Google Drive (or Dropbox) via API, and verifies the MD5 checksum to confirm integrity. In the morning a confirmation email is sent with a summary: backed-up files, size, any errors.
How it works
1. Scan configured folders (contracts, invoices, DB, projects)
2. Select files modified in last 24h with pathlib
3. Compress into ZIP with timestamp (e.g. backup_2024-01-15.zip)
4. Upload to Google Drive / Dropbox via API
5. Verify integrity with MD5 checksum
6. Morning confirmation email with summary
7. Immediate alert on error, corrupted file or storage < 10%
Typical results
Full protection of business data with no daily manual intervention. Recovery time in an emergency reduced to under one hour. Version history available for configurable 30/60/90 days. Documented operational peace of mind with daily reports.