How to do a minor release upgrade?

Events happening in the community are now at Drupal community events on www.drupal.org.
eggtart's picture

What is the proper way to do a minor release upgrade, say from 6.12 to 6.13? My current drupal was installed under /drupal-6.12. Should I unzip the package to /drupal-6.13, then copy all the files under /drupal-6.12/sites to the new directory, change the domain to point to the new drupal root, and then run update.php? Or should I unzip over the current /drupal-6.12 directory and overwrite all the files there.

Thanks!

P.S. neweggtart = eggtart = Richard Chui

Comments

Hey Richard, Is this server

dalin's picture

Hey Richard,
Is this server running linux?
Have you hacked core?
How competent are you on the command line?

--


Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

Hi Dave, Yes, the server is

eggtart's picture

Hi Dave,

Yes, the server is running linux. We have not hacked core. And I think I am pretty comfortable with the command line.

didn't know u can use command line to update drupal..

foodbo's picture

HowTo: Updating Drupal 6.x to newer minor version - http://drupal.org/node/390448

What I usually does with a

uniforce's picture

What I usually does with a "ssh" is:

  • say public_html is your drupal folder
  • put your new drupal tar ball at the same level as the public_html folder

BACKUP:
rsync -av public_html public_html_01
use phpMyAdmin or mysqldump to backup your mysql db

EXTRACT:
cd public_html
tar --strip-components=1 -xzvf ../drupal...tar.gz

then:
- check related configs and if necessary copy from public_html_01 the backup folder back
- then do the usual update.php stuff

FallBack:
- if things go wrong, fall back to your backup'ed database and drupal folder :-)

Francis Kam
Uniforce System

DrupalHK

Group categories

HKDUG Vocabulary

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: