views:

81

answers:

4

I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and some plugins which i want to upgrade has been modified before to achieve something.

http://is.gd/b5j9h

  • How to upgrade Wordpress to latest without loosing anything, any post, comments?
  • What precautions should i take?
  • How should i take backup of all things?
  • Should i take backup of database also?
  • How to upgraded modified plugins without loosing functionality?
+3  A: 

It really depends from which version to which. From my experience with WP: It can go flawlessly; it can also turn out to be a terribly cumbersome work, depending on what plug-ins are running and what else has been done with the installation.

Anyway, I'm pretty sure there are extensive migration guides on the Wordpress site - reading through, and working with those should be your first order of business.

A few general points:

How should i take backup of all things?

Do a full backup of all the site's folders through FTP, and make a dump of all databases used (it's usually one database). You can use phpMyAdmin's "Export" function for that.

Should i take backup of database also?

Yes, definitely.

How to upgraded modified plugins without loosing functionality?

That is impossible to answer without knowing the plugins. It can range from "will work flawlessly" to "awful mess". Best ask the person who modified the plugins.

Pekka
here is the list of plugins http://is.gd/b5j9h
metal-gear-solid
@jitendra I don't know all of those plugins, nor do I know how they have been modified. This is something you will find out only by upgrading the blog, or by hiring a PHP programmer to take a look (who would probably look carefully at each plugin, fix obvious incompatibilities, and upgrade to 2.9, see whether everything works well and fix what doesn't.) Most plugins, I assume, have been updated in the meantime to work with 2.9 as well, so maybe it's best to re-download those plugins and re-apply the customizations. It really depends.
Pekka
I had changed some things in Theme also , so is there any possibility to get something wrong with theme after CMS upgrading
metal-gear-solid
@jitendra it is possible, but I'd say just make a copy and try it out. (You could install a 2nd copy of the blog elsewhere, or on your local machine, to test, anyway. You shouldn't do the update on the live site, if your client is not okay with the prospect of some serious downtime if something doesn't work.) That said, jumping from 2.7 to 2.9 isn't really that much of a big deal, so chances are most things work out fine.
Pekka
for plugins which are not modified and if i press "Upgrade Automatically" , how can i assure pressing "Upgrade Automatically" will not create any problem for plugin and will run like it was running previously? and is there any cons to press and upgrade Wordpress directly using "Please update automatically" "http://easycaptures.com/fs/uploaded/288/1816142363.png"
metal-gear-solid
@jitendra if 2.7 to 2.9 is already covered by the automatic update, great. Definitely try that first. Still, make sure you have a full set of backups. Also, if it's a live, high-traffic site, I'd make a copy and try it with that.
Pekka
Just want to reinforce Pekka's comment about trying on a copy first. I always have a test version of my site as well as a live version. I update the test version first, to check nothing breaks, then do the live version. Doing the test version first also helps in terms of a practice run, so I know exactly what to do on the live site and am not hunting around for missing info etc.
Kris C
@Kris - thx for ur comments
metal-gear-solid
@Pekka - Should we take database backup manually using phpmyadmin or and wordpress pluging can do this.?
metal-gear-solid
I use phpmyadmin to take the database backup. And remember to test the restore too! No point having backups if you don't know that they work.
Kris C
@jitendra I would use PHPMYAdmin. Make sure you import the dump into another database and compare the number of rows in each table. phpMyAdmin sometimes screws up the dump.
Pekka
@Kris I overlooked that you already said the same thing, sorry :)
Pekka
A: 

If you've modified the source code of Wordpress and/or extensions you'll need to manually upgrade them so you can re-implement your hacks accordingly.

John Conde
+1  A: 

Wordpress has an excellent export feature

It will export in an XML format

This really makes the Database backup redundant- but I would suggest that you take the backup anyways

Also disable your plugins before the upgrade and then turn them on one by one...

RN
thanks for this suggestion
metal-gear-solid
+1  A: 

I use WordPress off svn.

For my personal site I'm living on the trunk and on the more "serious" sites I use the stable branches and the usual svn switch when I want to upgrade.

I also only use plugins which are available at http://plugins.svn.wordpress.org

By doing so I'm able to keep my modifications to my plugins when I do svn up. It will merge the updates with my changes.

Kent
I like this approach.If i'm testing a wordpress migration/update etc.I'll do it on a staging domain (i.e. staging.example.com) if everything goes well then i'll use svn switch on the prod version.
Jamie