Before starting the upgrade process, copy all the domain directories from their different locations to the install_dir/domains directory.