Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The way Iguana is architected and packaged together makes for a smooth backup procedure. See How is Iguana X packaged?

The following files in your Working Directory are key files to backup regularly:

Expand
titleComponent Repository Files - /repos/

IguanaX stores all local component repositories in a single repos directory in your working directory. The repos directory contains individual folders for each component, storing the project files (including custom fields and their default values, sample data, and database files added to your component projects).

You can backup this single directory to backup all components and their associated project files on your instance. This directory can be found in:

Code Block
<working directory>/repos/

Due to the way IguanaX leverages git, you can also connect each one of your components to an upstream repository in Bitbucket to backup your components.

Expand
titleComponent running commit - /run/

The commit you select to run each component on is stored in the run directory. It is recommended to backup this entire directory to save the running commits. If not backed up, during the restore process, all components would be set to run from the DEVELOPMENT commit.

This directory can be found in:

Code Block
<working directory>/run/

See Choosing the code to run for your component for context on selecting component commits.

Expand
titleConfiguration Files - /configurations/

The Configuration Files contain all your unique Iguana instance configurations like your users, notifications, logging rules, web server settings, custom field values etc. It is recommended to backup the entire configuration directory regularly.

This directory can be found in:

Code Block
<working directory>/configurations/ 
Expand
titleLog Files - /logt/

The Log Directory contains all of your Iguana Service and transaction data flowing through Iguana. It is recommended to backup the entire log directory.

This directory can be found in:

Code Block
<working directory>/logt/

...

titleEnvironment Variables - IguanaEnv.txt

If you have configured any custom environment variables, an IguanaEnv.txt file is created and stored in your working directory.

You can find this file in:

Code Block
<working directory>/IguanaEnv.txt

...

Iguana’s files are structured so that all the key files that should be backed up in order to restore IguanaX are located in the Working Directory.

It is recommended to regularly backup the entire working directory. However, if you want to decrease the size of your backup, it is safe to exclude particular folders:

Files

Default Location

Required?

Instance Configuration Files

<working directory>/config/

Required

Log Directory

<working directory>/logt/

(unless changed to a new location)

Required

Resources

<working directory>/resources/

Optional

Rebuilt on startup

Upgrades

<working directory>/upgrades/

Optional

Other files and dependencies created by components.

Ex. a database file

<working directory>/

Required