Backing Up Your Forge Content

Why You Should Backup Your Data

The Forge regularly backs up all user data. However, due to the difficulties and costs of restoring individual user data, we will usually only restore lost user data in the event of a service failure.

It is every user’s responsibility to back up their own data. Although rare, software bugs, user error, or even accidental deletion can devastate a world/campaign permanently! This can be avoided by regularly backing up your content. Fortunately, we make it easy here at The Forge.

Backing Up Worlds

WARNING: Media files are not exported during this process. If you need to backup your media files outside of The Forge, make sure to read further in this article on how to export your assets.

To export and backup your Foundry worlds, take the following steps:

  1. Login to The Forge, if you are not already logged in.
  2. Navigate to your account’s My Foundry page.

From here, the steps are different for users with Game Manager enabled or not.

Without Game Manager Enabled

  1. Select the grey “Export Worlds” button under Game Tools, shown below:
  2. You will be shown a menu of your worlds, as well as a blue “Export All” button. On the worlds you want to download, click the ‘Download’ icon. It should automatically export that world as a .zip file for you to download. If you wish to download every world, select “Export All”.
  3. Place these world backups somewhere safe.
  4. (Optional) Extract these worlds into your personal Foundry VTT instance, if you wish to retrieve your assets as well (explained later on).
  5. (Optional) Start/restart this personal Foundry VTT instance, and confirm that the worlds are displaying properly in the setup menu.

With Game Manager Enabled

  1. Select the world you wish to backup.
  2. Select the grey “Export World” button under Game Tools, as shown below:

    It will automatically export that world as a .zip file for you to download.
  3. If you wish to download every world, navigate to and select the Game Manager button.

    You should see the following change to the Game Tools menu:
  4. Select the grey “Export All Worlds” button. It should automatically export every world as a .zip file for you to download.
  5. Store these zip files somewhere safe.
  6. (Optional) Extract these worlds into your personal Foundry VTT instance, if you wish to retrieve your assets as well (explained later on).
  7. (Optional) Start/restart this personal Foundry VTT instance, and confirm that the worlds are displaying properly in the setup menu.

Backing up your worlds is as easy as that! Taking the extra time to backup your worlds after each session can mean the difference between losing weeks of campaign progress, or only experiencing a few minutes of inconvenience.

Backing up Compendium Modules

The Forge supports exporting custom/user created compendium modules. Modules in the default package listing of Foundry VTT must be re-downloaded outside The Forge.

Want to download Bazaar content? We explain how to do so here.

How to backup compendium modules :

  1. Login to The Forge, if you are not already logged in.
  2. Navigate to your account’s My Foundry page.
  3. Select the grey “Export Compendium Modules” button to the left.
  4. Select the module in question to be exported. You will then begin downloading the compendium module.

Backing up Assets

Backing up your assets library is not as necessary as backing up your worlds. Unlike world data, your assets library data is only endangered when images are accidentally deleted.

That said, The Forge offers backup through the Asset Sync. By running the asset sync, it will automatically download all media files on The Forge, into another Foundry VTT instance. Optionally, it can also overwrite world data to reference these downloaded images, rather than referencing Forge URLs.

You can run the Asset Sync by taking the following steps:

  1. Ensure that any worlds extracted into your personal Foundry installation are showing up within the setup menu, and load correctly .
  2. Install The Forge module on the Foundry VTT installation with your worlds. This can be done via the traditional Foundry package browser, or via manifest URL installation.
  3. Keeping your personal Foundry VTT installation open in another window/tab, navigate to your My Account page on The Forge.
  4. Navigate to the “User Profile” section of the page.
  5. Select the grey “Open API Key Manager” button.
  6. You should be shown a popup menu. Select the blue “Generate New Keys” button.
  7. Copy this API key.
  8. From here, navigate back to your personal Foundry installation.
  9. Login to a world (any world) and enable The Forge module.
  10. In the “Game Settings” tab to the right-hand side, select “Configure Settings”.
  11. Navigate to the “Module Settings” tab in the popup menu. Scroll down until you find The Forge module.
  12. Under the “API Secret Key” field, paste the API key copied earlier in step 7.
  13. Click the “Save Changes” button.
  14. Open the “Configure Settings” popup menu again, and scroll down to The Forge once again.
  15. Select the “Open Asset Sync” button. You should get the following popup: image
  16. (Optional) Select the “Update Foundry World & Compendiums to use Local Assets” checkbox. This will forcibly sync any images downloaded to the referenced images in each of your worlds.
  17. Click the Sync button. This will begin the Asset Sync. This may take anywhere from several minutes, to several hours- we do not recommend closing the Foundry instance during this time.
  18. After the Asset Sync completes, check your user data folder. If the images are now showing up in that folder, the asset sync was successful!

Restoring a Backup

A backup is useless if it isn’t usable. We explain how to restore your content below.

Restoring a World Backup

  1. Navigate to your My Foundry page.
  2. Select the blue “Summon Import Wizard” button.
  3. If you are restoring a Foundry world from a .zip file, select the blue “ZIP File” button. If you are selecting a Foundry world extracted from the .zip file, select “Local Folder. You can restore one world, or multiple worlds at once from a single folder/zip file.
  4. Drag the zip file/folder to the “Choose File” field, as appropriate.
  5. Select the blue “Analyze Files” button at the bottom of the Import Wizard menu.
  6. The Forge will analyze the selection, and show a preview of what it found. Usually, this will include the worlds, and any other content bundled with them. Make sure you have selected the appropriate worlds at this point.
  7. Select the blue “Import Selection” button. The Forge will begin importing this content (this may take a few minutes).
  8. You will eventually be prompted with a menu stating that the “World already exists”. If you are importing multiple world backups, you will be prompted for each world. The Import Wizard prompt will describe the existing world and state that it cannot continue import without confirmation. If you have chosen the correct backup, enter the overwrite code provided. Warning: Make sure you are overwriting with the correct backup at this point. Once you have overwritten your world, it will be completely and irrevocably deleted, and replaced with your backup.
  9. Select the red “Overwrite (world name here)” button. This is the last chance to cancel the backup restoration.
  10. You will be brought back to the importing content menu, where it will display the progress of the overwrite. Eventually, it will finish retrieving the content, and re-importing it. Select the blue “Finish” button once it is done.
    After following these steps, the worlds should now appear like they did from their last backup. Make sure to log into each world that has been restored, and verify that everything works correctly! If something is not working correctly, we recommend reaching out to Forge support via Discord, or via email at [email protected].

Restoring Compendium Modules

Just like restoring worlds from a backup, restoring compendium modules from a backup is a straightforward process.

Steps to restore compendium modules:

  1. Navigate to your My Foundry page.
  2. Select the blue “Summon Import Wizard” button.
  3. If you are restoring a compendium module from a zip, select the blue “ZIP File” button. If you are selecting a Foundry world extracted from the backup, select “Local Folder. Please note that you can restore multiple compendium modules within the same folder.
  4. Drag the zip file/folder to the “Choose File” field, as appropriate.
  5. Select the blue “Analyze Files” button at the bottom of the Import Wizard menu.
  6. The Forge will analyze what you have uploaded, and show a preview of what it found. Usually, this will include the compendium modules you have backed up, and any other content bundled with them. Make sure you have selected the appropriate worlds at this point.
  7. Select the blue “Import Selection” button. The Forge will begin importing this content (this may take a few minutes). Warning- unlike worlds, the import wizard will not confirm if you are OK with overwriting a previous compendium module. Once you begin importing a custom compendium module, it cannot be undone.
  8. You will be brought back to the importing content menu, where it will display the progress of the overwrite. Eventually, it will finish retrieving the content, and re-importing it. Select the blue “Finish” button once it is done.
    After following these steps, restart any worlds using these compendium modules to apply the changes. If something is not working correctly, we recommend reaching out to Forge support via Discord, or via email at [email protected].

Restoring your Assets Backup

Restoring assets from a backup is a similar process to restoring worlds from a backup- but fortunately, with far less chance to permanently damage ongoing worlds/campaigns.

Please note that restoring assets like this will only work if you have run the asset sync. If you have not, you will have to manually track down each media file you have uploaded to The Forge and are using, and upload it with the correct name, and file location manually. Needless to say, we do not recommend doing it that way.

Steps to restore missing assets:

  1. Navigate to your My Foundry page.
  2. Select the blue “Summon Import Wizard” button.
  3. Select the blue “Local Folder” button, to the left.
  4. Select the Data folder from the Foundry instance that you have backed up your assets to, via the asset sync. Drag it into the “Choose Folder” field.
  5. Select the blue “Analyze Files” button at the bottom.
  6. Select the blue “Import Selection” button, to the right.
  7. Let it begin importing. It will automatically place that content in the correct folders on The Forge.
  8. Each time that it tells you that the world already exists, select the “Cancel” button (recommended, unless you wish to overwrite your existing worlds).
  9. The Import Wizard should automatically import each asset, without overwriting existing worlds.
  10. (Optional) Navigate to your Assets Library or browse your Assets Library in game, and confirm that the media files are restored.

After following these steps, your Assets Library should now contain the assets from your backup, without importing duplicate images (unless you have edited them since backing them up).

1 Like

2 posts were split to a new topic: Error syncing assets