H5P activities can be exported and imported in an archive file called an .h5p package. This lets you backup your H5Ps outside of their host environment (e.g. Moodle, WordPress, or H5P.com) and store them offline. It's also possible to import an H5P activity into your Moodle course from an outside repository (such as BCcampus, or H5P.org).
This how-to page from H5P.org shows you the steps:
The procedure involves clicking "Reuse" on the activity you want to export/backup, and downloading the activity's .h5p package file to your computer. From there, you can import that .h5p package file into a new or existing H5P activity inside your Moodle course.
What's the difference between Reuse and Embed?
At the bottom of an H5P activity, you may(*) see two small links: "Reuse" and "Embed".
- "Reuse" will give you a copy of the .h5p package file (i.e. H5P source code) to import into your Moodle course. This is like getting your own original version of that activity. After import, it will look to Moodle as if you created it yourself inside Moodle's H5P.
- "Embed" gives you an embed code that lets you plunk a remote copy of the original activity into your course. That embed code just points back to the activity t its original location. (It's external code that has no relation to your Moodle course gradebook, even though you may display it inside your Moodle course.)
(* Note: "Reuse" and "Embed" may not be enabled on every H5P activity. Those features are usually enabled by default, but it's up to the each site administrator to decide.)