How To Transfer Firestore Data From One Project To Another

  Рет қаралды 18,296

JonnyB Codes

JonnyB Codes

Күн бұрын

In this lesson we cover how to transfer Firestore data from one project to another using storage buckets and cloud shell.
Reference Documentation:
firebase.google.com/docs/fire...
cloud.google.com/storage/docs...
console.cloud.google.com/tran...
Learn more from my courses at www.jonnybcodes.com/
Checkout my Patreon page: / jonnybcodes
And follow me here:
Twitter: / jonnybcodes
Instagram: / jonnybcodes

Пікірлер: 51
@sharkk4877
@sharkk4877 Ай бұрын
Man still holds up thank you!
@sieveapp9371
@sieveapp9371 3 жыл бұрын
Thank you for this Jonny, it made the whole process much easier.
@pongphontan9258
@pongphontan9258 Ай бұрын
Thank you so much!
@BRP-Moto-Tips
@BRP-Moto-Tips 8 ай бұрын
Thanks pal! really useful
@nthonymiller
@nthonymiller 3 жыл бұрын
Thanks for this much needed guidance on how to backup and import between project accounts.
@gorkavillar1572
@gorkavillar1572 2 жыл бұрын
Awesome Jonny, thanks for this tutorial. This is just what I needed :)
@harshal_p24
@harshal_p24 Жыл бұрын
Straightforward tutorial esp. for beginners like me, thanks Jonny for the video.
@iwanpieterse6953
@iwanpieterse6953 2 жыл бұрын
This was very helpful, thank you, sir.
@byronglendon9804
@byronglendon9804 2 жыл бұрын
Awesome tutorial Johnny. Thanx
@yellowcarbb
@yellowcarbb 3 жыл бұрын
Thank you so much! This was really helpful!
@danielmponda4231
@danielmponda4231 6 ай бұрын
Amazing, thanks
@EvanJones319
@EvanJones319 11 ай бұрын
Thanks for this bro. You can just say it at the beginning lol. The documentation is not great. We needed this.
@sooryasankar1193
@sooryasankar1193 Жыл бұрын
Thanks for the video!. I had to add the "Storage Transfer Admin" role to the service account that is responsible for the transfer job to get this work.
@sunbisoft9556
@sunbisoft9556 2 жыл бұрын
Thanks a lot, great video!
@nilayyadav39
@nilayyadav39 3 жыл бұрын
YES THANK TOY SM THE DOCUMENTATION WAS SOO CONFUSING
@haydo8373
@haydo8373 Жыл бұрын
Gee thanks, that was super helpful! It would be great if Firebase provided a visual graphic of what steps are required so we have a picture in our mind of what we need to accomplish. Thanks again :)
@mariusdeli
@mariusdeli 2 жыл бұрын
Thank you for this!
@bucketlistfella
@bucketlistfella 2 жыл бұрын
You are a saviour!
@lucasruiz6176
@lucasruiz6176 Жыл бұрын
Impecable, muchas gracias por el tutorial !!
@CarlWicker
@CarlWicker Жыл бұрын
Thanks for this
@ShafqatNadeem
@ShafqatNadeem Жыл бұрын
thank you Jonny Bro
@NachiketKamod
@NachiketKamod 3 жыл бұрын
Well saved my day actually data of whole year
@amjedali82
@amjedali82 3 жыл бұрын
thank you so much it is useful
@AliKibao
@AliKibao Жыл бұрын
Thank you very much
@sdmf195
@sdmf195 3 жыл бұрын
Thank you! :)
@MohitKumar-bz1ni
@MohitKumar-bz1ni 2 жыл бұрын
worked for me thanks
@urielantoniocasadiegomolin300
@urielantoniocasadiegomolin300 3 жыл бұрын
Thank you!
@SachinVerma-rc8ii
@SachinVerma-rc8ii 3 жыл бұрын
love to see you
@tszheilau8186
@tszheilau8186 Жыл бұрын
Great work! Google documents are just confusing!
@HashemRC
@HashemRC 3 жыл бұрын
Thanks for creating this great video. it helped a lot. as you said documentation is not enough. how we can transfer files like images from Storage? the thing you explained is only about documents and collections
@sivakodali9070
@sivakodali9070 2 жыл бұрын
Super bro..
@CryptoNinjaClan
@CryptoNinjaClan 26 күн бұрын
You have saved my week 💪🥷👍
@potato_97
@potato_97 2 ай бұрын
hey JonnyB... what if i add my another email as another owner then i go to my second account and delete the original owner is that works fine??
@fansyveny
@fansyveny 2 жыл бұрын
thank u
@yuyangwu5608
@yuyangwu5608 3 жыл бұрын
is the process the same if the destination project already had collections that have same name as source project?
@ivantrajk9056
@ivantrajk9056 2 жыл бұрын
Some how I cannot make it work with specific collections, I'm using the %20 as space and all, they get exported to the source bucket and imported to the destination bucket, but importing to destination from destination bucket although "Successful" is not being done....any thoughts ?
@user-rj2qk2dl6m
@user-rj2qk2dl6m 2 жыл бұрын
Hi Jonny, Thanks for the video, you can explain it easily and clearly. However I don't understand one thing: does this transfer which at this video only transfer the Firestore database or even Firebase authentication and Firebase storage data?
@ravinderyadav5605
@ravinderyadav5605 2 жыл бұрын
Hi have you figure this out?
@developer2access336
@developer2access336 3 жыл бұрын
Yes video was helpful but I want to move storage between 2 project not only firestore database stuff, any usefull links ?
@himathperera2165
@himathperera2165 2 жыл бұрын
love_it
@KamrulHasan-kp1bt
@KamrulHasan-kp1bt 3 жыл бұрын
In this command "gcloud firestore import gs://[SOURCE_BUCKET]/[EXPORT_PREFIX] --async" under import data section of the docs is really confusing. The indicative "[SOURCE_BUCKET] actually is not the original source bucket from where I have already transferred the data to a new destination bucket. Rather, it is the destination bucket (at data transfer stage) which will use the command as a source of data to import into the new project. am i right?
@jonnybcodes
@jonnybcodes 3 жыл бұрын
Correct, and yes it is super confusing!!
@cristhianandresapolocevall8905
@cristhianandresapolocevall8905 3 жыл бұрын
THANKS! To do the same but to a separate project just change this: 1. Create the bucket in the target project 2. 2. Give Owner permissions to the user of the source project 3. Commands to grant IAM permissions to the bucket of the target project: -gsutil iam ch serviceAccount:PROJECT_ID_ORIGEN@appspot.gserviceaccount.com:admin \. -gs://BUCKET_NAME_DESTINATION_NAME 4. Export Firestore data from the source project to the target project bucket: -gcloud firestore export gs://BUCKET_DESTINATION --async 5. Import the data into the target project via the Firestore interface in the Google Cloud Platform menu. - Imports/Exports section - Import - Find in the created bucket the folder that was created when exporting, inside select the .overall_export_metadata file and lis
@captainmichaelj2321
@captainmichaelj2321 13 күн бұрын
Thanks so much for this video, but does those data include user authentication?
@jonnybcodes
@jonnybcodes 6 күн бұрын
It does not include the authentication.
@TuGordoBello
@TuGordoBello 3 ай бұрын
Thanks for this, does it migrate all the authentication users?
@jonnybcodes
@jonnybcodes 6 күн бұрын
Afraid not.
@jajasaria
@jajasaria 2 жыл бұрын
SUBSCRIBE! Thank you for sharing
@hichemhammadache8798
@hichemhammadache8798 3 ай бұрын
Hello, the storage wasn't transfered, do you know why ?
@jonnybcodes
@jonnybcodes 6 күн бұрын
This method only deals with the Firestore data. Cloud Storage is a whole other beast.
@FergieIvka
@FergieIvka 8 ай бұрын
awesome tutorial thank you!
How To Schedule Firestore Backups Using Cloud Functions
15:25
JonnyB Codes
Рет қаралды 10 М.
Firestore Data Modeling - Five Cool Techniques
11:44
Fireship
Рет қаралды 254 М.
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 38 МЛН
Import/Export Authenticated Users of Firebase or Firestore Project
7:54
DroidpediaAcademy
Рет қаралды 4,5 М.
Building fast, scalable, and reliable apps with Firebase and Cloud Run
43:03
Exporting Data From Cloud Firestore
6:29
Gelfer Stone
Рет қаралды 28 М.
How to Structure Your Data | Get to know Cloud Firestore #5
13:57
Do we really need firebase in 2023
10:47
Hitesh Choudhary
Рет қаралды 117 М.
Firestore Security Rules - How to Hack a Firebase App
10:05
Fireship
Рет қаралды 129 М.
The Local Firebase Emulator UI in 15 minutes
14:16
Firebase
Рет қаралды 116 М.
How To Backup Firestore? | Advanced Firebase/Firestore
8:30
Sam Fromaway
Рет қаралды 14 М.