How To Transfer Firestore Data From One Project To Another

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • 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

Komentáře • 44

  • @nthonymiller
    @nthonymiller Před 2 lety +1

    Thanks for this much needed guidance on how to backup and import between project accounts.

  • @sieveapp9371
    @sieveapp9371 Před 2 lety +3

    Thank you for this Jonny, it made the whole process much easier.

  • @EvanJones319
    @EvanJones319 Před 9 měsíci

    Thanks for this bro. You can just say it at the beginning lol. The documentation is not great. We needed this.

  • @sooryasankar1193
    @sooryasankar1193 Před rokem

    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.

  • @gorkavillar1572
    @gorkavillar1572 Před 2 lety +1

    Awesome Jonny, thanks for this tutorial. This is just what I needed :)

  • @BRP-Moto-Tips
    @BRP-Moto-Tips Před 7 měsíci

    Thanks pal! really useful

  • @harshal_p24
    @harshal_p24 Před rokem

    Straightforward tutorial esp. for beginners like me, thanks Jonny for the video.

  • @byronglendon9804
    @byronglendon9804 Před rokem

    Awesome tutorial Johnny. Thanx

  • @iwanpieterse6953
    @iwanpieterse6953 Před 2 lety

    This was very helpful, thank you, sir.

  • @yellowcarbb
    @yellowcarbb Před 2 lety

    Thank you so much! This was really helpful!

  • @haydo8373
    @haydo8373 Před rokem

    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 :)

  • @ShafqatNadeem
    @ShafqatNadeem Před 11 měsíci

    thank you Jonny Bro

  • @danielmponda4231
    @danielmponda4231 Před 4 měsíci

    Amazing, thanks

  • @nilayyadav39
    @nilayyadav39 Před 2 lety

    YES THANK TOY SM THE DOCUMENTATION WAS SOO CONFUSING

  • @sunbisoft9556
    @sunbisoft9556 Před 2 lety

    Thanks a lot, great video!

  • @mariusdeli
    @mariusdeli Před 2 lety

    Thank you for this!

  • @CarlWicker
    @CarlWicker Před rokem

    Thanks for this

  • @lucasruiz6176
    @lucasruiz6176 Před 10 měsíci

    Impecable, muchas gracias por el tutorial !!

  • @AliKibao
    @AliKibao Před rokem

    Thank you very much

  • @bucketlistfella
    @bucketlistfella Před 2 lety

    You are a saviour!

  • @NachiketKamod
    @NachiketKamod Před 3 lety

    Well saved my day actually data of whole year

  • @MohitKumar-bz1ni
    @MohitKumar-bz1ni Před 2 lety

    worked for me thanks

  • @amjedali82
    @amjedali82 Před 3 lety

    thank you so much it is useful

  • @urielantoniocasadiegomolin300

    Thank you!

  • @sdmf195
    @sdmf195 Před 3 lety

    Thank you! :)

  • @tszheilau8186
    @tszheilau8186 Před rokem

    Great work! Google documents are just confusing!

  • @SachinVerma-rc8ii
    @SachinVerma-rc8ii Před 3 lety

    love to see you

  • @HashemRC
    @HashemRC Před 2 lety +1

    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 Před 2 lety

    Super bro..

  • @fansyveny
    @fansyveny Před 2 lety

    thank u

  • @potato_97
    @potato_97 Před 10 dny +1

    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??

  • @user-rj2qk2dl6m
    @user-rj2qk2dl6m Před 2 lety +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?

  • @TuGordoBello
    @TuGordoBello Před měsícem

    Thanks for this, does it migrate all the authentication users?

  • @yuyangwu5608
    @yuyangwu5608 Před 2 lety

    is the process the same if the destination project already had collections that have same name as source project?

  • @himathperera2165
    @himathperera2165 Před rokem

    love_it

  • @ivantrajk9056
    @ivantrajk9056 Před 2 lety

    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 ?

  • @developer2access336
    @developer2access336 Před 2 lety

    Yes video was helpful but I want to move storage between 2 project not only firestore database stuff,
    any usefull links ?

  • @hichemhammadache8798
    @hichemhammadache8798 Před měsícem

    Hello, the storage wasn't transfered, do you know why ?

  • @KamrulHasan-kp1bt
    @KamrulHasan-kp1bt Před 3 lety +1

    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  Před 3 lety

      Correct, and yes it is super confusing!!

  • @jajasaria
    @jajasaria Před rokem

    SUBSCRIBE! Thank you for sharing

  • @cristhianandresapolocevall8905

    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

  • @FergieIvka
    @FergieIvka Před 6 měsíci

    awesome tutorial thank you!