These are the steps I took when migrating from OSX 10.5 Leopard to 10.6.2 Snow Leopard.
Copied all my data folders in my home direcotry to an external hard drive. The direcotries in my home folder that I copied over were; Documents, Dropbox, Library, Movies, Music, Pictures, Public, Sites, code, scripts
.
Repaired all databases because the first backup said I had errors in one of my tables.
mysqlcheck5 -u root -p -A -r
Next I ran the backup command.
mysqldump5 -u root -p --all-databases > ~/Desktop/mysql-all-databases.sql
I decided to go ahead and backup some of my applications instead of installing them from downloads or DVDs. I copied the following applications from my /Applications
folder to the Apps
folder on my external hardrive: Adium, Colloquy, Cyberduck, Dropbox, Firefox 2, Fluid, Google Chrome, HandBrake-32bit, HandBrake, Remote Desktop Connection, Safari 2.0.4, Safari 3.0.4, Skype, SuperDuper!, Transmit, VirtualBox, VisualHub
Made of backup of all my command line program config settings.
cd /opt/local/etc/apache2
mkdir /Volumes/Backup/oconnor/Backups/configs
mkdir /Volumes/Backup/oconnor/Backups/configs/apache2
cp -r * /Volumes/Backup/oconnor/Backups/configs/apache2/
cd /opt/local/etc/nginx/
mkdir /Volumes/Backup/oconnor/Backups/configs/nginx
cp -r * /Volumes/Backup/oconnor/Backups/configs/nginx
cd /opt/local/etc/ssh/
mkdir /Volumes/Backup/oconnor/Backups/configs/ssh
cp -r * /Volumes/Backup/oconnor/Backups/configs/ssh
cd ~oconnor/
cp -r .gitconfig .gitignore .gitk .profile .ssh /Volumes/Backup/oconnor/Backups/configs/
cd /Volumes/Backup/oconnor/Backups/configs/
- Insert the Snow Leopard DVD
- Exit out of the Install window that comes up.
- Restart the computer
- When you hear the chime of the computer restarting hold down the "c" key.
- Select your language
- On the top file menu click on Utilities and then Disk Utility
- Selected my Hard Drive in the left pane
- Selected the erase button on the top right and then clicked the erase button on the bottom right
- Select Erase again to confirm that you really do want to earse your hard drive. It runs and only takes minute or less.
- Quit the disk utility and then selected continue to install snow leopard
- Went through all the basic prompts for backing up
- Went through and Adjusted mouse, display, keyboard and dock settings for my preferences.
- Ran the System Software Update
- Restored Safari Bookmarks
- Copied over apps from the ones I copied to my External Hard Drive
- Started the apps I copied over and then quit them.
- Copied files form each program I copied over from
/Volumes/Backup/oconnor/Library/Application Support/<program name>
to~oconnor/Library/Application\ Support/<program name>
- Copied over iTunes files for Movies, Music Pictures to their respective folders from
/Volumes/Backup/oconnor/Movies
to~oconnor/Movies
- Installed Xcode from the OSX CD