3 ms·
A default option is to warn about the possibility and then just leave the admins to do their own backups (which they should be doing anyway).
by ndsipa_pomu 3y ago
A default option is to warn about the possibility and then just leave the admins to do their own backups (which they should be doing anyway).
- justinclift 3y agoWhat do you reckon the right place(s) to warn people would be?
- ndsipa_pomu 3y agoProbably in the project readme. You could put a warning in the logs as well (e.g. on container startup), but that wouldn't be as visible.
- justinclift 3y agoThanks. I'll make that update in the morning too. :)
- justinclift 3y agoWarning added in https://github.com/justinclift/docker-pgautoupgrade/commit/ed16ccbcc5df6404d1045b9e29bdfa5e8f15edd6 https://github.com/justinclift/docker-pgautoupgrade/commit/e.... Thanks heaps. :)
- westurner 3y agoAs an interactive prompt before mutating the data, with a `-y` to bypass the interactive check (and in the docs for `-y`)
- justinclift 3y agoNah. I can't see anything that needs interaction as being workable, as this is supposed to be an "automatic upgrade" thing.