# Structure backup

> Save the community's structure (sections and spaces with each one's settings), download the file, import a file from another community and restore only what is missing, without deleting anything. What goes into the backup and what doesn't, and the limits.

The **structure backup** keeps the community's sections and spaces, with each one's settings, so you can go back to them later: before a big change to the menu, to rebuild a space deleted by mistake or to take the same structure to another community of yours. It lives in **Settings › Templates**, in the **Structure backup: save / restore** block.

*Role: owner or admin.* The backup is private: one community's backup never shows in another.

> [!NOTE]
> *"Posts, members and sales are not in the backup: only sections and spaces, with each one's settings."* And *"Restoring only adds what is missing; nothing is deleted."*

## What goes and what doesn't

| Goes into the backup | Doesn't go |
|---|---|
| The sections, with icon, title, address, description and visibility | The home section: every community already has its own |
| The spaces, with module, icon, display, **Who sees** and **Who posts** | Posts, comments, media, courses, events and any content |
| Each module's settings (a Tasks board's lists and labels, one item or several…) | Members, groups, org chart and any person |
| | Products, prices, coupons, sales and integrations |

**Access by plan or by group** goes out closed: the space comes back private and you choose again who sees it. A reference to a person, group or item of the community inside the settings is removed.

## Save a backup

1. In **Settings › Templates**, in the backup block, click **Save backup**.
2. In **Backup name**, keep the suggested name (*Structure on …*, with the date) or type another (up to 120 characters).
3. Click **Save backup**. The list shows the new backup at the top.

With nothing saved yet, the list says *"No backups yet. Save one before big changes to the menu."*

## Download the file

On a backup, **Download file** saves the structure in a `.memberfy.json` file. The file carries only the structure, without any of the community's identifiers. Use it to keep outside Memberfy or to import into another community.

## Import a file

1. Click **Import file** and choose a `.json` downloaded from Memberfy (from this or another community).
2. The file becomes a backup of this community, marked **imported**: *"File imported as “…”. Use Restore to apply it."*

Importing creates nothing in the menu: only **Restore** does. The file is checked before it goes in, and it is refused when:

- it isn't a Memberfy structure backup (*"This file is not a Memberfy structure backup (.json)."*);
- it's larger than **512 KB**;
- it has more than **30 sections** or **150 spaces**;
- it carries an identifier (use the file downloaded from Memberfy, without editing the ids).

To copy the structure from one community to another: download the file in the first and import it in the second.

## Restore

1. On a backup, click **Restore**.
2. The **Restore “…”** window shows the preview, like a [template's](/modelos/visao-geral#the-review-what-will-be-created): what will be created, what **Already exists** and what **Can't be added**.
3. Untick what you don't want and click **Restore what is missing**.
4. The report says what was created, what was already there and what wasn't added.

**Restoring only adds.** A section or space that still exists stays as it is, even if you changed it after the backup; only what is missing is created. A section that exists gets the spaces it lacks. Restoring twice gives the same result: the second time, there is nothing new to create. No member gets an e-mail or a push because of what the restore creates.

An imported backup is matched against what exists by address: the section by its own and, inside it, the space by address and module. A space with the same address and another module is created with a suffix.

**Link spaces** need a public `http` or `https` address. A link to an IP, `localhost` or an internal network stays out, with a notice.

## Delete a backup

On a backup, **Delete backup** and confirm. *"Only the backup is deleted. Nothing in the community changes: sections, spaces and content stay as they are."*

## Limits

| Limit | Value |
|---|---|
| Backups per community | 50 (*"The community already has 50 backups. Delete an old one to save another."*) |
| Size of an imported file | 512 KB |
| Structure of a backup | Up to 30 sections and 150 spaces |
| Save a backup | 30 per hour per person |
| Import a file | 20 per hour per person |
| Download a file | 60 per hour per person |
| Restore | 10 per hour per person, together with applied templates |

## With the assistant (MCP)

`list_structure_backups`, `save_structure_backup`, `export_structure_backup`, `import_structure_backup`, `delete_structure_backup` (asks to confirm) and `restore_structure_backup` (shows the preview and asks to confirm). Ask like this: *"Save a structure backup before I reorganize the menu"*, *"Restore yesterday's backup"*. See [Tools · Community › Templates, gallery and structure backup](/mcp/ferramentas-comunidade#templates-gallery-and-structure-backup).

## Frequently asked questions

**Does restoring undo the changes I made to the menu after the backup?**
No. Restoring only creates what is missing; it doesn't bring back names, order or settings of items that still exist.

**Does the backup keep the posts of a deleted space?**
No. The space comes back empty, with its settings.

**Can I restore one community's backup in another?**
Yes, through the file: **Download file** in one, **Import file** and **Restore** in the other.

## Related

- [Templates](/modelos/visao-geral)
- [Template gallery](/modelos/galeria-de-modelos)
- [Create and organize spaces](/espacos/criar-e-organizar-espacos)
- [Link](/espacos/link)
