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 | ||
---|---|---|
| ||
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:
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. |
...
title | Commit |
---|
Expand | ||
---|---|---|
| ||
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:
|
Expand | ||
---|---|---|
| ||
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:
|
...
title | Environment 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 |
| Required |
(unless changed to a new location) | Required | |
Resources |
| Optional Rebuilt on startup |
Upgrades |
| Optional |
Other files and dependencies created by components. Ex. a database file |
| 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. |