Working backup and restore.
Work on the mysql backend (does not work yet).