Migration

Now I talked about updating and backups.

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

Migration

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 🙂

Advertisements

Migrating Mails from Outlook to Google Mail

I never thought I would actually want to migrate from Outlook to Google Mail with my whole stored mail data.

But with my internship abroad coming up and my inability to take my desktop pc with me I realized I need to be able to access my old mails (and sadly I don’t have Outlook on my laptop until now)

So solution is to simply move to Google.

I changed some of my subscriptions to get the mails to Google but I realized I had many old mails I had to migrate as well.

After asking my best friend (a.k.a. Google Search) I found several ways to migrate data from Outlook. One guy (?) used several IMAP accounts (??????) or using some software from Google. I found the idea great but I thought it was pretty much overkill to install a software just for some emails (it probably works well for really large amounts of data).

But IMAP brought me the idea to just use my Google Account and get on with it.

What to do:

I originally used POP3 for that particular account and not IMAP it just wasn’t necessary for me to use IMAP.

So I configured Outlook to access the Google Mail Account (onwards “the Account”) via IMAP.

I also opened the Account in my browser. And thought about my folder structure a little bit.

I choose two ways for migrating my mails:

1. Folder to Folder

I created some labels in the Account similar to some of my folders in Outlook (and I changed it around a little bit as well).

Now when Outlook updated the Account labels will be displayed as folders… I just moved the mails I wanted to keep from one folder to another and the mails are in the Account already assigned with the appropriate label.

2. Folder to Inbox

Same as above but I used it to also clean up my folder structure and delete unneeded mails.

I also applied filters in the Account and my mails are now sorting themselves as they did in Outlook.

Tip: don’t select to many mails when you move – Outlook will take some time (or crashes…) I know why the others didn’t use this idea…