Added Redis backup and restore capabilities

Currently limited to rdb and doesn't muck with config files.
Refactored large portions of MySQL backup code to share whatever
the two datastores had in common.
...but I can't! Because we don't run as root. I'll will change the code to be not broken.