Export Your Mission

Your files stay yours

A version with a stored archive can be downloaded as a ZIP and hosted elsewhere. Download availability follows the retention rules below; a version can remain in your history after its files are no longer stored.

Download a version

1. Open the mission in Mission Control.

2. In the Versions list (Mission Log), find the version you want.

3. Click 'Download archive'. You get <mission>-v<number>.zip — the copy of your project that version was deployed from.

Only the mission's owner can download archives; people the mission is shared with can't. Each download is recorded in your Activity log as 'Data exported'. Downloads are rate-limited: if you hit the limit, wait a few minutes and try again.

What's in the archive

The archive holds your files as moonbase deployed them. If nothing needed changing, they match your upload. If moonbase cleaned up the ZIP or made a fix for that version (for example it removed a wrapper folder, or added a start script you approved), the archive includes that change.

If your ZIP contained secrets, such as a .env file in an app that runs a server, they can be in the download too — store it somewhere safe.

Environment variables you set in moonbase are not inside it. Their values are write-only in the dashboard, never shown again; to get them back, use 'Download everything' below.

Which versions can be downloaded

moonbase keeps the stored ZIP for each mission's 10 most recent versions, and always for the live version. Older versions stay listed in Mission Log with their details, but their ZIP is no longer stored, so they can't be downloaded or restored. The same applies to versions created before moonbase began storing archives — upload again to create a downloadable version.

If your plan limits how many versions are kept, you're emailed 7 days before older versions are removed. Download anything you want to keep before then.

Sleeping and paused missions

Downloads work whether the mission is live, asleep, or paused — the archive is stored separately from the running mission.

Download everything

Account → Danger zone → Export my data → 'Download everything' gives you your whole account as a zip: account.json (profile, plan, API key names, webhooks, activity), and for every mission you own, archived ones included: its settings, domains and the people you invited, its environment variable names and values, a list of every version, and each stored version's ZIP as moonbase deployed it. A README inside lists what's there.

Because it includes environment variable values, moonbase asks for your password first (and the code from your authenticator app when two-factor is on), and emails you a security notice. An account without a password gets the same export without the values.

Preparing it takes a while: you're emailed when it's ready, and the download appears in the same place. A large account comes in more than one part; unzip every part into the same folder. With values, it can be downloaded once, only in the browser you asked from, within 24 hours, and is then deleted. You can request one export a day.

It never contains passwords, two-factor secrets, or API key and webhook signing secrets: moonbase stores those in a form that can't be read back. Missions others shared with you aren't included; they belong to their owners. The ZIPs of versions moonbase no longer stores are listed but not included.

Before you delete your account

Use 'Download everything' first. Once the account is deleted you can't sign in to download anything: all missions are paused immediately, and your data is purged after 30 days. Deleting can't be undone, so download anything you want to keep before you start.