Backup a mysql database
Can restore from mysql backup now
New backup class and ask for confirmation during restore
Warn the user if not in read-only mode
Gets db config from rails and removes any previous backup before starting new one
Generalise
Also backup/restore sqlite
Backup / restore redis
Extract method
Further cleanup and make redis take snapshot
Tar everything up into a single file
Use the redis directory on the servers for backup