Repository navigation
π Git Manager v2.0.0 β Complete Backup & Caption System
π Git Manager v2.0.1 β Complete Backup & Caption System
This major release transforms Git Manager from a simple git UI tool into a comprehensive site backup and caption management system with enterprise-grade features with Exponential.
β¨ What's New for You
1. π¦ Complete Backup Manager Dashboard
Create four types of backups through a beautiful card-based interface:
- π Full Site Backup β Everything: SQL + var/ + extensions + settings + config.php
- π¦ DB + Files Caption β Daily backup: SQL database + var/ uploaded files
- ποΈ Database Only β Quick SQL dump before migrations or CMS upgrades
- π Files Only (var/) β Archive uploaded content without database
Features:
- Modern responsive card UI (mobile-optimized)
- Multi-select bulk delete with checkbox selection
- Age indicators: π’ Green (<7 days), π Orange (7-90 days), π΄ Red (90+ days)
- Secure authenticated downloads via web interface
- Automatic cleanup based on MaxBackups setting
2. π AGPL-Compatible Public Release Feature
New checkbox on backup cards: "AGPL Compatible Release"
When checked, creates a sanitized SQL dump safe for public sharing alongside your private backup.
What gets removed:
- βοΈ User password hashes (bcrypt, MD5, SHA1/SHA256)
- βοΈ Email addresses
- βοΈ API keys (Stripe, SendGrid, AWS, PayPal)
- βοΈ Google Analytics & reCAPTCHA keys
- βοΈ Server paths, IPs, database credentials
- βοΈ Session, audit, and notification table data
You get two files:
sql_2026-06-21_12-00-00.tar.gzβ Full private backupsql_agpl_2026-06-21_12-00-00.tar.gzβ Sanitized public-shareable backup
Marked with π AGPL COMPATIBLE badge in the caption list.
Why this matters: Comply with GPL/AGPL redistribution obligations when sharing your eZ Publish customizations with other developers.
3. π Automatic License File Bundling
Every caption archive now includes a licenses/ directory with:
LICENSE-GPL-2.0.txt&.mdβ GNU General Public License v2 (governs eZ Publish core)LICENSE-AGPL-3.0.txt&.mdβ GNU Affero General Public License v3 (governs sanitized dumps)README.txtβ Explains why these files are included
Benefit: Anyone receiving your backup archive has the full license terms β ensures legal compliance.
4. β οΈ Intelligent Backup Age Warnings
The dashboard now displays prominent visual alerts to keep your backups fresh:
π¨ Critical Warning (Red) β When you have ZERO backups:
- Animated pulsing red border with shake effect
- Message: "Your website has ZERO backup captions. Take a backup caption right now..."
- Positioned directly below page heading for maximum visibility
β οΈ Outdated Warning (Orange) β When newest backup is >7 days old:
- Animated pulsing orange border
- Shows exact age: "Your site backup captions are 2 weeks old and outdated..."
- Encourages regular refresh to minimize data loss risk
Best Practice: Create a full caption weekly, database-only before CMS upgrades.
5. π Optional GPG AES256 Encryption
Check "Encrypt backup files" on any backup card:
- Enter a secure passphrase
- All archives encrypted with AES256 via GPG
- Unencrypted originals automatically deleted
- Creates
.tar.gz.gpgfiles - Perfect for offsite backup via browser download
Decryption example:
gpg --batch --yes --passphrase "yourPass" -d backup.tar.gz.gpg | tar -xzf -Full instructions included in README.
6. π₯οΈ CLI Backup Tools (New Scripts)
Four new command-line tools in bin/php/:
# Create backups
php bin/php/backup-create.php fullsite -d "Before upgrade"
php bin/php/backup-create.php full -e -p "pass" -d "Encrypted daily"
php bin/php/backup-create.php db
php bin/php/backup-create.php var
# List with age indicators
php bin/php/backup-list.php -v -s
# Inspect specific caption
php bin/php/backup-info.php 2026-06-21_12-00-00
# Delete captions
php bin/php/backup-delete.php 2026-06-21_12-00-00 -f
php bin/php/backup-delete.php -a # delete allπ― Key Benefits
| Feature | Benefit |
|---|---|
| No SSH Required | Full backup management through web interface |
| Protect Your Site | Never lose database or uploaded files |
| Stay Compliant | Easily share sanitized dumps per AGPL/GPL terms |
| Offsite Security | Download encrypted backups via browser |
| Visual Reminders | Never forget to refresh outdated backups |
| Flexible Workflow | Web UI + CLI tools for every use case |
π Documentation
Complete README rewrite includes:
- Feature overview and backup type comparison table
- Web UI step-by-step usage guide
- CLI tool examples with all flags
- GPG encryption/decryption commands
- AGPL sanitization explanation
- Configuration reference
- Best practices
π οΈ Technical Details
New Classes:
AGPLDumpSanitizerβ 12+ sanitization passes for SQL dumpsBackupManagerβ Orchestrates all caption operationsGPGEncryptionβ Wrapper using proc_open for secure passphrase handling
Infrastructure:
- Symlink-aware path resolution for hardlinked installations
- Time-ago calculation with color-coded age brackets
- Responsive CSS for mobile/tablet (768px/480px breakpoints)
- Caption file type detection (database/var/site/agpl)
- Download controller with timestamp/filename validation
Code Stats:
- 22 files changed
- 5,855+ insertions
- 3,500+ lines of new PHP/template code
π₯ Installation
- Extract to
extension/git_manager/ - Activate in
settings/override/site.ini.append.php:[ExtensionSettings] ActiveExtensions[]=git_manager - Regenerate autoloads:
php bin/php/ezpgenerateautoloads.php
- Clear cache:
rm -rf var/cache/*
π§ Requirements
- eZ Publish 5.4+ / 6.0+ (Community or Platform)
- PHP 7.4+ / 8.0+ (tested on 8.3)
- MySQL / MariaDB
- mysqldump in PATH
- tar, gzip installed
- Optional: GnuPG 2.x for encryption
- Optional: git for version control features
π Upgrade Notes
If upgrading from v1.x:
- Backup your existing
extension/git_manager/directory - No database changes required
- Configuration in
settings/git_manager.ini.append.phpis backward-compatible - Existing git features unchanged
π Credits
Developed by 7x for the Exponential community.
Licensed under GPL v2 (same as eZ Publish / Exponential core).