Re:Show HN: Uphold – Tool for programmatically verifying dat...
by lloydpick on Thursday March 31, 2016 @11:49AM
(#11398017)
I created this tool a while ago, but since it's apparently world backup day I thought it a good time to submit it here. It was created out of the fact that we run automated backups of our various databases, yet we very rarely attempted a restore. This allows me to know for sure that the backup was created and that it's available, accessible & restorable. You can then if you want to, programmatically test the contents of the database using RSpec, just so that you make sure you aren't backing up the wrong one inside. So now we have the backup rubygem (https://github.com/backup/backup) triggering Uphold to fully test the backup after it's finished being made through the API.
[ Parent
| on HN ]
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by jdhendrickson on Thursday March 31, 2016 @10:45PM
(#11402198)
This is a really cool project, thanks for sharing it. One of the challenges I've faced as part of the movement to a devops workflow/culture is verifying DB backups. This could speed up the process extensively. Cheers man!
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by cdubzzz on Friday April 01, 2016 @07:57AM
(#11404180)
Very cool. Ever thought about including default test suites with the tool? E.g. I have multiple nightly backups of Drupal databases and could think of some obvious default tests against the core tables that would be useful for all of them.
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by lloydpick on Friday April 01, 2016 @11:14AM
(#11405368)
Sure, if you PR some example tests in I can make that happen.
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by cdubzzz on Friday April 01, 2016 @11:58AM
(#11405773)
I'll look in to it. I have never used Docker or Ruby but RSpec looks pretty straight forward from a quick scan.
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by lloydpick on Friday April 01, 2016 @12:55PM
(#11406375)
Even if you just write the SQL I can translate it into RSpec if it'll save you time.
Re:Show HN: Uphold – Tool for programmatically verifying dat...
by code_research on Friday April 01, 2016 @02:59PM
(#11407562)
do you have a tool that does this translation or is the tool your brain? :)