Where are Firebase 'daily private backups' stored? - firebase

I upgraded to the 'Flame' subscription for $25 a month since it supports Daily private backups.
Daily backups are supposed to be uploaded to Google Cloud Storage Or Amazon S3.
What are daily private backups? Do you offer hourly backups?
Private backups is an advanced feature for customers on our paid plans, that backs up your Firebase Realtime Database data once a day and uploads it to Google Cloud Storage or Amazon S3 buckets.
We do not offer hourly backups.
But I cannot find in the documentation on how to configure this feature. I checked every page in the Firebase Console but the feature is nowhere to be seen. Am I missing something?

To enable private backups you have to contact the Firebase support team through their support channel, they will assist you setting up daily private backup into Amazon S3 bucket or Google Cloud Storage.

Related

Google Cloud Logging VS Datastore for logging app activity

I'm trying to log user activity in my appengine app, which will server both web and mobile users. I'm having a problem deciding which google product I should store the activities to. Two options I'm considering are (Fairly new to both of these):
Google Cloud Datastore as kinds (I think it's a different lingo for tables)
Google Cloud logging as JSON
Price-wise, it seems like Google Cloud logging is cheaper at $0.50/GiB(one time charge for the amount logged) and $0.01/GiB per month, whereas Google Cloud Datastore charge for Read, write, delete + $0.18/GiB/month of storage.
Interface wise, It seems easier to use Cloud Datastore during debugging process. I still haven't gotten a hang of Log explorer yet.
Both have the option to export the data out to CSV.
Which one is recommended for the purpose of activity logging in the long run?
I recommend using Cloud Logging, it is the best for logging any app activity for your application and Google Cloud as it designed for this kind of requirement. For long terms, you can configure your Cloud Logging retention period to retain your Logs up to 3650 days or 10 years. For pricing, the data retention will be priced at $0.01/GiB per month above default retention periods(30 days).

Firebase Storage uses 490MB but I have no buckets?

Firebase Storage is using 490 MB, but no bucket has been initialized.
I am not able to track where this storage com from, but it is quite strange to check that Firebase is charging 0.10 USD for an empty Storage.
Where can I delete this storage and why firebase is charging for having no buckets?
Currently I am using Firebase Authentication, Firestore, Realtime Database, Hosting and Functions.
Every time you deploy to Cloud Functions, it takes some space in a new storage bucket. This is covered in the documentation FAQ about Cloud Functions billing for node 10.
You can delete those files over time if you want.
My recommendation is to use object lifecycles in the artifacts storage bucket! that way the files deletion is automated.
Follow this documentation:
https://cloud.google.com/storage/docs/lifecycle
(Firebase should be the one responsible for creating this rule!)

How to obtain Firebase/Google Cloud Storage Storage Download Analytics

I understand that much of Firebase's services are wrappers around the Google Cloud platform (functions, storage etc..) I would like to obtain analytics on Google Cloud Storage downloads on an object basis (downloads, time). In the firebase console, it shows the amount of requests as well as the amount of data downloaded, but I don't know which objects were downloaded and how often.
Is there a logging method or API in Google Cloud I can utilize to obtain this data?
You have the Access Logs & Storage Logs that allows you to get the information for all the requests made to a bucket.
You will have to set up a bucket dedicated to store Access and Storage logs and then set logging for each bucket pointing to the dedicated one.

Does firebase charge when downloading backup files?

You can enable Firebase Realtime DB to be automatically backed up daily.
Do they charge when downloading data to backup? Or do they charge when we download a backup file (.zip file).
The backups of the Firebase Realtime Database are written to a Google Cloud Storage bucket. There is no bandwidth charge for the writing of the backups to the bucket.
You will be charged for the storage space the backups occupy, and for downloading the backups from the bucket. Both are charged as a normal GCS operations.
Also see the cost section of the documentation for the backup feature:
The backups feature can be enabled for Blaze projects for no additional cost. However, you will be charged at the standard rates for the backup files placed in your Google Cloud Storage bucket. You can enable Gzip Compression and Storage 30 day Lifecycle to reduce your storage costs.

Does Google charge streaming fee when import Firebase Google Analytic data to BigQuery?

I know that when Google Firebase project link to BigQuery, user has to pay for storage fee and Queries fee as it documents in this
But I wonder if Google also charges streaming inserts fee in this case ? Is it just an "import/export" case (without fee) or is it really a streaming action when migrate data from Firebase Analytics to BigQuery then user has to pay for this also?
As noted:
BigQuery has a free storage tier.
BigQuery has a free queries tier.
BigQuery doesn't have a free streaming tier.
So the current answer is: When exporting Analytics for Firebase to BigQuery, you can do most for free (up to certain limits), except the streaming.

Resources