Skip to content

Backup Restore

github-actions[bot] edited this page May 19, 2026 · 2 revisions

4. Backup/Restore

Backup/Restore lets you export settings to a local JSON file, restore from a JSON file, or use the theme cloud backup service.

Storage modes

  • Pengu Loader before 1.2.0: settings are stored in Pengu DataStore under ElainaTheme.
  • Pengu Loader 1.2.0+: settings are stored through PluginFS in ./data/ElainaData.json when context.fs is available.
  • Manual backup exports the current ElainaData values regardless of the active storage mode.
  • Cloud backup uses the current summoner ID and Elaina Theme API token.

Related settings

Setting key UI label Default Type Function
backup-datastore Backup theme's datastore to cloud false boolean Enable automatic cloud backup of your settings when closing the client.
System-Info System-Info empty string System information string for backup metadata.
last-backup-time last-backup-time empty string Timestamp of the last successful backup.

Manual backup

  1. Open League Client Settings -> Elaina Theme -> Backup & Restore.
  2. Click Backup.
  3. Save the generated ElainaTheme-<summonerId>.json file.
  4. Keep the JSON file somewhere safe before reinstalling or updating the theme.

Manual restore

  1. Open League Client Settings -> Elaina Theme -> Backup & Restore.
  2. Click Restore in the manual backup/restore section.
  3. Select a valid JSON backup file.
  4. Wait for the restore toast to complete.
  5. The client restarts automatically after restore.

Cloud backup

  1. Enable backup-datastore in Backup & Restore.
  2. The theme checks whether cloud data exists for your summoner ID.
  3. When backup is enabled, the theme can write datastore values to the Elaina Theme cloud service.
  4. Use manual backup as a fallback if the cloud service is unavailable.

Cloud restore/delete

  1. Open Backup & Restore.
  2. If cloud data exists, Restore and Delete file buttons become visible.
  3. Click Restore to load cloud data into ElainaData.
  4. Click Delete file to remove the cloud backup.
  5. Restart the client after restore if a screen does not update immediately.

Notes

  • Cloud backup requires internet access and the Elaina Theme API service to be available.
  • Developer mode may show extra system information in the backup panel.
  • Do not edit a backup JSON file unless you know the setting keys and value types.
  • If restore fails, check the console and try manual restore with a known valid JSON backup.

Clone this wiki locally