basic save/restore/export