have you verified where the db has been created - data path
you should always create the db yourself with correct options
connect to db - db2 list tablespace containers for 0 will show the path for catalog
create the db with : on f:\xxx dbpath on ....
take db2look from original db - restore the db2look and check you use automatic storage -
use db2move... with load/import .. maybe tempspace for db2 is on c: - check new db2look -l
------------------------------
Thanks for all answers
Best Regards,
Guy Przytula
------------------------------
Original Message:
Sent: Mon December 05, 2022 05:44 AM
From: Vitalius Svazas
Subject: Db2 restore from Linux to Windows
Hello experts,
Newbie here.
I have a task at my hand to restore DB2 exported from Linux to Windows. I tried restoring using the command "db2move maxdb76 import -io REPLACE_CREATE". I do get quite a few errors on the tables that fail due to whatever reasons (I am happy to resolve them), however, I am getting an issue that I can resolve. The issue is that I am trying to restore the Database to F drive, however, during the restore C drive gets populated and runs out of space.
I am looking for advice on how I can restore DB and redirect restore to F drive.
Db2 version DB2 v11.5.7000.1973
Cheers
------------------------------
Vitalius Svazas
------------------------------
#Db2