18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14<br />

Administering Your <strong>Drupal</strong> Site<br />

If you have followed along in the previous chapters, you now have enough knowledge to build a <strong>Drupal</strong><br />

8-based website. Building your website and releasing it to the world is an exciting experience, and one that<br />

often brings with it great pride and joy. Whether your site has two or three pages or hundreds, deploying a<br />

website and seeing traffic on it is a rewarding and enriching experience. Deploying your website is just a step<br />

along the journey; it is by no means the end. As the proud owner of a website, you must monitor it, nurture<br />

it, expand it, and support it, all of which are involved in administering your website.<br />

Administering a <strong>Drupal</strong> website can be a relatively simple task, depending on the size of your site, the<br />

number of users, the number of users who have the ability to author content, and the number of modules<br />

that you’ve installed. Over the past several years, I’ve created a number of personal “pet” project websites<br />

that are up and running, and I rarely do anything other than go out and glimpse at the site logs. There are<br />

other sites that I have built that require more attention, and the amount of attention really depends on the<br />

criteria I just mentioned.<br />

Typical site administration tasks that you will want to consider performing on a periodic basis include<br />

• Backing up the site so you can restore it should anything disastrous happen.<br />

• Backing up the file system.<br />

• Checking the logs to see if there are any errors that you need to address.<br />

• Checking to see if there are any security patches to modules you have installed.<br />

• Checking to see if there are any module upgrades that make sense to deploy on<br />

your site.<br />

• Checking to see if there are any <strong>Drupal</strong> core updates that you need to deploy.<br />

• Approving requests for new user accounts.<br />

In this chapter, I’ll describe in detail each of these administrative tasks.<br />

Backing Up and Restoring Your Site<br />

If you don’t do anything else on this list of administrative tasks, at least make sure that your data is safe and<br />

recoverable in the case of an unexpected disaster. It’s easy to put off backing up your site, as it’s likely that<br />

you’ll rarely need to go back and restore your site from a backup. But speaking from experience, the first time<br />

you need to restore your site but don’t have a backup is the last time you won’t have backups in place from<br />

the start. Take it from the voice of experience: the few minutes it takes to set up backups are well spent.<br />

157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!