Implement backup to and restore from sd card