Cloning a Firebase Project

6,300 views
Skip to first unread message

Kathy Qian

unread,
Oct 5, 2016, 12:06:50 AM10/5/16
to Firebase Google Group
Hey all,

I'm looking to clone an entire Firebase project to create a testing version of the database with the existing security rules and user accounts in place. For example, on CloudSQL it is possible to duplicate an entire database with one click. Is there an easy way to do this?

Thanks!
Kathy

Kato Richardson

unread,
Oct 5, 2016, 1:36:19 PM10/5/16
to Firebase Google Group
Hi Kathy,

There's no tool to help you clone a Firebase project at present. Sorry.

☼, Kato

Kathy

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/494d5707-9a23-4147-a826-c961dc1b7c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Kathy Qian

unread,
Oct 5, 2016, 3:52:20 PM10/5/16
to Firebase Google Group
Kato,

What about manually copying piece by piece? Moving the data and authentication rules seems to be easy. It's the actual user accounts that are tripping me up.

I have a users.json downloaded using this method: https://drive.google.com/file/d/0B94LePkXiqa6VUNoY0RCOGlqUzg/view - how can I upload these accounts to a fresh Firebase?

Thanks,
Kathy

On Wednesday, October 5, 2016 at 1:36:19 PM UTC-4, Kato Richardson wrote:
Hi Kathy,

There's no tool to help you clone a Firebase project at present. Sorry.

☼, Kato
On Tue, Oct 4, 2016 at 8:13 PM, Kathy Qian <qian....@gmail.com> wrote:
Hey all,

I'm looking to clone an entire Firebase project to create a testing version of the database with the existing security rules and user accounts in place. For example, on CloudSQL it is possible to duplicate an entire database with one click. Is there an easy way to do this?

Thanks!
Kathy

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/494d5707-9a23-4147-a826-c961dc1b7c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kato Richardson

unread,
Oct 5, 2016, 4:13:13 PM10/5/16
to Firebase Google Group
There's nothing available for that either. I'd recommend creating new accounts with some default password and sending reset emails.

Note that, if you need to switch authentication mechanisms or move off of Firebase, we can provide a courtesy export of your users, and in some special cases (10k+ users) we can help with imports for people moving onto the Firebase platform. But these are one-offs and we can't scale this for general use to create staging servers, regular copies of your databases, or any other use cases other than liberating your data.

☼, Kato

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Kato Richardson

unread,
Oct 6, 2016, 11:07:22 AM10/6/16
to Firebase Google Group
Hi Kathy,

Unfortunately, you're getting throttled by our security algorithms. You'll need to slow down and send those slowly over a longer time frame. I'd suggest no more than ten or twenty per minute, although there's no fixed number I can offer here (abuse vectors are based on reputation and undisclosed rules).

I realize that's frustrating, but security is balanced with convenience.

☼, Kato

On Wed, Oct 5, 2016 at 8:32 PM, Kathy Qian <qian....@gmail.com> wrote:
I see. Okay, I've got about 500 users and I just created a loop to create new accounts like you suggested. However, I'm clearly getting flagged as I'm getting the following error:

{code: "auth/too-many-requests", message: "We have blocked all requests from this device due to unusual activity. Try again later."}

How do I get around this?

Thanks!
Kathy



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages