This article series will give you step-by-step instructions for formulating and implementing your backup strategy:
Part 1) Introduction
Part 2) How to install BackWPup WordPress backup plugin
Part 3) How to sign-up for Amazon S3 to store your backup files offsite
Part 4) How to configure BackWPup to store your wordpress website backups on Amazon S3
Part 5) How to restore your website from your backups
In the previous articles in this series we installed the BackWPup plugin, created a job for doing manual backups and signed up for an amazon S3 account
This is Part 4 of 5 in the series.
It provides instructions for creating backups on an automated schedule and automatically uploading the backup file to the Amazon S3 account you created.
Configure the Backup Job to store backup files in Amazon S3
In this step we will configure your backup job to store the backup file in Amazon S3. If you want to learn how to setup a backup job read the second article in the series. If you have not signed for an Amazon S3 account yet, read the third article in this series for step-by-step instructions on signing up for Amazon S3.Ok, now that you have setup a basic backup job, lets open it in Edit mode. Scroll down to the section titled Backup to Amazon S3:
- Enter your Amazon Key ID
- Enter your Amazon Secret Access Key
- If you have created any buckets in S3 already then they will appear in the Buckets drop-down. You can choose an existin bucket here
- If you don’t have any buckets yet (or you want to use a new one), just enter the name for your new bucket in the “Create bucket:” textbox.
A bucket is like a folder on your computer.
- You can store your backup file in the bucket, or you can create a sub-directory under the bucket to store your backup file. This is optional and you can leave this field blank.
In the screenshot above, I have chosen to create a sub-directory called “backwup”
- To avoid filling up your S3 storage with lots of old backup files, specify the number of backup files that you want to retain.
I do not keep more than 5 backup files.
You may choose to keep more or less backup files.
Automate the backup Job
Automating the backup program to run on an automated schedule is easy.In the “Job Schedule” section, do the following:
- Check the “Activate scheduling” checkbox. This configures the program to run on an automated schedule.
- Then choose the frequency at which you want to create the backup.
If you update your website very frequently, say you poost articles on a daily basis, then you should consider creating a backup on a dily basis.
If you update your website infrequently, then a weekly or even monthly frequency may be appropriate for you.
Simply choose your frequency and the time of the day (and the day and date if choose a frequency less than daily) that you want to create the backup.
- Click the “Save Changes” button to save your job configuration.
Test the Backup Job
Now lets test the backup job. In order to test it we will:
- run the job manually
- check the progress displayed on the screen and ensure there are no errors
- check the Amazon S3 bucket and confirm that the backup file got uploaded properly by the backup jobTo run the job manually, go to tje Job Overview page and hover the mouse ober the job name.
A list of links will appear below the job name.
Click the “Run Now” link.
This will start the backup job and display the progress on the screen as shown below.
Check the log
Ensure there are no errors and that it confirms the upload of the file to Amazon S3
Check if backup made it to Amazon S3
And finally, log on to your Amazon S3 account and check if the backup file made it.
Congratulations! You have created a backup job using the BackWPup plugin and configured it to create and store backups to Amazon S3 automatically on a periodic schedule!
In the next article (Part 5 of 5) you will learn how to restore your WordPress site from your backup.
If you are still unsure on how to proceed or have any questions contact StressLessWeb. I will be happy to help you out.
Announcing new Products & Services from StressLessWeb
We recently started offering website maintenance services to our existing clients. If you are not an existing client and are interested in availing of this service, contact us to see how we can help you.
Do you use Simple:Press? We have a new e-book out to help your Simple:Press members get started.