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
Post a Comment