fixed backup/restore dev functionality