I'm exporting nodes from one Drupal 7 site to another Drupal 7 site using Drush.
quickstart@qs10:~/websites/mysite.dev/sites/mysite.dev$ drush ne-export --type=blog --file=/home/quickstart/blogentries.txt
quickstart@qs10:~/websites/mysite.dev/sites/mysite.dev$ cd ~/websites/mynewsite.dev/sites/mynewsite.dev
quickstart@qs10:~/websites/mynewsite.dev/sites/mynewsite.dev$ drush ne-import --uid=2 --file=/home/quickstart/blogentries.txt
Expected Result:
All of the nodes would be imported and the created and updated timestamps would be the same as the original site. This is a blog, so I want the blog history and any views I build on this to preserve the timeline of posts.
Actual Result:
All of the nodes were imported, but the created and updated timestamps were set to the time of the import.
Additional Comments
I checked the exported file and they appear to have exported into the file correctly. It seems the import function is ignoring what's in the file.
Thanks.
Comments
Comment #1
seismicmike CreditAttribution: seismicmike commentedOh, also.... I read this, but it didn't seem to have a solution to my issue.... They seem to be addressing it from the export perspective. As I mentioned, the data exported fine. It just didn't import. http://drupal.org/node/1008496
Comment #2
danielb CreditAttribution: danielb commentedThis is configurable.