Drupal 8 is coming

Ok, so it is probably a little late to jump the wagon now but I finally came around to read up on Drupal 8 and watch some preview videos on YouTube.

I am really exited about the new features in D8 and all the changes they made look like they will make working with Drupal 8 really fun.

With the easy migration of configuration from development to live sites the whole site building experience will be getting way better. And with functionality like a WYSIWYG editor in core the experience for new users will get easier as well.

Now I really look forward to seeing more of D8 and testing it as soon as possible (meaning as soon as I get my xampp install updated).

A release date is not yet named but I don’t care I am really exited right now šŸ˜‰


Now I talked about updating and backups.

Now on to what you can do with your backups: *drumroll*


While building your page, fixing bugs or testing updates –Ā it’sĀ logicalĀ to actually work on a local host and not on your real life website…

But then comes the day of migration (finally)

The way I like to do migration:

  1. update the Drupal core (or find the version of your site)
  2. install the Drupal core normally on the other server
  3. migrate the sites folder (and activate one or two modules for the next step)
  4. migrate the database (using Backup and Migrate)

I like to install the Drupal core normally as it is easier than changing the settings manually in the settings file (but you could do that as well if you are sure of what you are doing)

To make a transition fromĀ online to offline and back as smooth as possible I always do one of the following to be sure the will be databaseĀ working correctly:

  • update both sites at the same time – if by chance you know there will be no problems… which you don’t –Ā or I have a test site running on a server (group projects…)
  • testĀ the update on the test site and afterwards update the productive siteĀ 

Always be careful to migrate the database when you have the same versions running otherwise you could get errors (especially if the database was change with the update)

And of cause backup both you test site and your productive site before you do the migration!

And done šŸ™‚

Database backup

I already talked about backing up yourĀ Drupal installationĀ in my posts about updating Drupal.

Backing up the code is pretty easy – just copy your whole Drupal installation – and done.

But how do you backup the database nice and easy?

The easiest way I found was the Module Backup and Migrate.

You can easily back up the database just with a click or setup automatic backups for your systems (either saved on a server or send by mail).

You can also setup the backup to be compressed (which is handy, when you need to restore and the Server will not let you do it with a big file)

And the module also restoresĀ the database.

You can also update the Database directly with these files (outside of Drupal – useful if your provider let’s you not update the whole database via Restore – I had the problem once :/ )

Of cause there are more coolĀ options waiting in the module (I just never used them šŸ˜‰ ) and if you search for Backup on drupal.org you find some more Backup and Restore projects not part of the main project (I’ve seen some backup to Dropbox once)

Update Drupal Core

And post number 3 on updating Drupal.

Again about updating the core. I already talked about doing it on an Acquia Drupal Install.

Now: Just a normal update.

After my post about updating the Drupal core on an Acquia Install – now how to update pre-installed modules.

SECURITY: I don’t know if this will work for you (it should!) so go on and back up your database and your code basically your site (database backup and copy of all files in your Drupal install). If something goes wrong and you don’t have a backup – it’s on your head. Try at own risk.

Download and extract the new release of Drupal. Open your folder and delete all files and folders of your old install without the sites/ folder. Now insert the new files and folders again without the sites/folder. And your done.

Don’t forget to run the update.php script!