google app engine - Disable datastore writes programatically when running scheduled backups? -


i running daily scheduled backup of datastore.. is possible programtically disable datastore writes when this scheduled backup being executed? , enable once it's done?

no, can't (13 jun 2013) disable datastore writes programmatically. if app checking capabilities api wrap described in google app engine datastore writes: how enable/disable read-only mode remotely? approach unavoidably prone race condition (you might check capability before gets disabled).

although parts of documentation suggest should set application read-only mode during backups , restores, in practise should fine backup while app still running, long app making appropriate use of transactions ensure consistency. other parts of docs such the article on scheduled backups don't suggest necessary.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -