Total de visualizações de página

backup base de dados firebase

 

 

flutter run -d web-server
npm install -g node-firestore-import-export

firebase init (y,n,y)
flutter build web
firebase deploy --only hosting

firebase deploy --only function
npm install -g node-firestore-import-export

Apagar backup se existir

firestore-export -a projectoPRDApiKey.json -b dataBackupCompressed.json
firestore-export -a projectoPRDApiKey.json -b dataBackupFull.json -p
firestore-import -a simuladoresDevApiKey.json -b dataBackupCompressed.json
 

Referencias: 

How To Backup Firestore? | Advanced Firebase/Firestore
https://www.youtube.com/watch?v=ZNT_9d0gAFQ

 

How to Export & Import Database from FireStore || Firebase Cloud Database || In Just 2 Steps 

https://www.youtube.com/watch?v=V13tFNFELiQ



 

Nenhum comentário:

Postar um comentário

Comandos para conectar automaticamente o firebase com o flutter.

     dart pub global activate flutterfire_cli\n    export PATH="$PATH":"$HOME/.pub-cache/bin"\n    flutterfire configu...