Skip to content

Backup & Restore

Keep all your MyShell Terminal data safe with manual exports or scheduled automatic backups.

Location: Settings → Backup

Manual Export

Two export modes are available, depending on what you need:

ModeFile TypeContains SecretsBest For
Encrypted export.datYes (encrypted)Full backup and restore
Text exportRedacted JSONNoSharing, version control

Encrypted Export

  1. Choose encrypted export and set a password (minimum 12 characters)
  2. The backup file is strongly encrypted with your password
  3. Restoring brings back all of your data

Keep the Password Safe

An encrypted backup can only be restored with the exact password used at export time. If the password is lost, the backup cannot be recovered.

Text Export

The text export produces a human-readable, editable JSON file:

  • Contains no passwords, keys, or tokens — sensitive fields are removed
  • Ideal for version control, sharing, or reviewing your configuration
  • Because secrets are stripped, a confirmation dialog warns it cannot fully restore your data

Importing a Backup

Import automatically detects the file type:

  • Text backup (.json): imports directly, no password needed
  • Encrypted backup (.dat): enter the export password to restore

Smart Validation

Every entry in a backup file is validated individually:

  • Invalid entries are skipped instead of failing the whole import
  • A summary is shown after import, for example:

Servers 5, Snippets 12 (1 invalid skipped)

Automatic Backup Plans

Create scheduled backup plans that run without any manual effort.

Creating a Plan

SettingDescription
TargetLocal folder, FTP, SFTP, WebDAV, or S3
IntervalHow often to back up (in hours)
RetentionHow many backups to keep before old ones are cleaned
Backup passwordOptional encryption for the backup files

How It Works

  • Enabled plans run automatically in the background
  • Backups beyond the retention count are removed automatically
  • Use Run Now to trigger a backup immediately at any time
  • A notification is shown when a backup completes

Backup Scope

A full backup covers:

  • Servers
  • Snippets
  • Proxies
  • App settings
  • SSH keys
  • Command history
  • AI sessions

基于 MIT 许可发布