If an exclusive backup API is really removed from #PostgreSQL, new extension supporting an exclusive one may need to be implemented.
If psql's \exec allowed to check for errors it'd be a bit easier. If you want to shell script it, the best bet imo at the moment is to to \exec the copying of the data dir surrounded by start/stop backup. The overall script checks whether copy succeeded by checking a stamp file.
-
-
But that's ridiculous.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.