And also bear in mind that this doesn't include images etc. that you may have in the glossary entries.
We've managed this in the past by setting up a generic account that creates glosssry entries and then we backup/restore retaining that user. It's not very elegant and not appropriate for many use cases.
The best solution would be if the Glossary backup could be modified so that media is captured in the
XML file in the same way as a the Question Bank Moodle XML format.