Saves, verifies, and rotates ~/.codex/auth.json so you never lose access.
Quick install (single command):
git clone https://github.com/tis24dev/codex-backup.git && cd codex-backup && python3 install.pyOr step by step:
git clone https://github.com/tis24dev/codex-backup.git
cd codex-backup
python3 install.pyThe installer:
- creates a
codex-backupsymlink in/usr/local/bin(fallback~/.local/bin) pointing tobackup_auth.py, so you can runcodex-backupfrom anywhere; - registers an hourly cron job that runs the backup automatically.