Skip to content

Moving from the Classic Console

From 2026.11.0 an existing Classic Console installation can move to the Sicura Console. One import command copies the Classic Console's nodes, profiles, settings, scheduled tasks, local users and groups, job history and scan results into new databases for the Sicura Console, and Agents keep reporting without being registered again. What Is Imported lists what comes across and what you set up again.

The import only reads the Classic Console's database and never changes it. Until you drop that database, you can go back to the Classic Console as it was.

IMPORTANT: Not everything comes across, and access is reset. Classic Console roles and permissions are not imported: after the import, only members of the Administrators group can do anything until you add the other users to groups that hold roles. Passwords and API tokens are not imported either, and some Classic Console features have no equivalent in the Sicura Console. Read Not Imported before you start. While the Classic Console is still running, write down what you will need to set up again, such as who holds which roles and your directory settings, and download any generated reports you want to keep.

IMPORTANT: The Classic Console must be at 2026.4.0 or later. Upgrade it first if it is older (see Upgrades); the import refuses an older database without writing anything.

You need:

  • The connection details of the Classic Console's database
  • A database user for the Sicura Console, and the settings you will run the Sicura Console with: DB_*, SECRET_KEY_BASE and ADMIN_PASSWORD (see Sicura Console Environment Variables)
  • A Sicura Console license from Sicura, covering at least as many nodes as you will import. Get it before you stop the Classic Console. The Classic Console's license cannot be uploaded to the Sicura Console, which accepts JWT licenses only (see Licenses). Imported approved endpoints count toward the license's nodes, so a license for fewer nodes leaves the Sicura Console over its node count.

1. Stop the Classic Console

IMPORTANT: If you upgraded the Classic Console or changed its content pack recently, let it finish creating its default enforcement profiles before you stop it. On its first start with new content, it deletes its default profiles and creates them again in the background, which takes a few minutes. If it is stopped before it finishes, it does not try again, and it is left with no default profiles. It has finished when the Default tab of the Control Management page lists profiles.

The Classic Console's audit log is not part of its database and is not imported. By default, the Classic Console writes it only to the container's output, with its other logs. A container started with --rm, as in Option 1, loses that output when it stops, so save it first if you need it:

docker logs sicura-console > classic-console.log 2>&1

If you turned on file logging for the audit log, also copy the file out, unless /var/log/sicura-console is on a volume:

docker cp sicura-console:/var/log/sicura-console/audit.log .

Then stop the Classic Console container, so nothing changes in its database while the import reads it:

docker stop sicura-console

Leave its database server running, but disconnect everything else from the Classic Console's database, such as database tools, monitoring and backup jobs. The import refuses while anything else is connected, and its refusal lists the other connections. The Console is down from now until the Sicura Console starts.

2. Prepare New Databases

The Sicura Console keeps its data in three databases: the main one named by DB_DATABASE, a job-queue database and a cache database. The import creates them when the Sicura Console's database user has the CREATEDB attribute. Otherwise, create all three empty first, owned by that user, as Databases Used by the Sicura Console Image describes.

They must be new. The import refuses a database the Sicura Console has already used, so if you tried the Sicura Console before importing, drop those three databases or choose new names. To choose new names, set DB_QUEUE_DATABASE and DB_CACHE_DATABASE as well as DB_DATABASE: the import refuses job-queue and cache databases that were already set up for another main database. Then set the same three names when you start the Sicura Console. Never point the Sicura Console at the Classic Console's own database.

3. Run the Import

Run the import once, in a one-off Sicura Console container, before starting the Sicura Console.

Choosing How Much History to Bring

Most of the downtime is the import, and job history and scan results are most of its work. Set SINCE to bring only recent history and keep the downtime short. For example, SINCE=2026-08-01 brings the jobs that started on or after 1 August 2026, and any earlier job with a scan or enforcement result dated 1 August 2026 or later. A job is brought whole or not at all. It also brings the scan results dated 1 August 2026 or later. Leave SINCE unset to bring all of it. History older than SINCE stays in the Classic Console's database, which the import does not change.

As a guide, a database of 300 nodes holding 2,550 scans with 906,600 rule results took about 3 minutes to import in full on an 8-core server, about 2.5 minutes of it for the scan results. Time grows with the number of scans and rule results brought.

Connecting to the Classic Console's Database

SINATRA_DATABASE_URL is a PostgreSQL connection URL for the Classic Console's database:

postgres://<user>:<password>@<classic-db-host>:5432/<classic-db-name>?sslmode=verify-full&sslrootcert=/run/secrets/classic-db-ca

TLS settings go in the URL, as sslmode and sslrootcert above. Percent-encode any special characters in the password.

The import only reads from this database. To make sure of that, you can give it a user that can only read:

psql -U postgres -d <classic-db-name> <<END
CREATE ROLE sicura_import LOGIN PASSWORD 'import-password';
GRANT CONNECT ON DATABASE <classic-db-name> TO sicura_import;
GRANT USAGE ON SCHEMA public, atlas_schema_revisions TO sicura_import;
GRANT SELECT ON ALL TABLES IN SCHEMA public, atlas_schema_revisions TO sicura_import;
END

The Import Command

Give the one-off container the same DB_*, SECRET_KEY_BASE and ADMIN_PASSWORD settings you will start the Sicura Console with. The import sets up the new databases, which is when the admin password is set.

Like the Sicura Console, the import connects to the new databases over TLS by default. Set DB_SSLMODE, and DB_SSLROOTCERT if you use it, as the Sicura Console will connect. For example, if the server holding the new databases does not accept TLS, change DB_SSLMODE="require" in the command below to DB_SSLMODE="disable". Against a database server that does not accept TLS, the import otherwise fails with a long error containing server does not support SSL, but SSL was required. See Encrypting the Database Connection.

set -o pipefail
docker run --rm \
  --entrypoint /opt/sicura/console/code/bin/rails \
  --user sicura-console \
  --workdir /opt/sicura/console/code \
  -e DB_USER="sicura_console" \
  -e DB_PASSWORD="your-secure-password" \
  -e DB_HOST="your-db-host" \
  -e DB_PORT="5432" \
  -e DB_DATABASE="sicura_console_new" \
  -e DB_SSLMODE="require" \
  -e SECRET_KEY_BASE="$(cat /path/to/secret_key_base)" \
  -e ADMIN_PASSWORD="your-admin-password" \
  -e SINATRA_DATABASE_URL="postgres://sicura_import:import-password@classic-db-host:5432/sicura_console" \
  -e SINCE="2026-08-01" \
  registry.customers.sicura.us/products/sicura-console:2026.11.0-rails \
  sinatra:import | tee sicura-import-report.txt

The command exits with status 0 when the import succeeded or was already done, and with a non-zero status when it refused or failed. set -o pipefail makes the shell report the import's status rather than that of tee. A refusal says why and writes nothing; fix what it reports and run the same command again. Once a run has set up the new databases, the admin password stays the one it set, even if you change ADMIN_PASSWORD; to use a different one, drop the three databases before you run the import again. As long as the DB_* settings name new databases, the Classic Console's database is never written. A failure while importing the configuration names the Classic Console record it could not import and leaves no partial configuration behind; fix what it reports and run the same command again. A failure while bringing history keeps the configuration and the history brought so far, and the report still lists everything the configuration import did, so save it; the same command continues the history.

Running the same command again after a successful import does not change the imported configuration, and the report says it was already imported. If an import stopped while it was bringing history, running it again continues the history where it stopped, without bringing any job twice.

4. Save the Report

When it finishes, the command prints a report of what it imported, renamed and skipped, and why. The report is not stored anywhere else, so keep sicura-import-report.txt. Messages from setting up the new databases appear in the terminal but are not part of the report. It lists:

  • Imported — how many of each kind of item came across, including jobs, the per-node entries of those jobs, enforcement runs, scan reports and their rule results. For the rule results, it also counts how many rule IDs were found in the installed compliance content, how many show the control's name instead, and how many controls the installed content no longer has.
  • Renamed — anything the Sicura Console needed to name differently. Profile names cannot contain /, ?, # or %, and a custom profile and a certification profile cannot share a name, so those are renamed, and every task and setting that used the old name follows. A folder named like a built-in folder is renamed too, and so is a group whose name the Sicura Console already holds, such as the built-in Operators group.
  • Skipped — anything left out, and why. For example, when two approved endpoints share a fully qualified domain name, the one updated most recently stays and the others are kept as deleted nodes. A scheduled task on a deleted node or a hidden endpoint with no Agent, or one whose profile was not imported, is left out. History lines say how many Classic Console job records were left out, and why: for example, the Classic Console's internal agent login updates, which are not history.
    • A scheduled enforcement task that uses a default profile is skipped if the Classic Console replaced its default profiles in a content update after the task was created. Its line says its enforcement profile (Classic Console id <id>) was not imported. Create those tasks again in the Sicura Console.
  • Notes — anything else to know. For example, a folder holds at most 500 nodes in the Sicura Console; a Classic Console folder with more is imported whole, but takes no new nodes until it holds fewer.

5. Start the Sicura Console and Check the Result

Start the Sicura Console against the same databases, as Container Installation describes, with the same DB_*, SECRET_KEY_BASE and ADMIN_PASSWORD settings.

Sign in as admin with the ADMIN_PASSWORD you gave the import. This is the Sicura Console's own built-in admin user: the Classic Console's admin is not imported, and its Classic Console password does not work. On the License page, upload the Sicura Console license you got before you started (see Licenses), and check that:

  • The node tree on the Infrastructure -> Nodes page matches the Classic Console, apart from endpoints a Puppet server reported that have no Agent, which are imported hidden (see What Is Imported).
  • Your custom profiles are on the Custom tab of Control Management, and your certification profiles, with their exceptions, are under Certifications.
  • Your scheduled tasks are on the Infrastructure -> Scheduling page.
  • Each node's Scan Results tab shows its last Classic Console scan of each profile (see Scan Results).
  • Past scans and enforcements are on each node's Job History tab, as Job History describes. The runs of a scheduled task aimed at a folder are also on that folder's Task History tab.
  • Your local users and groups are on the Access Management page. Set a password for each user who needs to sign in, and replace their placeholder email (see Users).
  • Users outside the Administrators group can do nothing yet. Add each one to a group that holds a role, such as the built-in Operators or Viewers group, or give their imported groups roles (see Groups).
  • Each user who calls the Console API creates a new API token (see API), and you update every script that used a Classic Console token.
  • Node and folder settings are as you set them, except on hidden endpoints, whose settings are not imported.
  • Agents connect. An Agent connects at its next check-in, without being registered again.

A one-time task whose time had already passed is imported as having run, so it does not run again when the Sicura Console starts.

Then set up what was not imported (see Not Imported).

6. Going Back to the Classic Console

The Classic Console's database is unchanged, so until you drop it you can go back:

  1. Stop the Sicura Console.
  2. Start the Classic Console again, against its database as before. If you started it with --rm, its container is gone, so run it again with the same options.

Anything done in the Sicura Console is not carried back: scans run, Agents registered, and changes made since the import.

To import again later, for example after using the Classic Console for a while, first drop the three Sicura Console databases, or choose new names as Prepare New Databases describes. If you run the import into the same databases again, it says the configuration was already imported and does not bring configuration changes made since then, such as new nodes, profiles, tasks or users. It only adds job history and scan results it has not brought yet, within SINCE, for the nodes it imported before. Either way, stop the Classic Console first, as in Stop the Classic Console.

7. Drop the Classic Console's Database

Drop the Classic Console's database only once you have checked the Sicura Console and no longer need to go back. Until then, it is your way back. The Sicura Console never uses it, and the import never changes it.

What Is Imported

  • Nodes — the whole node tree, folders and endpoints, with the ids the Classic Console gave them. Approved endpoints keep their Agent login tokens, so their Agents keep reporting. Endpoints a Puppet server reported to the Classic Console, with no Agent of their own, are imported hidden with their scan and job history: the Sicura Console cannot scan or enforce them without an Agent. Once you install an Agent on one, it registers as that endpoint, history included, and waits for you to accept it. The import report says how many were hidden. Their node settings are not imported.
  • Deleted nodes — kept, still deleted, so that their past jobs stay attached to them.
  • Rejected Agents — still rejected. Agents waiting for approval are not imported; they register again on their own, and you accept them as usual.
  • Node settings — the risk tolerance and default scan profiles you set on a node or folder. Settings a node inherits from its folder are inherited again.
  • Agent registration token — copied unchanged, so Agents not yet registered can still register.
  • Custom profiles and certification profiles — a certification profile's exceptions, which the Classic Console kept per platform, are combined into the one certification profile.
  • Scheduled tasks — owned by the admin user.
  • Local users and groups — users who signed in with a password the Classic Console held, the groups, and who belongs to which group. Users who signed in through a directory service are not imported.
    • An imported user cannot sign in until an administrator sets their password, since the Classic Console's passwords cannot be carried across.
    • The Classic Console stores no email addresses, but the Sicura Console needs one for every user, so each imported user gets a placeholder email built from their username, such as jdoe@sinatra-import.invalid. Characters an address cannot hold become -, and if two users would get the same address, the second gets its Classic Console user id added (jdoe+42@sinatra-import.invalid). Addresses on .invalid never receive mail. Replace each placeholder with the user's real address on the Users tab (see Users).
    • Groups come across without roles. Members of the Classic Console's Administrators group join the Sicura Console's Administrators group, so they stay administrators.
    • A user whose name the Sicura Console already holds, such as admin, is left as it is. The report lists each one.
    • A group whose name the Sicura Console already holds, ignoring case, such as the built-in Operators or Viewers, comes across with "(Classic Console)" added to its name, such as Operators (Classic Console), keeping its members and holding no role. Its members do not join the existing group, which could give them that group's role. If that name is taken too, a number is added, such as Operators (Classic Console) 2. The report lists each renamed group.
  • Job history — the scans and enforcements the Classic Console ran, from the date you choose with SINCE or all of them (see Choosing How Much History to Bring). A scheduled task's run becomes one job with an entry for each node, as the Sicura Console shows its own jobs. A scan or enforcement you started becomes one job too, except a scan of a folder whose endpoints use different default profiles, which becomes one job per profile.
    • A job that was still queued or running when you stopped the Classic Console is imported as cancelled or failed, and one the Classic Console would have timed out by then is imported as expired. None of them runs in the Sicura Console.
    • A run queued or cancelled for after the Classic Console last ran a job, such as the next run of a repeating scheduled task, is left out. The Sicura Console schedules imported tasks itself.
  • Enforcement changes — what each no-op enforcement found it would change. The Classic Console kept only the changes a no-op found, so an enforcement that applied changes is imported with none listed.
  • Scan results — every scan the Classic Console kept, from the date you choose with SINCE or all of them, with its result for each rule. A scan that ran as a job is attached to that job. A node's newest imported scan of each profile is its current result on the Scan Results tab until the node's first scan of that profile in the Sicura Console replaces it.
    • Results are read against the compliance content installed in the Sicura Console. A rule that the installed content no longer has is shown as Unknown control.
    • The Classic Console kept each result's control but not always its rule ID. Where the installed content has no single rule ID for the control on that node's platform, the rule is shown by its control name.
    • Results the Classic Console could not tie to a control, which it listed without a title, are not imported.
    • A node's current result is its newest scan by the time the scan ran. Where the Classic Console received an older scan after a newer one, it showed the older one as current, so the two can differ.
    • A scan whose profile or platform the Sicura Console cannot match to its installed content, such as a profile that was not imported, is imported as history but is never a node's current result. So is a scan the Classic Console recorded on a different platform from the one the node is on now, for example before an operating system upgrade, since it scanned a different benchmark. The report says which.
    • A scan whose benchmark the installed compliance content cannot read is imported as history only, and the report names its profile and platform. If the content's controls cannot be read at all, bringing history stops with that error. Reinstall the compliance content, then run the same command again to continue.
    • Only the scans the Classic Console still held are imported. If its main.max_scans setting limited the scans kept per node (see Collector), older scans were already deleted.

The All Nodes and Unassigned folders keep those names, even if you renamed them in the Classic Console. Default profiles are not copied: the Sicura Console creates its own from the installed compliance content.

Not Imported

The import report's Notes list each of these that your Classic Console holds, with how many.

Set up again in the Sicura Console

  • Access — Classic Console roles, permissions and role assignments are not imported. Members of the Classic Console's Administrators group join the Sicura Console's Administrators group and keep full access. Every other imported user can do nothing until you add them to a group that holds a role (see Groups).
  • Passwords — set one for each imported user who needs to sign in (see Users).
  • LDAP and Active Directory directories — add them again under Settings -> Authentication. Only one directory can be enabled at a time, so if the Classic Console used several, choose the one your users sign in through. Users who sign in through a directory are not imported; turn on Create accounts on first login to create their accounts when they first sign in.
  • The license — the Classic Console's license does not work in the Sicura Console. Upload a Sicura Console license on the License page (see Licenses).
  • Machine images — build them again.

Created again by each user

  • API tokens — Classic Console API tokens do not work with the Sicura Console, including the admin token set by main.default_admin_token (see Accounts). Each user creates new ones (see API), and every script that used an old token stops working until you give it a new one.

Not available in the Sicura Console

These have no equivalent in the Sicura Console. They stay in the Classic Console's database, which the import does not change:

  • Notifications — notification rule sets and notification services are not imported.
  • Reports — report templates, and the reports the Classic Console generated, are not imported. Download any report you want to keep while you can still start the Classic Console.
  • Control profiles — control profiles, and scheduled tasks that scan one, are not imported. Control profiles are not custom profiles: your custom profiles and certification profiles are imported (see What Is Imported).
  • Agent registration automation rules — new Agents wait for you to approve them.
  • Security labels — access in the Sicura Console comes only from the roles of a user's groups.
  • Google and Okta sign-in — users who signed in through them are not imported. Create a built-in account for each one who needs to sign in. The same applies to any other sign-in service that is not LDAP or Active Directory.
  • Cloud credentials — the Sicura Console does not support them yet.
  • Enforcement tolerance on profiles — the risk tolerance set on nodes and folders is imported instead.

Coming Soon

A future release of the Sicura Console adds cloud credentials.

The Classic Console's audit log is not part of its database and is not imported. Save it before you stop the Classic Console (see Stop the Classic Console).