Created
October 18, 2012 19:37
-
-
Save aleemstreak/3914314 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Queue queue = QueueFactory.getQueue("macheQueue"); | |
TaskOptions t = TaskOptions.Builder.withUrl("/_ah/datastore_admin/backup.create"); | |
t.param("name", backupName); | |
for (String kind : kindsToExport) { | |
t.param("kind", kind); | |
} | |
t.param("filesystem", "gs"); | |
t.param("gs_bucket_name", bucketName); | |
t.method(Method.GET); | |
t.header("Host", BackendServiceFactory.getBackendService().getBackendAddress(AH_BUILTIN_PYTHON_BUNDLE)); | |
queue.add(t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aleemstreak, did you manage to get this working? I tried various combinations of the above but it ends up going to the default version, where it returns 404, rather than to AH_BUILTIN_PYTHON_BUNDLE.
Thanks in advance.