Backup and restore with xml files