Finally, its done!!!
Included are two scripts in a ZIP file. The basis of the scripts got me from D4.7 to D6. I've been running D6 now for a few days and I'm satisfied there aren't any major errors. The scripts are modified however, since I have different table prefix needs than what the standard issue Oracle driver supports. Therefore I haven't actually run either script above, but I'm confident they'll work.
The pre-upgrade script prepares your data so it looks like a 5.x database with the separate CLOB table.
The post-upgrade script cleans up anything not done by the Drupal 6.x database upgrade system (update.php). This includes stuff not hit because it was hidden behind mysql/pgsql case statements.
Note I haven't run either script as-is because I have database table name prefixes that aren't compatible with this script. I went through the scripts and removed all the prefix handling, but it still might not work. If you find stuff that breaks please post here and I'll take a look at it.
Tips:
- This script only really deals with the core-required tables and related objects, and some core-optional modules.
- You will probably want to disable and uninstall (remove database tables) any non-core and non-required modules you use. If you need to keep module data or settings, export those to another table or some non-oracle storage format before you upgrade. After you upgrade, you can re-enable the modules, and the database tables will be created properly by the D6 Oracle driver.
Comment | File | Size | Author |
---|---|---|---|
D4.7 update.zip | 13.24 KB | siromega |
Comments
Comment #1
aaaristo CreditAttribution: aaaristo commentedThanks siromega! It would be nice if someone would like to test those scripts, and report on this thread.
Comment #2
aaaristo CreditAttribution: aaaristo commentedComment #3
cashwilliams CreditAttribution: cashwilliams commentedI'm going to test these scripts on a copy of an existing 4.7 site we have running. We're planning to move it to D6 very soon.
Comment #4
siromega CreditAttribution: siromega commentedThanks! Be sure to back up your data first and let us know how it turns out.
Comment #5
bohartDrupal 6 is no longer supported.