Community discussions

MikroTik App
 
tiftok
newbie
Topic Author
Posts: 49
Joined: Thu Apr 07, 2016 1:40 pm

migrate-legacy-db not work in usermanger7

Wed Nov 03, 2021 7:46 pm

i make old.umb but not work
[admin@MikroTik] > user-manager/database/migrate-legacy-db database-path=old.umb overwrite=yes
Migrate from legacy database? [y/N]:
y
Loading legacy data to new database
Failed to migrate legacy data
Legacy database not found in provided path

i test direct use user-manger folder
[admin@MikroTik] > user-manager database migrate-legacy-db database-path=user-manager/logsqldb overwrite=yes
Migrate from legacy database? [y/N]:
y
Loading legacy data to new database
Failed to migrate legacy data
Legacy database not found in provided path

how i can use migrate-legacy-db to upgread database or this not avalibal now ?
 
cheesus
just joined
Posts: 1
Joined: Tue Jan 14, 2014 12:27 am

Re: migrate-legacy-db not work in usermanger7

Fri Dec 10, 2021 9:57 pm

Anyone found a solution already? I have the same problem and I cannot find anything about the migration
 
sjtuross
just joined
Posts: 3
Joined: Sun Apr 21, 2019 8:38 am

Re: migrate-legacy-db not work in usermanger7

Tue Jan 04, 2022 9:39 am

Same issue in 7.1.1 Stable.
 
3nginizer
just joined
Posts: 17
Joined: Fri Mar 31, 2017 5:14 am

Re: migrate-legacy-db not work in usermanger7

Thu Jan 27, 2022 9:09 pm

Same here on long term 7.1, I hope developers come up with a workaround fast.
 
Drakh
just joined
Posts: 13
Joined: Wed Nov 30, 2016 9:24 pm

Re: migrate-legacy-db not work in usermanger7

Sun Mar 20, 2022 7:59 pm

I experience the same error with 7.1.3 stable and I don't see any reply from the Mikrotik team on how to make this work or why this is not working.

I have a lot of information in my 6.47.3 UM and rebuilding the database from scratch is not an option.

Is this really expected behavior from an stable release? I mean is 7.x not ready for production? let us know so we don't use 7.x yet.

Thanks.
 
EmadBeh
just joined
Posts: 2
Joined: Sat Jun 18, 2022 2:17 pm

Re: migrate-legacy-db not work in usermanger7

Sat Jun 18, 2022 2:47 pm

I have same problem.
 
sjtuross
just joined
Posts: 3
Joined: Sun Apr 21, 2019 8:38 am

Re: migrate-legacy-db not work in usermanger7

Thu May 04, 2023 1:35 pm

It's fixed in 7.6 per change log. Tested on 7.9 today and it worked.
 
xgoldy4u
just joined
Posts: 3
Joined: Mon May 14, 2012 11:57 am

Re: migrate-legacy-db not work in usermanger7

Sun May 14, 2023 4:03 pm

Please share your method, stuck on the same thing even with 7.9. it is not working for me. Saying db path doesnt have the database.