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 Instance Directory (working directory) are key files to backup regularly:

Expand
titleComponent Repository Files - /repos/

Iguana X 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
<instance directory>/repos/

Due to the way Iguana X leverages git (How does IguanaX use bitbucket?) you can also connect each one of your components to an upstream repository in Bitbucket to backup your components.

...

titleCommit
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
<instance 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
<instance directory>/logt/

...

titleEnvironment Variables - IguanaEnv.txt

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

You can find this file in:

Code Block
<intance 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

Info

Note: Ensure your backup software does not lock the files in the log directory and the configuration directory as these files are frequently accessed by Iguana. It may cause an interruption if Iguana tries to access these files and they are locked by another process.

For Antivirus software, it is recommended to whitelist the log directory and the configuration directory.