<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Scalp - Medium]]></title>
        <description><![CDATA[Scalp creative minds is a web dev agency based in Belgium - Medium]]></description>
        <link>https://medium.com/scalp?source=rss----198c5e059a7f---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Scalp - Medium</title>
            <link>https://medium.com/scalp?source=rss----198c5e059a7f---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:08:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/scalp" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to back-up Firebase Firestore and Firebase storage bucket]]></title>
            <link>https://medium.com/scalp/how-to-back-up-firebase-firestore-and-firebase-storage-bucket-b6d8dbc0cd7c?source=rss----198c5e059a7f---4</link>
            <guid isPermaLink="false">https://medium.com/p/b6d8dbc0cd7c</guid>
            <category><![CDATA[firebase-storage]]></category>
            <category><![CDATA[firestore]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[lec pol]]></dc:creator>
            <pubDate>Fri, 29 Mar 2019 03:27:47 GMT</pubDate>
            <atom:updated>2019-03-29T03:38:08.841Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhZj32CSj-IanFkySi4sAg.png" /></figure><p>Hi,</p><p>I’m <a href="https://twitter.com/marcpowo">Powolny Marcel</a>, I’m a web developer in Belgium working for <a href="https://scalp.be/">SCALP</a> and I’m happy to share with you my first time ever article about Firebase.</p><p>This short illustrated article is about making a full backup of your Firestore database + your Firebase storage bucket. At the end you will end up with a Zip file containing all of your Firestore collections &amp; documents + all your media files from your storage bucket.</p><p>I wanted to write this article because I wasn’t able to find any precise information on how to do it and I hope it will be useful to someone someday..</p><p>I will show you the steps to back up your Firebase Firestore database</p><p>1: Download the Google Cloud SDK</p><p><a href="https://cloud.google.com/sdk/downloads?hl=fr">https://cloud.google.com/sdk/downloads</a></p><p>(it will allow you to use the <strong><em>gcloud </em></strong>command in the <a href="https://en.wikipedia.org/wiki/CLI">CLI</a> on your machine)</p><p>2: Go to your Google cloud console</p><p>(be sure that you have selected the good project and that you are logged as the good user)</p><p><a href="https://console.cloud.google.com/storage/browser?project=time-is-gold-v2">https://console.cloud.google.com/storage/browser</a></p><p>From there, copy/remember<strong> the name</strong> of the bucket you would like to use</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*IDQPWpWfyqgHnn3FB6GZXw.jpeg" /><figcaption>let’s say we want to use “bucket_name_1”</figcaption></figure><p>3: Login to the Google cloud through your CLI</p><blockquote>gcloud beta auth login</blockquote><p>(it will open up the web browser and ask you to log in to your google account)</p><p>4:Execute the export command line (you will maybe have to select your project first)</p><p>gcloud beta firestore export gs://NAME_OF_YOUR_BUCKET</p><blockquote>gcloud beta firestore export gs://bucket_name_1</blockquote><p>(the name could be something like: “bucket_name_1.appspot.com”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*VgKhmsEHODEEd49YDow2iQ.jpeg" /><figcaption><strong>outputUriPrefix </strong>targets the folder in your bucket</figcaption></figure><p>Once this is done, you will find a new folder in your Firebase Firestore structure containing a dump of your database:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rc9Q0F9rM6Olo6Ov_bRbeA.jpeg" /><figcaption>As you can see, the name of the folder matches the name displayed in the CLI</figcaption></figure><p>5: That’s it for the database</p><p>Now, I will show you the steps to back up your Firebase storage bucket</p><p>1: Go to <a href="https://apptree2.codebasehq.com/redirect?https://console.cloud.google.com">https://console.cloud.google.com</a></p><p>(be sure that you have selected the good project and that you are logged in as the good user)</p><p>2:Launch Google cloud shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*rzxBXD2kVlv7NUsLtQwIww.jpeg" /></figure><p>3:Display the path of the working folder (useful for later)</p><blockquote>pwd</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*iYCzsijNj7H490fVnNs80A.jpeg" /><figcaption>As you can see my pwd (private working directory) is /home/dev_scalp</figcaption></figure><p>4: Make a copy of the bucket (<strong>beware of the dot at the end</strong>)</p><blockquote>gsutil cp -r gs://bucket_name_1 .</blockquote><p>( this will create a folder named “bucket_name_1” in your pwd)</p><p>5: Make a zip file of the folder “bucket_name_1”</p><blockquote>zip -r blahblah_my_backup.zip bucket_name_1</blockquote><p>6: Change the zip file permission</p><blockquote>chmod 777 blahblah_my_backup.zip</blockquote><p>7: Download the zip file via the cloud shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*-YAfbv3IEwrR8r8gNHpAHQ.jpeg" /></figure><p>8:Specify the path to the file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K3dGW6k7Eu8-ArJDCwaiVA.jpeg" /></figure><p>9: Click on the download link.</p><p>10: Sit back and relax while Google is preparing the file for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*F1AjM20gzmsqoRGRjR_EfQ.jpeg" /></figure><p>Thanks for reading.</p><p>Powolny Marcel</p><p><a href="https://scalp.be/">Scalp.be</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6d8dbc0cd7c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/scalp/how-to-back-up-firebase-firestore-and-firebase-storage-bucket-b6d8dbc0cd7c">How to back-up Firebase Firestore and Firebase storage bucket</a> was originally published in <a href="https://medium.com/scalp">Scalp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>