Backup and Restore a Library#

Tags: educator how-to

You can backup and restore a content library in Studio.

Backup A Library To Local Archive#

There are several reasons why you might want to backup your library.

  • To save your work in progress

  • To edit the XML in your library directly

  • To create a backup copy of your library

  • To share with another course team member

When you backup your library, Studio creates a .zip file for export. This export file contains the problems in the library, including any customizations you made in the library to problem settings. The export does not include library settings such as user access permissions.

To backport a library, follow these steps.

  1. In Studio, select the Libraries tab.

  2. Locate the library that you want to backup.

  3. From the Tools menu, select Backup to local archive.

    A screenshot of the Library Tools menu, with the first option being "Backup to local archive"
  4. Select Download Library Backup next to your library’s name to dowload the archive.

    A screenshot of the Library Backup page, with the library name to the left of a button that reads "Download Library Backup"

When the export process finishes, you can access the .zip file on your computer.

Create a Library From An Archive#

Note

For the Ulmo release, Create Library From Archive is only supported as a way to initialize a new library.

The library file that you import must be a .zip file that contains a package.toml file.

To create a library from an archive, follow these steps.

  1. In Studio, select the + New library button in the top right.

    The "+New Library" button appears in the top right corner of the Studio homepage
  2. Select Create from archive button in the top right.

    The "Create from archive" button appears in the top right corner of the "Create new library" page
  3. Drag and drop the file, or click to upload, your .zip file.

  4. After your file is uploaded, you’ll see information about the imported library at the top of the screen:

    The "Create library" page with information about the uploaded library
  5. Enter in the name, organization, and Library ID for the library.

  6. When the import process finishes, you’ll be taken to your new library.

Maintenance chart

Review Date

Working Group Reviewer

Release

Test situation

2025-12-01

Sarina

Ulmo

Pass