FIREBASE STORAGE - DOWNLOAD IMAGES FROM A FOLDER INTO A LOCAL COMPUTER
#download the Cloud CLI and setup your poject id
#download->https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe
see your cloud bucket->https:
change firebaseAppName(or select from select project option from top)
with your firebase app name.
syntax:gsutil cp -r gs:
Example1:gsutil cp -r gs:
Example1:gsutil -m cp -r gs:
FIREBASE - EXPORTING ALL DATA INTO JSON FILE USING NODE JS
1.Generate the New private Key project settings->service account
2.Open CMd and install node-firebase-import-export globally .
please make sure that you already have node installed. npm install -g node-firestore-import-export.
gitLink->https:
Export full database
firestore-export --accountCredentials path/to/credentials/file.json --backupFile /backups/myDatabase.json --prettyPrint
Export with pretty printing
firestore-export --accountCredentials path/to/credentials/file.json --backupFile /backups/myDatabase.json --nodePath collectionA/document1/collectionCC