Series: Building AwesomeWildStuff.com From Scratch | Post #7: Moving backups to Azure Blob Storage, and the blast radius I nearly built | Difficulty: Intermediate | Time: 60–90 minutes
The Part I Left Out of Post #6
Last time I wrote about getting this site backed up properly. Nightly, files and database, off the web server, thirty consecutive runs reporting success.
What I did not dwell on is where those archives land.
A personal Google Drive. Mine. The one with the family photos in it.
That is a business asset sitting in an account that belongs to a person, and if that account is ever locked, disputed, or simply unreachable by anyone but me, the backups go with it. So I moved them. Then, about an hour in, I realized the move I was making was half an upgrade and half a mistake.
Part 1: What It Costs, Honestly
Google Drive is a free destination in UpdraftPlus. Azure Blob Storage is not.
The free edition gives you one remote destination from a list that includes Google Drive, Dropbox, Amazon S3, FTP, Rackspace and a few others. Azure is not one of them. It appears on the settings screen, which is the confusing part — you can see the Microsoft Azure option sitting there with the rest, and it is disabled. Premium is what switches it on, along with OneDrive, Backblaze, SFTP, Google Cloud, WebDAV and pCloud.
And one is the other operative word: sending a single backup job to more than one destination is Premium too.
So this post has a price tag on it. I bought UpdraftPlus Premium Business — ten sites, ninety-five dollars for the first year. I run three WordPress sites, so the two-site Personal tier at seventy would not have covered them.
| What I needed | Free | Premium |
|---|---|---|
| Google Drive as a destination | Yes | Yes |
| Azure Blob as a destination | No | Yes |
| Two destinations on one job | No | Yes |
| Restore onto a different URL | No | Yes |
That last row is not for this post. It is for the staging work coming next, and it was part of why I stopped deliberating and paid.
💡 Price the whole job, not the feature. I could have moved to Azure and dropped Drive for nothing extra on a single-destination licence. What cost money was keeping both, and keeping both is the entire point of what follows.

Part 2: The Mistake I Nearly Made
Here is the version of this I almost shipped: move the backups to Azure Blob, switch off Google Drive, write a smug post about doing it properly.
Then I looked at where the site runs.
These sites run on Azure App Service. Put the backups in Azure Blob in the same subscription and a single bad day takes out both at once. A lapsed payment method. A resource group deleted because it looked unused. An RBAC assignment handed to the wrong person. The backup and the thing it is backing up would share a failure domain, which is precisely what a backup is supposed to not do.
The fix was cheap and I nearly walked straight past it. Put the storage in a different subscription from the sites, on a different billing profile. Same provider, same tenant, but a card expiring on one does not suspend the other, and scope granted on one does not reach into the other.
⚠ Separate the bill, not just the container. Two resource groups inside one subscription give you tidiness. Two subscriptions on two billing profiles give you independence for the two failures that are actually likely: a payment method lapsing, and a human with more scope than they needed.
What that does not fix is the tenant. One compromised Global Admin reaches both subscriptions, and a bad enough day at the provider reaches everything with an Azure logo on it.
Which is why Google Drive stays. It is a scruffy backup target. It is also the only copy that does not care what happens to Azure.
So the answer was never Azure instead of Drive. It was Azure as well as Drive — three copies, two providers, two subscriptions, two billing profiles. Which is the feature I had just paid for without having fully worked out why I wanted it.
Part 3: The Credential Decided the Architecture
I expected to spend my time on containers and lifecycle rules. I spent it on one field instead.
UpdraftPlus's Azure destination asks for five things:
| Field | What it wants |
|---|---|
| Account name | The storage account |
| Key | The storage account key |
| Container | Must already exist |
| Directory | Optional prefix inside it |
| Endpoint | Defaults to blob.core.windows.net |
That second one is the whole story. Not a SAS token scoped to one container. Not a managed identity. The account key — full control over everything in that storage account — stored in the WordPress database of a public-facing site.
Read that twice, because it quietly decides your architecture.
My first plan was one storage account with a directory prefix per site. Tidy. Also wrong: an account key is scoped to the entire account, there is no per-container restriction, and the plugin will not take anything narrower. One shared account means a compromise of any one WordPress install hands over the backups of all three sites.
So: three storage accounts. One per site. They cost nothing extra, and a breach of the blog now costs the blog's backups and nothing else.
💡 Let the credential pick the boundary. When the only authentication available is account-wide, the account is your security boundary. Draw it where you would have drawn a permission.

Part 4: What Is Actually Set
All three accounts live in one resource group, same region, StorageV2 on the Hot tier, public blob access off, HTTPS only, TLS 1.2 minimum, Microsoft-managed encryption.
Then they diverge, because one of these sites is not like the others. JT Custom Trailers runs WooCommerce — its database carries customer names, addresses and order history.
| Setting | The two blogs | The commerce site |
|---|---|---|
| Redundancy | Standard_LRS | Standard_GRS, secondary region |
| Blob + container soft delete | 30 days | 14 days |
| Container immutability | None | 7 days, unlocked |
| Blob versioning | Off | Off |
| Key expiry policy | 90 days | 90 days |
The soft delete number surprised people when I described it. Shorter, on the site with the sensitive data? Yes — deliberately.
Soft delete protects you from something deleting your archives, and that failure is noticed fast: a report that stops arriving, errors in the nightly log. Meanwhile every soft-deleted blob is still a live copy of customer data you cannot easily purge and that a deletion request technically reaches. Thirty days of invisible retained copies buys very little recovery value over fourteen and roughly doubles the quiet exposure. On the blogs, where nothing is anyone's personal data, thirty is fine.
Versioning is off everywhere on purpose. UpdraftPlus writes uniquely named blobs and never overwrites them, so versioning would create no useful versions and just add another pile nobody is watching.
Part 5: The Immutability Trick
Here is the one I got wrong first and want to correct in public.
I assumed a time-based immutability policy — blobs that cannot be deleted for N days — would fight UpdraftPlus's own retention pruning, and advised against it. That is true only when the windows overlap.
With daily backups and thirty database sets retained, the blob the plugin deletes is about thirty days old. Set immutability to seven days and it has long since expired by the time pruning reaches anything. No collision at all.
And what you get for it is worth more than it looks. WordPress holds the account key, which is a data-plane credential. Creating, shortening or removing an immutability policy is a control-plane operation governed by Azure RBAC. So the exact scenario that matters — site compromised, attacker holds the key, tries to wipe the backups before encrypting the live data — is blocked. They cannot do it with that key.
That works even with the policy left unlocked, which is how I left it. A locked policy can only ever be extended, never shortened or removed, for the life of the container. Unlocked gives you nearly all the protection and leaves you a way out.
⚠ The rule to preserve: never drop the plugin's retention below the immutability window. Thirty against seven is safe. Seven against seven is a nightly error.

Part 6: Proving It, Not Assuming It
Post #6 was about the gap between a backup reporting success and a backup being any good. It would be poor form to migrate storage and then trust a summary line.
So after configuring each site I ran a database-only backup and read the job log rather than the green tick:
Cloud backup selection (1/2): googledrive
Recording as successfully uploaded (googledrive, more services to follow)
Cloud backup selection (2/2): azure with instance (1/1) (last)
Starting fresh upload to
azure://stjtwpbak01/backups/jtcustomtrailers/backup_...-db.gz
Azure chunked upload: 22.2 % ... 100 % uploaded (5)
all chunks uploaded; now committing blob blocks
Azure upload: success
Both destinations, in sequence, from one job, landing in the right account under the right prefix. That is evidence. "The backup succeeded" is a claim.
Two lines show up on every run that look like faults and are not. The first is retention pruning reaching for archives older than the Azure destination itself — Delete remote ... file does not exist ... Delete failed — which stops once each container holds a full window of its own. The second is Binary mysqldump: error (code: 2), which is App Service not having a mysqldump binary, so UpdraftPlus dumps in PHP instead. Both are harmless. Both would have cost me twenty minutes if I had met them cold at 11pm.
What It Costs Forever
One honest downside. Because the plugin only speaks shared key, there is no Key Vault, no managed identity, no automatic rotation. Rotating those keys is a manual job, and manual quarterly jobs are the ones that quietly never happen.
The dance itself is simple, and the order is the whole thing: regenerate the standby key, paste it in, verify a real backup reaches Azure, and only then burn the old one. Regenerate the key that is in use and backups break instantly and silently.
I set a 90-day key expiry policy on all three accounts so Azure flags them, and a recurring reminder that fires four times a year with the procedure attached. Belt and braces, because the failure mode here is invisible.
One more, and it is ahead of me rather than behind: a staging restore copies the production database, and the key lives in that database. Stand up staging from a restore and staging is holding live credentials to the production backup container. That goes on the post-restore checklist next to disabling outbound mail.

What We Built Today
- Bought UpdraftPlus Premium Business so the sites can write to Azure Blob and to Google Drive on the same job
- Put the storage in a different subscription from the sites, on a separate billing profile, so a lapsed card on one cannot suspend the other
- Kept Google Drive rather than replacing it, because a separate subscription is still the same tenant and the same provider
- Built three separate storage accounts, one per site, because the plugin authenticates with an account-wide key
- Hardened the commerce site further: geo-redundant, shorter soft delete, seven-day immutability
- Used a control-plane policy to protect against a data-plane credential being stolen
- Put a
CanNotDeletelock on the resource group so nothing in it can be removed without deliberately unlocking it first - Verified every site from the job log rather than the success message
- Accepted three gaps knowingly: the key works from any network, the second copy is still a personal Drive, and both subscriptions sit in one tenant
Coming Up in Post #8
A banner appeared on the database page. MySQL 8.0 reaches end of life on December 31, the upgrade to 8.4 is one-way, and the date was not mine to pick.
So the backups stopped being a precaution and became a prerequisite. The untested ones. The ones from the last two posts that I had never once restored were suddenly the only thing standing between me and a very bad afternoon.
Next we take the upgrade. I find out whether any of it comes back, and why loading your site after a change like this proves almost nothing.
The staging site is still coming. It just stopped being the most urgent thing on the list.
Questions? Hit us up at le***********@**************ff.com.
Stay awesome. Stay wild. Keep making stuff.
— John O'Neill Sr.
Founder, AwesomeWildStuff | AWS Solutions LLC


