Tech/Server Notes

From Stumptown Syndicate
< Tech
Revision as of 16:59, 17 July 2013 by Reid (Talk | contribs) (Added summary of services on

Jump to: navigation, search


This box hosts and sites for many of our projects.

Upgrading WordPress

We handle WordPress upgrades for the Syndicate network using svn.

cd /var/www/

# Get the mysql credentials
head -n 30 wp-config.php

# Dump a backup of the WP database (you'll be prompted for the password that you just displayed)
mysqldump -u syndicate -p syndicate > ~/wordpress_backup_`date +%s`.sql

# Determine the current version of wordpress by looking at the URL provided by:
svn info

# Switch to the new version, replacing x.x.x with the desired version number
svn switch