---
title: "Announcing Automated Daily Backups for the Firebase Database"
description: "Announcing Automated Daily Backups for the Firebase Database"
published: "2016-10-19"
last_updated: "2016-10-19"
authors:
  - "Matthew Tse (Site Reliability Engineer)"
categories:
  - "Realtime Database"
  - "Cloud Storage"
  - "Launch"
canonical_url: "https://firebase.blog/posts/2016/10/announcing-automated-daily-backups-for-the-firebase-database"
---

# Announcing Automated Daily Backups for the Firebase Database

*Published October 19, 2016 by Matthew Tse (Site Reliability Engineer)*

---
[Private Backups](https://firebase.blog/posts/2015/03/private-backups-for-firebase-data_21) is a good solution for backing up, scripting, and gathering analytics by regularly exporting your entire Database. Previously, setup involved a bit of back and forth between the user and Firebase Support. We are now offering a self-service user interface for [Blaze](https://firebase.google.com/pricing/) customers in the Firebase console that seamlessly enables daily backups of your Firebase Database to a [Google Cloud Storage bucket](https://cloud.google.com/storage/docs/json_api/v1/buckets).

To get started, visit the new “Backups” tab in the Database section of the [Firebase console](https://console.firebase.google.com/), and the wizard will guide you through setting up your automated backups.

![image02](https://firebasestorage.googleapis.com/v0/b/first-class-blog.appspot.com/o/blog-assets%2F2016%2F10%2Fannouncing-automated-daily-backups-for-the-firebase-database%2Foptimized%2Fimage02.jpg?alt=media)

To save on storage costs, we enable [Gzip compression](http://firebase.google.com/docs/database/backups#gzip_compression) by default, and you can choose to enable a [30-day lifecycle policy](http://firebase.google.com/docs/database/backups#storage_lifecycle) to have backups older than 30 days automatically purged.

![image01](https://firebasestorage.googleapis.com/v0/b/first-class-blog.appspot.com/o/blog-assets%2F2016%2F10%2Fannouncing-automated-daily-backups-for-the-firebase-database%2Foptimized%2Fimage01.jpg?alt=media)

When the setup process is complete, you will have a Google Cloud Storage bucket. On a daily basis, we will backup your Database’s application data and [rules](https://firebase.google.com/docs/database/security/) in JSON format to your bucket. You can view the status and history of all your backups directly in the Firebase console. There is also a “Manual Backup” button which lets you instantly enqueue a current backup of your database and rules, and is incredibly useful to take specific timed snapshots or as a safety action before you perform any code changes.

![image00](https://firebasestorage.googleapis.com/v0/b/first-class-blog.appspot.com/o/blog-assets%2F2016%2F10%2Fannouncing-automated-daily-backups-for-the-firebase-database%2Foptimized%2Fimage00.jpg?alt=media)

Here are three good reasons to start using automated backup today:

### Offline Scripting
Automatic Database Backups let you crawl, analyze, and perform large scripted actions against your data without affecting the realtime performance of your customers connecting to the Database.

### Historical Data Analysis

With historical snapshots of your database, you can retroactively analyze your data, look for trends, and make product decisions based on past data points.

### Recovery From Corrupt or Lost Data
With Automatic Database Backups, you can easily restore your data in the event of data corruption or loss. To restore your database, simply download[1](#fn1) a backup file to your local machine from the [backups tab](https://console.firebase.google.com/project/_/database/backups). You can then click the "Import JSON" button[2](#fn2) under the [data tab](https://console.firebase.google.com/project/_/database/data) to restore your Database to a previously backed-up state.

![image03](https://firebasestorage.googleapis.com/v0/b/first-class-blog.appspot.com/o/blog-assets%2F2016%2F10%2Fannouncing-automated-daily-backups-for-the-firebase-database%2Foptimized%2Fimage03.gif?alt=media)

We are continuing to streamline the experience for Firebase developers, and this new release gives developers more control over their data while reducing the need to go through support processes.

### Notes 
1.  With Gzip enabled, you will need to [decompress](http://firebase.google.com/docs/database/backups#gzip_compression) your database data before importing back into Firebase. [↩](#fnref1)

2.  For very large Databases, it is more efficient to [contact support](https://firebase.google.com/support/contact/troubleshooting/) for data restoration from our own regular backups, rather than through the JSON files of Automatic Database Backups. [↩](#fnref2)
