<!-- page:59343 -->
# Move from Wikilayer.org

[Export](page:56240) the wiki from Wikilayer.org as a `.wikilayer.zip` archive, then import it into a local installation of version 1.1.1 or later. The import creates a new private wiki. Wikilayer.org itself has no import.

<!-- block:59346 -->
## Import with Homebrew

Start the service from the [Homebrew setup](page:59533) if it is not already running:

```sh
brew services start wikilayer/tap/wikilayer
```

Run the importer against the private PostgreSQL socket used by this installation. Replace the archive path with the file you downloaded:

```sh
DATABASE_URL="postgres://$(id -un)@/wikilayer?host=$(brew --prefix)/var/wikilayer/socket&sslmode=disable" \
STORAGE_DIR="$(brew --prefix)/var/wikilayer/uploads" \
wikilayer import "$HOME/Downloads/my-wiki.wikilayer.zip"
```

Open your local Wikilayer home and check the wiki's pages and files before deleting the archive.

<!-- block:59411 -->
## Import with Docker

From the cloned `docker` directory of the [Docker setup](page:59407), start the containers, then mount the folder containing your downloaded archive into a one-off importer:

```sh
docker compose up -d
docker compose run --rm -v "$HOME/Downloads:/imports:ro" wikilayer import /imports/my-wiki.wikilayer.zip
```

Replace `my-wiki.wikilayer.zip` with your archive's filename. The archive's files go to the Docker uploads volume. Open [your local Wikilayer](http://localhost:38731) to check the imported wiki.

---

## Links here

- [Export](page:56240)
- [Self-hosted](page:59317)

---

[All pages](https://wikilayer.org/smee-again/wikilayer-howto/en/index.md)
