Skip to main content
Version: 7.26

migrate-legacy-db


user-manager/database/migrate-legacy-db​

Package: userman-5
Type: Command

Migrates the User Manager database of RouterOS v6 to the database of the current User Manager: users, profiles, limitations, the links between them, and routers. See Upgrading to v7.

ArgumentTypeDescription
database-pathfileFolder that holds the RouterOS v6 User Manager database, for example user-manager. The found-legacy-db-path value of /user-manager/database shows the folder that the router found.
overwriteboolWhether to delete the data of the current database before the migration. Without overwrite=yes, the command stops with an error when the current database already contains data.