This video takes a look at the “Profiles” tab. We explore the “Default Settings” profile, and then create two custom profiles of our own.
Profiles
Let’s take a look at the default profile, and then create a new, custom profile.
- Go to “Configuration => System => Backup and Migrate => Profiles” (admin/config/system/backup_migrate/profile)
Here, you'll see the "Default Settings" profile. Let's go ahead and click "override" to take a look at it's settings.
- Click "override"
You'll notice that page has all of the same options as the "Advanced Backup" page. This profile is actually what gave us the starting point for our advanced backup. I'm not going to change anything here. Instead, I'm going to go back and create a new profile that includes the "sessions" table.
- Click back
- Click "Add Profile"
- Profile Name: Include Sessions
- Backup file name: [site:name]-IncludeSessions
- Exclude the data from the following tables: (uncheck "sessions")
- Another way to view the options is to click "View as checkboxes". You may find this easier to use.
- [x] Lock tables during backup
- I'm going to lock the tables during backups that use this profile. That means that nothing can be written to any of the database tables (i.e.: new content/comments/users etc.) while this backup is running. And I won't take the site off-line so that users can still browse the site, they just can't add or edit content.
- [x] Send an email if backup fails
- (Save profile)
So that's how easy it is to create a new profile!
I'm going to create one more profile that locks the tables and takes the site completely off-line so that there's virtually no chance of corruption due to activity at the time of backup.
- Click "Add Profile"
- Profile Name: Locked Tables & Offline
- Backup file name: [site:name]-LockedOffline
- [x] Lock tables during backup
- [x] Send an email if backup fails
- [x] Take site offline (You can change the "Site off-line message" if you want. I'm just going to leave the default message.)
- (Save profile)