This page describes how to backup and restore an Iguana Server. Please pay careful attention.
Backup Procedure
Backup the following Iguana files:
- <working directory>\IguanaConfiguration.xml
- <working directory>\vcs_repo.sqlite
- <working directory>\IguanaEnv.txt
- <log directory>\log\<YYYMMDD>.log
- Log backup must not be run at the time the logs are being purged.
- All VMD files that are used by Legacy components in your channels.
- Legacy components are: From Database, To Database and Legacy Filter components
- All Translator component VMDs are stored in Fossil (vcs_repo.sqlite) and will be recreated automatically
- All databases that are used in your channels.
- Optional: backup the sample data for channels, located in <install dir>\data.
It’s important that your backup process does not backup these files:
- <log directory>\log\index\*.*
- <log directory>\log\meta\*.*
These files are index files for the logs which Iguana can regenerate from scratch from the *.log files. There is no benefit in backing them up. If you do back them up it can stop Iguana from functioning since the backup process can lock these files so that you will see this error.
Restore Procedure
Follow these steps:
- Install or reinstall Iguana
- To install in a different directory you must update the log_directory entry in IguanaConfiguration.xml to match.
- If you need a new license code follow the procedure for transferring a license to another computer
- To get up and running quickly log in to your members account and activate a temporary code
- Stop the iNTERFACEWARE Iguana service
- Replace the default IguanaConfiguration.xml file with your saved backup copy
- Edit IguanaConfiguration.xml change any instance of StartAutomatically or start_automatically from true to false
- Restore all other backed up files:
- vcs_repo.sqlite
- <YYYMMDD>.log
- All VMD files that are used by Legacy components in your channels
- All databases that are used by your channels
- Optionally sample data for channels
- Test channels by starting each one manually.
- Once everything works configure the channels to start automatically, or simply reverse the edits made in step 5.
Notes
- If your backup (or antivirus) software locks the index files for over 30 minutes, this error is generated and all channels will be stopped.
- Database backup and restore procedures will differ, speak to whoever is responsible for the databases you are using.
- This process can also be used to duplicate a server on another machine, which is useful for development purposes:
- To install in a different directory you must update the log_directory entry in IguanaConfiguration.xml to match.
- Step 6 backing up the sample data is particularly useful if you are copying a development server.
- The *.log files are designed to be backup friendly – they are append only. However ensure that your backup software does not exclusively lock these files.
Pingback: Top Support Questions of March 2015 - iNTERFACEWARE Inc.