Advanced Restore and Rediscover Operations
Introduction
This article covers additional CLI options for restoring an Eyeglass appliance from a backup archive, and the igls appliance rediscover command, which rebuilds the Eyeglass database without requiring a backup file. For the primary GUI-driven backup and restore workflow, see Backup and Restore.
Additional Restore Syntax
In addition to specifying the full path to a backup file, the igls app restore command also accepts a directory path. When a directory is provided, Eyeglass scans all backup files present, identifies the most recent one, and prompts for confirmation before proceeding:
igls app restore /srv/www/htdocs/archive
Eyeglass will list the most recently created backup file found in the directory and ask for a yes/no confirmation before restoring it. To restore a specific file instead of the most recent one, pass the full path to that file, as described in Backup and Restore.
You must be logged in as the admin or root user to run restore commands.
Rebuilding the Eyeglass Database (Rediscover)
The igls appliance rediscover command rebuilds the Eyeglass database without requiring a backup archive. Use this command only when directed by Superna Support.
igls appliance rediscover
The command prompts for confirmation (yes) before continuing.
The rediscover operation preserves the following, even though it rebuilds the database:
- Job status (release 1.8 and later)
- The quota request database
- The data recovery database
After Running Rediscover
- Refresh the Eyeglass Web UI login screen.
- Open the running jobs view. The initial discovery job runs automatically to repopulate cluster information in the Inventory view.
- Once discovery completes, the Jobs Definition screen shows jobs in their previous state, displayed as pending.
- Jobs run again automatically at their next scheduled interval, or you can force them to run immediately using the Run Now option.