By Z2222 on
I just got a Drupal 4.7 site that has been hacked quite a bit. The database is modified, as well as a custom module that I don't want to rewrite for 5.2. I would like to salvage the following information from the old site and insert it into a clean installation of 5.2:
* users
* profiles
* nodes
Is it possible?
If it's not possible to export/import the nodes or profiles, is there a way to just export the users table from 4.7 and insert it into 5.2 or do I need to do something more than that? If I only need to copy the users table should I remove the existing data from the users.data column and just use a:0:{} in that column?
Comments
Has the database been
Has the database been compromised so much you can't directly upgrade to 5.2?
Proton Cannon
custom module
There is a custom module that creates another node type and other unusual stuff in there. Many files in the core were modified. I can upgrade, but it's a buggy upgrade.
I've already been able to import the users table from 4.7 to5 5.2 and it's working so far. If I could import the blog nodes from 4.7 it would save me copying/pasting the content of 300 nodes by hand...
#993076: Export the users
#993076: Export users
http://drupal.org/project/backup_migrate
http://drupal.org/project/node_import
http://drupal.org/project/node_export
etc.