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 ■ Administering Your <strong>Drupal</strong> Site<br />

The next step is to set the schedule for automatic backups. To do so, click the Schedules tab at the top of<br />

the page, revealing the configuration options shown in Figure 14-2. If you haven’t set a schedule previously,<br />

the page will simply display an “Add schedule” link. Click that link to view the parameters that you can set for<br />

scheduling backups. First, enter a name for the Schedule. We are going to set the backups to be performed<br />

on a daily basis, so enter “Daily Backups” as the name. Next, set the “Backup every” field to 1 Day(s). Finally,<br />

set the “Number of Backup files to keep” to 14, meaning <strong>Drupal</strong> will retain 14 days’ of backups before<br />

deleting the oldest backup file and storing the newest file. This helps protect you from consuming massive<br />

amounts of disk space for old backup files. Set this value carefully. You may have legal requirements in<br />

your industry that require that you keep backup files for a certain number of days, weeks, months, or years.<br />

Finally, click the “Save schedule” button.<br />

Figure 14-2. Setting up the automatic backup schedule<br />

<strong>Drupal</strong> will now automatically back up the site on a daily basis. The last step is to perform a manual<br />

backup of your site. To do so, click the Backup tab (see Figure 14-3). On the resulting page, select the Default<br />

Database as the database to back up from, set the “to” option to the Manual Backups Directory (you can also<br />

select Download, which will download the backup to your local computer), and set the “using” option to<br />

Default Settings. Finally, click the “Backup now” button.<br />

Figure 14-3. Manually backing up your site<br />

159

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

Saved successfully!

Ooh no, something went wrong!