Seamlessly upgrade Wordpress

Wordpress 2 My blog is set up like this:
basedir/wp201: all files for WP2.0.1 (now obsolete)
basedir/wp203: all files for WP2.0.3
basedir/blog: symlink to wp203 directory

Apache serves files from directory blog, so upgrade and rollback can easily be made by changing the “blog” symlink from one version to another — the database part isn’t that easy though.

I have downloaded the last tarball, and untared it.

Then I’ve obtained the patch (diff -urN) between the original files from the actual version that I run (wp203) and last one (wp204).

I’ve copyied (cp -prl) basedir/wp203 to basedir/wp204. The last step is
applying the patch between pristine wp203 and wp204 to my own wp204 folder, and that’s it: I get a upgraded Wordpress 2.0.4 installation, maintaining all the changes I have made to some files.

0 Response to “Seamlessly upgrade Wordpress”


  • No Comments

Leave a Reply




Close
Powered by ShareThis