{% extends "admin/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "import" %} {# Bringing a 1.x instance across (api/admin_import.py). Two sources, both run by hand and never by the update: the 1.x database the update set aside, and an administrator's export file from 1.7. Each answers with a report. #} {% block title %}{{ t("Import") }} - {{ brand.name }}{% endblock %} {% block heading %}{{ t("Import") }}{% endblock %} {% block admin_content %}

{{ t("LLeMbas 2.0 started on a new database. What you want to keep from 1.x comes across here, by hand: the library from the old database, and the connections, models and services from an export file made on 1.7.") }}

{{ t("From the 1.x database") }}

{% if not old_exists %}

{{ tm("There is no lembas.db.old in the data directory. The update to 2.0 leaves the 1.x database there under that name; a new installation has none.") }}

{% elif problem %} {% else %}

{{ tm("Notes, reports, skills and knowledge from lembas.db.old become files in the home folder of the person you choose, under Imported/, private to them. The old file is only read. Running it again skips what is already there.") }}

{% if survey %} {% endif %}

{{ t("They go into this person's organisation, and only this person can see them until they share them.") }}

{{ t("With more than one account, each one's files go into a folder named after it.") }}

{{ t("Into the 2.0 account with the same email address only, as memories rather than files.") }}

{% endif %}

{{ t("From an export file") }}

{{ t("The file 1.7 writes under Admin → Updates → Export the configuration: connections and their models, data groups, speech, web search, image generation, custom tools and MCP servers. Anything 2.0 has no place for is listed, with the reason.") }}

{{ t("An administrator's export; a memory export is imported under Settings → Memory.") }}

{{ t("The one chosen at export, if the file's keys were encrypted. Without one, the keys were left out and are listed to be entered again.") }}

{% endblock %}