Main menu

You are here

sysadmin

Working with git

IMG_1746-th

Over the past couple of days, I have reviewed several beginner tutorials on git and am now going to try to adapt to a workflow with a drupal 7 site. Because of the complexity of working with the sql database that drupal relies on for content, I will initially concentrate on simple file updates as with css or templates, or image file additions.

Backing Up MySQL

I have 9 databases in MySQL that need to be backed up, so I wrote a bash script that:

  1. Creates folder /backups/SQL_BACK-yymmdd
  2. For each of the databases, uses mysqldump to generate a backup file (in the above folder) named dbname-yymmdd.sql.
  3. After completing for all the databases, then generates a tar.gz of the folder. The compressed file is named /backups/SQL_BACK-yymmdd.tar.gz

The uncompressed files total around 100 MB while the compressed file is only about 19 MB.

The bash script runs under cron at around 10:30pm.

D7 Upgrade - 4/23/11

Very frustrating day.

Followed the Upgrade.txt steps, but when finally at step 13, visit upgrade.php, I got the error message:

"Drupal 7 requires PHP 5.2.4 or higher with the PHP Data Objects (PDO) extension enabled."

Round and round. Checked the host site to make sure php and PDO were there. php -i reported php 5.2.13 and PDO extensions for mysql working. Googled all over but got nothing but dead ends. Changed the connection info to look like D7 settings.php, but that did nothing.

D7 Upgrade - 4/22/11

I made slow progress today, mostly because of my unfamiliarity with the tools greengeeks (my web host) gave me.

Servers

Server / Domain List
Server Domain URL   Notes
tucker home.acheson.org http://home.acheson.org   Acheson home
    https://home.acheson.org   SSL drupal
   

Pages

Drupal theme by pixeljets.com D7 ver.1.1