Skip to main content

Global Import & Export

Global Import/Export packages your entire Rephlo configuration into a single archive in one operation. Unlike the per-entity exports (see Import & Export), this bundles every data type into one comprehensive ZIP.


What Gets Exported

Global Export can include all of your Rephlo data. Each type is an independent checkbox:

Data TypeDescriptionDefault
CommandsAll commands, groups, and favoritesSelected
SpacesSpaces with all files and contentSelected
HistoryUsage history with inputs/outputsSelected
ProvidersLLM provider configurations (API keys encrypted)Selected
ConversationsChat sessions with full message historySelected
SettingsApplication preferencesSelected

API keys and secrets stay encrypted to the machine that created the export. They can only be decrypted on that same machine — see Cross-Machine Import.


Exporting Your Data

Step 1: Open Global Export

  1. Go to the File menu.
  2. Click Export All Data…

Step 2: Select What to Export

The Global Export dialog shows a checkbox per data type, each with its current count (e.g. "45 commands, 5 groups"; "28 conversations, 412 messages"). Tick the types you want.

The Export Everything panel — pick what to include (API keys excluded) and save a full backup

The Export All Data dialog lists Commands, Spaces, History, Providers, Conversations, and Settings — each with a count of how many items it contains and a checkbox. A summary line shows the total selected, and Cancel / Export… buttons sit at the bottom.

Step 3: Choose Location and Export

  1. Click Export….
  2. Choose a location and filename. The default name includes the date, e.g. rephlo-backup-2026-01-20.zip.
  3. Click Save.

Step 4: Wait for Completion

A progress dialog reports each phase as it runs — preparing commands, packaging spaces, exporting history, providers, conversations, settings, and finally creating the archive. When it finishes, you'll see a summary of what was exported. You can cancel mid-export if needed.


Importing Your Data

Step 1: Open Global Import

  1. Go to the File menu.
  2. Click Import All Data…
  3. Select your .zip export file.

Step 2: Review the Import Preview

Rephlo validates the archive and reads its manifest, then shows what will be imported: the archive's creation date, the app version that created it, the count per data type, and any conflicts. If the export came from a different machine, a warning notes that provider API keys will need to be re-entered.

The Import Backup panel — drop a backup file, preview its contents, and merge or replace

The Import All Data dialog shows the archive name, creation date, and version at the top. Below it, each data type lists its item count, the number of conflicts detected, and a resolution dropdown (Skip / Replace / Duplicate). History is appended rather than conflict-resolved. A warning banner appears when the export was created on a different machine.

Step 3: Configure Conflict Resolution

For each data type with conflicts, choose how to handle them:

OptionBehavior
SkipKeep your existing data; don't import conflicting items
ReplaceOverwrite existing data with the imported versions
DuplicateImport as new items with modified names (e.g. "Command (Imported)")

Tip: Use Skip when merging into a working setup. Use Replace when restoring a backup onto a fresh installation. History records are appended, not merged by conflict.

Step 4: Import

  1. Click Import.
  2. A progress dialog reports each phase (commands, spaces, conversations, …).
  3. Review the summary when it finishes.

Conflict Resolution Explained

A conflict occurs when an imported item has the same name or identifier as an existing one.

When to Use Each Option

ScenarioRecommended option
Restoring a backup onto a fresh installReplace
Merging data from a teammateSkip or Duplicate
Updating from an older backupReplace
Trying out shared commandsDuplicate

ZIP File Structure

Understanding the archive layout helps with troubleshooting or manual inspection:

The Manifest File

manifest.json records:

  • Schema version (for forward compatibility) and the app version that created the export.
  • The UTC export timestamp.
  • A hashed machine identifier used to detect cross-machine imports.
  • Per-type counts (commands, spaces, history records, providers, conversations, messages, plus archived command/space counts) and the total archive size.

Note on providers and settings: provider secrets live in the providers/ folder (encrypted), so provider-related keys are intentionally excluded from the settings/ export to avoid duplication.


Cross-Machine Import

When importing an archive created on a different computer:

What Works Normally

  • Commands (instructions, groups, settings)
  • Spaces (files and content)
  • History (usage records)
  • Conversations (chat sessions)
  • Settings (preferences)

What Requires Attention

  • Provider API Keys — encryption is machine-specific. After a cross-machine import, the affected providers come in with their keys cleared, and you must re-enter each key.

Why this is intentional: keys are never exported in plain text, so your credentials stay protected even if a backup file is shared by accident. Gateway (Dedicated API) providers are not exported at all — they're restored automatically when you sign in.


Common Use Cases

Complete Backup Before Reinstalling

  1. File > Export All Data…
  2. Select all data types.
  3. Save to an external drive or cloud storage.
  4. Note your API keys separately (they can't be decrypted after a reinstall).
  5. After reinstalling, use File > Import All Data…
  6. Re-enter API keys in Settings.

Setting Up a New Computer

  1. On the old computer, export all data.
  2. Transfer the ZIP to the new computer.
  3. Install Rephlo and import the ZIP.
  4. Re-enter API keys for each provider.

Sharing Configuration with a Team

  1. Export with Commands and Spaces selected.
  2. Deselect History, Providers, Conversations, and Settings (personal data).
  3. Share the ZIP.
  4. Teammates import using Duplicate to avoid overwriting their own commands.

A Clean, Privacy-Safe Backup

If you want a backup without sensitive data:

  1. Deselect Providers (encrypted keys), History (processed text), and Conversations (chat messages).
  2. Export only Commands and Spaces.

Best Practices

  1. Regular backups — export weekly or before major changes.
  2. Descriptive filenames — include the date, e.g. rephlo-backup-2026-01-20.zip.
  3. Secure storage — keep backups in encrypted cloud storage or on an external drive.
  4. Test restores — occasionally verify a backup imports cleanly.
  5. Document API keys — keep them in a password manager; they can't be recovered from a cross-machine backup.
  6. Version your backups — keep more than just the latest.

Troubleshooting

"Invalid archive" error during import

  • The ZIP may be corrupted — re-download or re-copy it.
  • Make sure it was created by Rephlo's Global Export (it must contain manifest.json).

Missing data after import

  • Check that the data type was selected for import.
  • Review conflict resolution — items may have been Skipped.

Provider shows "API key required" after import

  • Expected when importing from a different machine. Re-enter the key in Settings > Providers.

Import seems slow

  • Large history files take longer to process.
  • Spaces with many documents are processed individually.
  • Consider excluding History for a faster import.

Next Section: Configure Rephlo to your preferences in Settings.