summaryrefslogtreecommitdiff
path: root/_posts/2009-04-17-how-to-backup-your-drupal-site-using-backup-migrate.markdown
blob: 9aedf2eda5c57ecf59e16ab3aefee109844302b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
layout: post
title: How to backup your Drupal site using Backup & Migrate
tags: [ development ]
published: true
---

Back from the dead; I mean, my hosting has been dead for more than a week.
That's why I finally decided to back my Drupal website up just in case I get
screwed again. The magic tool: [Backup &
Migrate](http://drupal.org/project/backup_migrate")!

Backup & Migrate is a Drupal module that, once installed, allows you to
easily backup your entire database into one single file. It also has the
ability to:

* Restore that backup in any Drupal installation.
* Schedule backup generation.
* Generate backups under gzip, bzip or zip format.
* Select only the tables you want to backup and even the table structure (no content).

The only thing I found missing is file backup, such as images, themes and other
modules. I honestly hope it knows what modules were installed so the only thing
I need to do is paste the entire <code>sites</code> folder, install this
module, import the database and _wham!_, the site is up and running. Oh and by
the way, Drupal core version is something to consider, since it depends heavily
on the database configurations. Just make sure the version you currently use is
the same to the one you're importing the database to.

If you know Drupal, you know portability is a serious issue of his. Well, at
least you know how to back it up and even set boundaries between your
development and production environments!