Install and activate the BackupBuddy plugin, then go to BackupBuddy > Settings, and make the following changes to each section.
On “General Settings” tab:
- ImportBuddy Password: assign a strong password. Record it in the site notes, you’ll need it in a moment.
- Send notification after period of no backups: set to “2” days.
- Error notification recipient(s): set to “firstname.lastname@example.org”.
Local Archive Storage Limits
- Age limit of local backups: set to “2”.
- Limit number of backups to keep by type: set to “2”.
- Limit total number of local backups to keep: set to “2”.
Click “Save General Settings”.
On “Advanced Settings / Troubleshooting” tab:
- Backup file name date/time: set to “Date + time (24hr format)”.
- Limit to one action per cron pass: unchecked.
- Hide “Stash Live” from menu: checked.
- Attempt to override PHP max execution time: checked.
- Maximum time per chunk: set to “295”.
- Maximum main log file size: Set to “10” MB.
Technical & Server Compatibility
- Reschedule missing crons in manual backups: checked.
- Compatibility mode max rows per select: set to “100000” (one-hundred thousand).
Click “Save Advanced Settings”.
Use menu to go to Settings > iThemes Licensing. In the “iThemes Username” field, enter “scott_thomason”; in the “Password” field enter “IbZ87j54!MQh”. Click “License Products”.
Log into server backup1.webmagic.studio as root:
Create a new user with the same user-id as the site’s system user-id in Gridpane. Assign the same password you created at the beginning of this procedure. Then add that user to the “bkup” group. Finally, create a directory under /backup/ and assign ownership to the user.
adduser userid adduser userid bkup mkdir /backup/userid/ chown userid.userid /backup/userid/
Back at the website, use the menu to go to BackupBuddy > Destinations and follow these steps:
- Click on the “sFTP” destination type. That will take you to a page full of destination options.
- Destination name: Enter “/backup/userid”.
- Server address: Enter “backup1.webmagic.studio”.
- Username: Enter “userid”.
- Password: Enter the password you recorded earlier.
- Remote path (optional): Not optional. Enter “/backup/userid”.
Click the “Test Settings” button. If the test worked, it will tell you so in a popup. Close the popup and save by clicking “Add Destination”.
Use the WordPress menu and go to BackupBuddy > Schedules. Delete the default schedules that are already there. That will leave you at the Add New Schedule page. Fill in these fields:
- Schedule name: “Nightly”.
- Backup profile: “Complete Backup (full)”.
- Backup interval: “Once Daily”.
- Date/time of next run: Click the field and a calendar dialog will pop up. Use the sliders to adjust the time to 11:00PM.
- Delete local backup file after remote send success: Checked.
- Schedule enabled? Checked.
Click the “+ Add New Schedule” button.
Use the WordPress menu and go to BackupBuddy > Backup. In the section labelled “Choose a backup profile to run:”:
- Click the checkbox to enable “Send to remote destination as part of backup process.” That will pop up a window with options.
- Check to enable “Delete local backup after successful delivery?”
- Start the destination by clicking the big “/backup/userid” button.
- Start the backup by clicking the “Complete Backup” button.