---
title: What to Do When Azure Web App Backups Keep Failing
description: Fixing an issue when Azure Web App Backups fail by excluding large directories from your backups, which can put your app size over the backup limit
image: https://insights.gocloudforce.com/hubfs/Backups1.png
---

<https://www.gocloudforce.com/>

- [Our Approach](https://gocloudforce.com/our-approach/)
- [Solutions](https://gocloudforce.com/solutions/)
- [Insights](https://gocloudforce.com/insights/)
- [About Us](https://gocloudforce.com/about-us/)
- [Careers](https://gocloudforce.com/careers/)

[120 Waterfront Street, Suite 420 National Harbor, MD 20745](https://www.google.com/maps/place/120+Waterfront+St+%23420,+Oxon+Hill,+MD+20745,+USA/data=!4m2!3m1!1s0x89b7b0741f2b06d9:0x303c048437700b8a?sa=X&ved=2ahUKEwj4wN_r9O7nAhUJposKHd93Bz0Q8gEwAHoECAsQAQ)[202.803.6500](tel:202-803-6500)

- [*Fb*](https://www.facebook.com/gocloudforce)
- [*In*](https://www.linkedin.com/company/gocloudforce)

[Contact Us](https://insights.gocloudforce.com/en/azure-web-app-backups-failing#contact)

# Making sure your backups are working and up-to-date is critical when working in the Cloud.

Azure web app backups can fail for a variety of reasons.  Recently, I had a web app fail for a reason I hadn't seen before.  I was certain that my backups were working correctly... nope.  Not exactly.  They actually hadn't been working for some time.  This time was different from the others - the deployed web app was **too big.**

 

**![Backups1](https://insights.gocloudforce.com/hs-fs/hubfs/Backups1.png?width=688&name=Backups1.png)**

 

Apparently, there's a limit of the backup size (10GB) for web apps and the associated DBs if you are backing up in tandem (4GB individual limit for DBs), and this app was over that limit.  \[cite\]Side note: if the database you are backing up is constantly growing - consider using a different method for backing up this data.\[/cite\]

Upon further inspection of the web app, I saw that there were a lot of log and deployment files that didn't need to be backed up, but that I didn't necessarily want to delete in case I needed them.

There is an answer to this conundrum though: a **\_backup.filter** file.

Simply create a file and save it as *\_backup.filter *on your local drive.

In this file, list out the directories that you want to **exclude **from your backups (one on each line).  Mine looks like this:

 

![Backups2](https://insights.gocloudforce.com/hs-fs/hubfs/Backups2.png?width=332&name=Backups2.png)

 

I've excluded 2 directories from my app, 1 contains the log files and 1 contains uploaded packages.

Once you've created this file, simply upload it to your web app in the ***wwwroot ***folder and voila!

Here's a sample of the difference it makes it excluding large directories from your backups:

 

![Backups3](https://insights.gocloudforce.com/hs-fs/hubfs/Backups3.png?width=1008&name=Backups3.png)

 

May the Cloudforce be with you!

- [Fb](https://www.facebook.com/sharer/sharer.php?u=https://insights.gocloudforce.com/en/azure-web-app-backups-failing)
- [Li](https://www.linkedin.com/shareArticle?mini=true&url=https://insights.gocloudforce.com/en/azure-web-app-backups-failing&title=What%20to%20Do%20When%20Azure%20Web%20App%20Backups%20Keep%20Failing)
- [Tw](https://twitter.com/intent/tweet?url=https://insights.gocloudforce.com/en/azure-web-app-backups-failing&text=What%20to%20Do%20When%20Azure%20Web%20App%20Backups%20Keep%20Failing)

#### Daniel Ruberg

##### Author

Daniel has over 8 years of Network Administration and Engineering experience. He finished his undergraduate degree in Computer Management Information Systems from Liberty University in 2008. He's obtained several industry leading certifications including: Certified Information Systems Security Professional (CISSP), AZ-300 & AZ-301: Microsoft® Azure Solutions Architect Expert, AZ-500: Microsoft® Azure Security Technologies, Microsoft® Certified Solutions Expert: Cloud Platform and Infrastructure. Daniel has deployed, managed, and migrated several production workloads to Microsoft Azure utilizing the latest technologies that the Microsoft cloud has to offer.

[Back to Insights](https://insights.gocloudforce.com/)

#### Get a Free Assessment.

[120 Waterfront Street, 5th Floor National Harbor, MD 20745](https://www.google.com/maps/place/120+Waterfront+St+%23420,+Oxon+Hill,+MD+20745,+USA/data=!4m2!3m1!1s0x89b7b0741f2b06d9:0x303c048437700b8a?sa=X&ved=2ahUKEwj4wN_r9O7nAhUJposKHd93Bz0Q8gEwAHoECAsQAQ) [202.803.6500](tel:202-803-6500)

- [*Fb*](https://www.facebook.com/gocloudforce)
- [*In*](https://www.linkedin.com/company/gocloudforce)

#### Get a Free Assessment.

[120 Waterfront Street, 5th Floor National Harbor, MD 20745](https://www.google.com/maps/place/120+Waterfront+St+%23420,+Oxon+Hill,+MD+20745,+USA/data=!4m2!3m1!1s0x89b7b0741f2b06d9:0x303c048437700b8a?sa=X&ved=2ahUKEwj4wN_r9O7nAhUJposKHd93Bz0Q8gEwAHoECAsQAQ) [202.803.6500](tel:202-803-6500)

- [*Fb*](https://www.facebook.com/gocloudforce)
- [*In*](https://www.linkedin.com/company/gocloudforce)

- [Home](https://www.gocloudforce.com/)
- [Our Approach](https://www.gocloudforce.com/our-approach/) 
    - [Our Process](https://www.gocloudforce.com/our-approach/#our-process)
    - [Get SMART](https://www.gocloudforce.com/our-approach/#get-smart)
    - [Talk To A Human](https://www.gocloudforce.com/our-approach/#talk-to-a-human)
- [Our Solutions](https://www.gocloudforce.com/solutions/) 
    - [What We Do](https://www.gocloudforce.com/solutions/#what-we-do)
    - [Build/Migrate/Maintain](https://www.gocloudforce.com/solutions/#build-migrate-maintain)
- [Our Results](https://www.gocloudforce.com/results/) 
    - [Case Studies](https://www.gocloudforce.com/results/#case-studies)
    - [Testimonials](https://www.gocloudforce.com/results/#testimonials)
    - [Customers](https://www.gocloudforce.com/results/#customers)
- [About Us](https://www.gocloudforce.com/about-us/) 
    - [Who We Are](https://www.gocloudforce.com/about-us/#who-we-are)
    - [Our Founder](https://www.gocloudforce.com/about-us/#our-founder)
    - [Our Team](https://www.gocloudforce.com/about-us/#our-team)
    - [Location](https://www.gocloudforce.com/about-us/#location)
- [Our Insights Blog](https://insights.gocloudforce.com/)
- [Careers](https://www.gocloudforce.com/careers/)

[Gold Microsoft Partner](https://www.microsoft.com/en-us/solution-providers/partnerdetails/cloudforce_c85487db-d5f3-45e1-9158-876d58525ccf/e22dd077-81e9-4031-8d60-3fdf034c568f)

- [Support](https://desk.gocloudforce.com/)
- [Terms & Conditions](https://www.gocloudforce.com/terms-of-service/)

©All Rights Reserved 2024 | Cloudforce