Build a Safe Configuration Backup Utility
Create a Python utility that inventories, copies and verifies selected configuration files.
Create a Python utility that inventories, copies and verifies selected configuration files.
Prepare 20m · Build 110m · Verify 30m · Document 20m
Work only inside the folder created by Smartphone-Academy.py prepare python-config-backup. Use the supplied samples, your own phone, or systems you are explicitly authorized to administer.
Prepare the Termux workspace
Open Termux in the Academy root and prepare this lab with the local companion. It creates safe samples, notes and evidence files under your Termux account.
python Smartphone-Academy.py prepare python-config-backupNo root. Keep the workspace under $HOME and avoid personal identifiers in evidence.Practical mission
- Read an allow-list of configuration paths from a JSON file
- Copy only allowed files into a timestamped local archive
- Generate SHA-256 checksums and verify the archive after creation
- Implement a dry-run restore preview that never overwrites files automatically
A local backup utility with manifest, checksums, restore preview and test report.
Quality gate
Analyst reflection
Which result from “Implement a dry-run restore preview that never overwrites files automatically” needs stronger evidence before it can support a real decision?
After checking the evidence, run python Smartphone-Academy.py complete python-config-backup. Progress is stored locally in the Termux home directory.