... | @@ -45,4 +45,29 @@ At the web root directory, create the file _manifest.yml_ |
... | @@ -45,4 +45,29 @@ At the web root directory, create the file _manifest.yml_ |
|
- d6_user_picture_file
|
|
- d6_user_picture_file
|
|
- d6_user_picture_field
|
|
- d6_user_picture_field
|
|
- d6_user_picture_field_instance
|
|
- d6_user_picture_field_instance
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
|
|
|
|
### Setup source database
|
|
|
|
|
|
|
|
At the settings.php, configure the source database. Note that at the source database must be configured to allow the remote connection through the appropriate permission grants.
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
$databases['migrate']['default'] = array(
|
|
|
|
'database' => 'guifi66',
|
|
|
|
'username' => 'username',
|
|
|
|
'password' => 'password',
|
|
|
|
'prefix' => '',
|
|
|
|
'host' => 'guifi.net',
|
|
|
|
'port' => '3306',
|
|
|
|
'namespace' => 'Drupal\Core\Database\Driver\mysql',
|
|
|
|
'driver' => 'mysql'
|
|
|
|
);
|
|
|
|
```
|
|
|
|
|
|
|
|
### Execute user migration
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
drush migrate-manifest manifest.yml
|
|
|
|
```
|
|
|
|
|
|
|
|
eof |
|
|
|
\ No newline at end of file |