Installing/Updating WordPress with Subversion « WordPress Codex

Installing/Updating WordPress with Subversion « WordPress Codex

This is a neat way to keep my local copy of WordPress updated. I use the local version primarily to check theme changes and plugins.

  1. First I backed up my blog folder.
  2. Then I used TortoiseSVN to checkout a copy from http://svn.automattic.com/wordpress/tags/2.2.1/ to setup the blog folder with a clean version of WordPress.
  3. Then I copied the backup copy of my config data, plugins folder, and themes folder into this directory.
  4. Then I used the “Switch” command to update this version to the http://svn.automattic.com/wordpress/tags/2.2.2/ version.
  5. Finally I ran the upgrade.php file to make sure the database was updated.

This is a relatively painless way to make minor upgrades. Technically this should work for pretty major upgrades, too!