Feature : Backup/Restore Page Release Date : 2026-02-01 Version : v2.49.4 Branch : feature/admin-joueur-card-style
- Go build:
go build -o server.exe ./cmd/server✅ SUCCESS - React build:
npm run build✅ SUCCESS (452KB) - No compilation errors ✅
- Version updated to 2.49.4 ✅
- Code review: APPROVED ✅
- QA testing: VALIDATED ✅
- No regressions detected ✅
- CHANGELOG updated ✅
6aade52 docs(changelog): Add v2.49.4 release notes
501d1cb test(qa): QA test report - VALIDATED
7ca64c8 docs(review): Code review report
48c8b3b test(backup): Add unit tests and E2E scenarios
d6fff8e feat(backup): Create dedicated Backup/Restore page# Go to project directory
cd C:\Users\cyril\Documents\VScode\buzzcontrol\server-go
# Build Go server
go build -o server.exe ./cmd/server
# Build React frontend
cd web
npm run build
cd ..Expected Output:
server.exe: Binary executableweb/dist/: Static files (HTML, CSS, JS)- Build time: ~2 minutes
Option A: Docker Container (recommended)
# Build portable container
./build.ps1
# Push to QUALIF registry
docker push registry.qualif/buzzcontrol:2.49.4Option B: Direct Binary (QUALIF machine)
# Copy files
scp server.exe qualif@qualif.local:/app/buzzcontrol/
scp -r web/dist/* qualif@qualif.local:/app/buzzcontrol/web/
# Update config
scp server-go/config.json qualif@qualif.local:/app/buzzcontrol/
# Restart service
ssh qualif@qualif.local "systemctl restart buzzcontrol"Option C: Manual QUALIF (Windows/Raspberry)
# Stop current service
systemctl stop buzzcontrol
# OR manually kill process
# Wait 2 seconds
timeout 2
# Copy new binary and files
cp server.exe /path/to/qualif/
cp -r web/dist/* /path/to/qualif/web/
# Start new service
./server.exe
# Verify startup
curl http://localhost/admin# 1. Check server is running
curl -s http://qualif.local/admin | grep -i "BuzzControl"
# 2. Test admin interface loads
curl -s http://qualif.local/admin | head -20
# 3. Test new Backup/Restore route
curl -s http://qualif.local/admin/backup | grep -i "title"
# 4. Check version
curl -s http://localhost/config.json | grep version
# Expected: "version": "2.49.4"Test 1: Menu Navigation
- Open http://qualif.local/admin
- Click bee logo (🐝)
- Verify menu has: Config, Backup/Restaure, Logs
- Click "Backup/Restaure"
- Verify URL = http://qualif.local/admin/backup
Test 2: Page Display
- Verify page title: "Sauvegarde et Restauration"
- Verify 3 sections visible:
- Sauvegarde (💾)
- Restauration (📂)
- Réinitialisation (🔄)
- Verify checkboxes present in each section
Test 3: Backup Operation
- Select some checkboxes in Sauvegarde section
- Click "Sauvegarder" button
- Verify file downloads:
buzzcontrol-backup-YYYY-MM-DD.tar - Check file size > 1KB
Test 4: Restore Navigation
- Verify "Selectionner un fichier" button present
- Click to verify file picker opens
- Verify accepts .tar files
Test 5: Reset Navigation
- Verify 5 checkboxes in reset section (unchecked by default)
- Click checkbox to toggle state
- Verify state change works
Test 6: ConfigPage Check
- Navigate to /admin/settings
- Verify Backup/Reset sections are GONE
- Verify Neon, Server Params, Demo still present
- Page should load without errors
Test 7: Responsive Design
- Open DevTools (F12)
- Set viewport to 768px width
- Navigate to /admin/backup
- Verify layout changes to single column
- Verify all elements are readable
# Test with Apache Bench
ab -n 100 -c 10 http://qualif.local/admin/backup
# Expected: <200ms response time
# Expected: 0 errorsIf issues detected on QUALIF:
# Stop service
systemctl stop buzzcontrol
# Restore previous binary
cp server.exe.backup server.exe
# Restore previous dist
rm -rf web/dist
cp -r web/dist.backup web/dist
# Restart
./server.exe
# Verify old version works
curl http://localhost/config.json | grep version
# Expected: "version": "2.49.3"| Feature | Test URL | Status |
|---|---|---|
| New Backup page | /admin/backup | ✅ Ready |
| Bee menu item | /admin (click bee) | ✅ Ready |
| ConfigPage cleanup | /admin/settings | ✅ Ready |
| Backup checkboxes | /admin/backup | ✅ Ready |
| Reset checkboxes | /admin/backup | ✅ Ready |
| Restore button | /admin/backup | ✅ Ready |
Minor Notes:
- No toast notifications on success (acceptable for MVP)
- Tests could be more comprehensive (v2.50+)
- Accessibility labels could be enhanced (WCAG AAA standard v2.50+)
tail -f /var/log/buzzcontrol.log
# Look for:
# - "Listening on" messages
# - No "error" or "panic" messages
# - WebSocket connections successful- Monitor for issues reported by QUALIF users
- Check backup/restore functionality in production usage
- Monitor file sizes and bandwidth
- Monitor API response times
- Check memory usage (should be stable)
- Check disk space usage
- QUALIF validation: 1-2 days
- User acceptance: 1 day
- PROD deployment: Scheduled maintenance window
- Monitoring: 24 hours post-deployment
# Same steps as QUALIF, but target production servers
# Requires approval from release manager
# Backup old binaries before deployment- Code compiled and tested
- QA validation completed
- CHANGELOG updated
- No regressions detected
- Documentation complete
- Rollback procedure documented
- Test scenarios defined
- All commits reviewed
Status: READY FOR QUALIF DEPLOYMENT
Questions or Issues:
- Check CLAUDE.md for project context
- Review CODE_REVIEW_BACKUP_FEATURE.md for technical details
- Check QA_TEST_REPORT_BACKUP.md for test results
Release Manager: Contact for PROD approval