Move save and restore db