Backing up a Drupal Database
tip, linux, howto, geek, Drupal, code and bash.I was just dumping a database using mysqldump and I noticed that tables such as cache (and its cousins cache_page, cache_menu, etc), sessions and watchdog...
View ArticleHow to import users into Drupal using Devel
tip, programming, howto and Drupal.The first test is a valid email address test. The second test is if an account exists for that email address. The third is if the username, generated by the "user"...
View ArticleI'm a lazy linux piper
tip, svn, linux, howto, geek and Drupal.This morning I updated a site to the latest release of Drupal 5.16. Nothing special there at all. I've done that many times as has (hopefully) mabye other drupal...
View ArticleBacking up a Drupal Database: Redux
tip, linux, howto, geek, Drupal, code and bash.Back in November last year, I wrote a script which handled backing up a drupal database. There were quite a few comments and I've taken some on board and...
View ArticleHow to use "sed" to find and replace
tip, linux, howto and bash.After Worldpay recently changed to use the RBS system, I was tasked with finding every instance of select.worldpay.com/wcc/purchase in our forms and replacing it with...
View ArticleMySQL: Count occurrences of string
tip, mysql, geek and Drupal.Today I needed to quickly find out a list of node's which did not contain a certain token (one we use on PPOnline to insert adverts into articles). There were meant to be 2...
View ArticleExport a single row from a database as MySQL
mysql, tip and programming.Nathan Rambeck has a great simple snippet of how to export a single row from a table however it didn't QUITE do what I needed it to. I needed to export a variable from...
View Article
More Pages to Explore .....