# Deprecated Scripts

These scripts have been moved to this folder because their functionality has been consolidated into the main Plex management tools.

## Scripts Moved (June 21, 2025)

### `plex-database-repair.sh`
- **Reason**: Functionality consolidated into `plex-db-manager.sh`
- **Replacement**: Use `plex-db-manager.sh check` and `plex-db-manager.sh repair`

### `recover-plex-database.sh` 
- **Reason**: Advanced recovery methods rarely worked effectively
- **Replacement**: Use `nuclear-plex-recovery.sh` for emergency situations

### `restore-plex.sh`
- **Reason**: Basic restoration functionality covered by other scripts
- **Replacement**: Use `nuclear-plex-recovery.sh` for backup restoration

### `icu-aware-recovery.sh`
- **Reason**: ICU collation issues addressed in main repair logic
- **Replacement**: Built into `plex-db-manager.sh` and `nuclear-plex-recovery.sh`

## Why These Were Retired

The original issue causing database corruption was identified as the **aggressive 30-minute auto-repair cron schedule**. With this fixed:

1. **Repair operations are now rarely needed**
2. **Simpler tools are more reliable** than complex multi-strategy repair scripts
3. **Manual intervention is preferred** over automated repair attempts
4. **Nuclear recovery** provides a clean last-resort option

## Access If Needed

These scripts are preserved for emergency use but are no longer maintained. If you need emergency access to advanced repair functionality:

```bash
# Emergency use only
./deprecated/plex-database-repair.sh repair /path/to/database.db
./deprecated/recover-plex-database.sh --auto
```

⚠️ **Note**: These scripts are no longer tested or supported. Use at your own risk.
