Search code examples
pythongoogle-app-enginegoogle-cloud-storagegoogle-cloud-datastoredatabase-backups

Specify Cloud Storage bucket of different project for datastore backups?


I'm trying to setup Datastore backup on our AppEngine project, but I was wondering if it's possible to specify a bucket that's outside of the AppEngine project?

In the docs, it's not mentioned that it has to be in the same project. But it doesn't mention how to specify a bucket outside the project as well.


Solution

  • Sure you can - I have multiple apps backing up to the same bucket. Just specify the gs_bucket_name parameter, and make sure that your app engine service account has write access to the bucket.