The import into a completely empty database fail with the exception
Base table or view not found: 1146 Table 'phpcr_workspaces' doesn't exist
I have done bin/console sulu:export at the live system, copied the files of var/export/ into var/import/ of my local dev system, dropped and recreated my local database (without schema) and then executed bin/console sulu:import.
The reason is that importPHPCR is called before importDatabase in the import command.
I found the command doctrine:phpcr:init:dbal that I executed. Then I tried sulu:import again and got
The import into a completely empty database fail with the exception
I have done
bin/console sulu:export
at the live system, copied the files ofvar/export/
intovar/import/
of my local dev system, dropped and recreated my local database (without schema) and then executedbin/console sulu:import
.The reason is that
importPHPCR
is called beforeimportDatabase
in the import command.I found the command
doctrine:phpcr:init:dbal
that I executed. Then I triedsulu:import
again and gotIs
sulu:import
not intended to be run on an empty database?