Hey now.
So just started with Unimus so started with Portable on Win 10.
Now decided to give it a Debian 9 VM.
How do I migrate the install/data from the Win 10 portable install to the VM?
Thanks,
[Solved] Migrate Unimus across platforms?
So trying to piece this together myself.
Stopped unimus on windows.
Stopped unimus on Deb
scp copied the folder into /etc on the Deb machine
renamed /etc/Unimus to /etc/unimus
started unimus on Deb
After a few minutes for service to start I'm still asked to set up user and password (startup wizard) but DB encryption key is prefilled (correctly), license key is pre-filled (correctly). No credentials are present (had only one, ssh key). When I reselect my ssh key dashboard shows me 5 devices in the system (correct #) but device history is not there and backups are not there.
??
Stopped unimus on windows.
Stopped unimus on Deb
Code: Select all
service unimus stop
Code: Select all
c:\programdata\Unimus
renamed /etc/Unimus to /etc/unimus
started unimus on Deb
Code: Select all
service unimus start
??
Tried a few more variations. No joy. Is there anywhere else that data is stored?
Don't understand why my backups didn't follow, why creds didn't follow... Doesn't add up if I'm using hsql.
What am I missing here?
thx.
Oh also, connector settings didn't follow, schedules didn't follow. Seems like more got left than got migrated. So def need some help with proper procedure or, if Win -> Linux migration not possible, should be a heads up at download page and probably in Wiki too.
Don't understand why my backups didn't follow, why creds didn't follow... Doesn't add up if I'm using hsql.
What am I missing here?
thx.
Oh also, connector settings didn't follow, schedules didn't follow. Seems like more got left than got migrated. So def need some help with proper procedure or, if Win -> Linux migration not possible, should be a heads up at download page and probably in Wiki too.
Hi,
Migration is possible.
You had it right, but you need to change the DB path in the configuration file.
So do:
1) Stop Unimus on the old Windows system and new Linux system
2) create "/etc/unimus" on the new Linux system
3) copy "unimus.properties" and "hsql" directories from "C:\ProgramData\Unimus" to "/etc/unimus"
4) in "unimus.properties" change "database.path" value to "/etc/unimus/hsql/db"
Start Unimus on the Linux system.
Migration is possible.
You had it right, but you need to change the DB path in the configuration file.
So do:
1) Stop Unimus on the old Windows system and new Linux system
2) create "/etc/unimus" on the new Linux system
3) copy "unimus.properties" and "hsql" directories from "C:\ProgramData\Unimus" to "/etc/unimus"
4) in "unimus.properties" change "database.path" value to "/etc/unimus/hsql/db"
Start Unimus on the Linux system.
Thanks. I sort of got it working by doing a clean install, running through the wizard (w/ same encryption key and creds) and copying over just the DB folder (hsql?) contents.Tomas wrote: ↑Sun Apr 29, 2018 9:47 amHi,
Migration is possible.
You had it right, but you need to change the DB path in the configuration file.
So do:
1) Stop Unimus on the old Windows system and new Linux system
2) create "/etc/unimus" on the new Linux system
3) copy "unimus.properties" and "hsql" directories from "C:\ProgramData\Unimus" to "/etc/unimus"
4) in "unimus.properties" change "database.path" value to "/etc/unimus/hsql/db"
Start Unimus on the Linux system.
Will have to wait till tonight or tomorrow to give this a shot.
So I just followed this process yet still I'm greeted with the EULA screen and the 'create user and password' screens. I did not go any further figuring better to ask first.Tomas wrote: ↑Sun Apr 29, 2018 9:47 amHi,
Migration is possible.
You had it right, but you need to change the DB path in the configuration file.
So do:
1) Stop Unimus on the old Windows system and new Linux system
2) create "/etc/unimus" on the new Linux system
3) copy "unimus.properties" and "hsql" directories from "C:\ProgramData\Unimus" to "/etc/unimus"
4) in "unimus.properties" change "database.path" value to "/etc/unimus/hsql/db"
Start Unimus on the Linux system.
Thanks,
Could you please post the output of:
Code: Select all
cat /etc/unimus/unimus.properties | grep "database.path"
ls -l /etc/unimus/hsql
cat /var/log/unimus/unimus.log | grep "Connecting to database" -B 3 -A 3
Doh! My mistake - fat-fingered the path in .propertiesTomas wrote: ↑Thu May 03, 2018 9:25 amCould you please post the output of:Code: Select all
cat /etc/unimus/unimus.properties | grep "database.path" ls -l /etc/unimus/hsql cat /var/log/unimus/unimus.log | grep "Connecting to database" -B 3 -A 3
All good now!