Purpose: Provide developer/admin instructions for inventorying, quarantining, and purging backup, old, copy, and duplicate working files in the Voice to Congress development environment.
| Step | Action | Safety Level | Purpose |
|---|---|---|---|
| 1 | Inventory only | Safe | Creates reports only. Does not move, rename, or delete files. |
| 2 | Auto-quarantine files 3+ days old | Recoverable | Moves eligible backup/old/copy candidates to quarantine for review. |
| 3 | Aggressive quarantine, optional | Recoverable, use carefully | Includes additional review candidates. Use only after reviewing the inventory. |
| 4 | Purge quarantine after 14 days | Permanent delete | Deletes quarantined files after a safety waiting period. |
Open Latest Backup Inventory Open Latest Cleanup Summary Open Latest Review Template CSV
Run the inventory command first if these links do not exist or appear stale.
cd /d "G:\voicetocongress.com\_architecture" python scripts\backup_cleanup_manager_v2.py --inventory-only --min-age-days 3
Moves eligible backup/old/copy files that are 3 days old or older to quarantine. This does not permanently delete them.
cd /d "G:\voicetocongress.com\_architecture" python scripts\backup_cleanup_manager_v2.py --auto-quarantine-old --min-age-days 3
Includes additional review candidates. This still moves files only to quarantine, but it should be used carefully.
cd /d "G:\voicetocongress.com\_architecture" python scripts\backup_cleanup_manager_v2.py --auto-quarantine-old --min-age-days 3 --include-review
cd /d "G:\voicetocongress.com\_architecture" python scripts\backup_cleanup_manager_v2.py --purge-quarantine --quarantine-age-days 14
| Task | BAT File |
|---|---|
| Inventory only | G:\voicetocongress.com\_architecture\scripts\run_backup_cleanup_inventory_v2.bat |
| Auto-quarantine 3+ days old | G:\voicetocongress.com\_architecture\scripts\run_backup_cleanup_auto_quarantine_3days_v2.bat |
| Aggressive auto-quarantine | G:\voicetocongress.com\_architecture\scripts\run_backup_cleanup_auto_quarantine_3days_aggressive_v2.bat |
| Purge quarantine after 14 days | G:\voicetocongress.com\_architecture\scripts\run_backup_cleanup_purge_quarantine_14days_v2.bat |
| Output | Location |
|---|---|
| Latest inventory reports | G:\voicetocongress.com\_architecture\backup_cleanup\latest |
| Quarantine folders | G:\voicetocongress.com\_architecture\backup_cleanup\quarantine |
| Move logs | G:\voicetocongress.com\_architecture\backup_cleanup\quarantine\...\quarantine_move_log.csv |
Archive folders should not be auto-deleted._architecture\Source Documents should not be auto-deleted.Recommended page behavior: keep this as a development/admin reference page. Do not expose cleanup execution links in public navigation.