Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2: Essential Tools: Drush and Git > Database Backup Tools

Database Backup Tools

While Git will help you keep your files and code backed up via version control, it is also important to back up your database regularly. This is vitally important for a site being used by other people, such as clients. Since much of Drupal websites (including content) resides in the database, not backing up could have serious consequences if things go wrong.

The Drupal Git Backup Drush script, available at github.com/scor/dgb, can be used to easily export the database tables you care about and commit them to version control. This is covered more in Chapter 12.

If the setup is too much for you—heck, even if you do nothing else in this chapter—please install the Backup and Migrate module (drupal.org/project/backup_migrate), which will allow you to easily and regularly back up your entire database into a folder that you set up in the configuration settings.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint