March 2019
Beginner to intermediate
778 pages
34h 20m
English
The gcloud command-line tool currently only supports export and import operations, meaning bulk deletes and disabling writes must still be performed using the Admin Console. We can perform an export of our Employee entities with the following command, where YOUR_BUCKET_ID is any valid Cloud Storage bucket:
gcloud datastore export gs://<YOUR_BUCKET_ID> --kinds=Employee
Once completed, a restore can similarly be completed via the following command:
gcloud datastore import gs://<YOUR_BUCKET_ID>
Read now
Unlock full access