Updating A Commerce Kickstart Site With Drush

Updating A Commerce Kickstart Site With Drush

Found some pitfalls in updating my Commerce Kickstart install with Drush 6 today. I did it as normal with "drush up drupal" and it crashed after deleting all the files and folders except the sites directory. Long story made short: 

  1. $ drush dl commerce_kickstart
  2. $ drush updatedb -y

The snippet below from tech support helped me to restore the site. I deleted all the old files and directories first.

  1. root@host [~]# cp -ru /backup/cpbackup/daily/username/homedir/public_html/kick/ /home/username/public_html/
  2. root@host [~]# chown balnu:balnu /home/username/public_html/ -R

This only gives you the core version in the latest Commerce Kickstart so I didn't accomplish the desired core update to 7.23.