Export and restore

Take a portable copy from Secrets → Export. Backup on Projects opens history. Restore creates a new project.

Last updated: 2026-09-20

Export (dashboard)

On Secrets, open Export. Choose encrypted .getmyenv or plain .env. Downloads are always a zip. An all-projects export is encrypted only.

Encrypted exports hold ciphertext. Plain exports hold readable values - handle them with care.

Restore

On Projects, use Restore. Pick a .getmyenv file or a zip that contains them. Restore creates a new project. Existing projects are not changed. Backup opens backup history; take a new copy from Secrets → Export.

Same jobs from the CLI

The CLI does the same work with different command names. Use -o to write files - do not redirect stdout.

  • npx getmyenv export -o .env - plain .env (prompts for Vault password).
  • npx getmyenv backup -o project.getmyenv - encrypted .getmyenv (no password prompt when creating).
  • npx getmyenv restore project.getmyenv - restore (prompts for Vault password for this backup). Dashboard restore always creates a new project; CLI restores into a linked project when present.
    Export and restore - getmyenv docs · getmyenv