Settings and maintenance
Export / import a site
Back up the whole site as one .zip file or move it to a new server — content, files, the plugin list and the site's code
Export / import (Settings group, needs manage_options) is built into the system. It replaces the former "Backup" plugin and reads the files that plugin made.
What an export contains#
| Included | Not included |
|---|---|
| Pages, posts, categories, menus, components | Users (imported content belongs to the administrator who imports it) |
Every file of the media library (uploads/) | Secrets such as the SMTP password, tokens, salts, bypass keys, custom code |
| The installed plugins (id, version, on/off, source, settings that are not secrets) | The plugins' code (reinstalled from the Store) |
| The site's code (the Site Code draft) | Data in Site Code's and plugins' tables |
The file is a .zip holding data.json and an uploads/ folder.
Export#
- Go to Export / import
- Press ⬇ Download .zip and keep the file somewhere safe
Import#
- On the target site, go to Export / import → ⬆ Choose a .zip file and confirm
- The counts of what was imported are shown (pages and posts, categories, menus, components, files)
- Plugins in the file shows which are already there and which are missing — press Install from the Store for each one. They are installed with the settings from the file but switched off; activate them on the Plugins page
- The site's code: files that don't exist yet are added to the draft (only for an importer with
edit_scripts) — nothing is published by itself. Review it and publish in Site Code
An import only adds content; it never deletes or overwrites what is there. Categories with the same slug reuse the existing ones, and links to images, menus and components inside designs are pointed at the newly imported items.
Site settings (such as the title and the theme) are exported but not imported, and the home page and templates in use do not change — set those yourself on the target site.
Moving to a new server#
- Install Anasaki Studio on the new server following Getting started (no sample content)
- Export from the old server and import on the new one
- Install and activate the missing plugins, set up the site (General, Email, home page, templates) and publish the site's code if any
For a complete copy including the plugins' table data, back up the Docker volumes (mysql-data, uploads, plugins) instead — see .env variables and Docker settings.
