MEGA Administration : Administrator Guide : Managing Repositories : Managing Repositories : Repository Logical Backup
   
Repository Logical Backup
Before you make a repository backup, dispatch all current private workspaces so that their changes are included in the backup. To view private workspaces active on your repository, use the private workspaces administration tool, see "Workspace Administration", page 200.
Logical backup:
creates a command file that allows you to reconstruct the repository by update of an empty repository.
analyzes all repository content.
is safer than a physical backup since it checks that all data in the repository is readable.
can be used as a long term archive or to merge repositories.
*You can execute updates on the repository after starting logical backup by dispatching a private workspace. Note, however, that these modifications are not included in the backup.
*You can temporarily prohibit users from updating the repository by clearing the Authorize Dispatch option in the environment or user options.
To execute a logical backup of a repository:
1. Connect to MEGA Administration and select the repository concerned.
2. Right-click the repository concerned and select Logical Backup.
The Repository Logical Backup dialog box opens.
 
3. In the Destination frame, select the export format of the backup file:
text format (*.MGR).
*For more details on .MGR file syntax, see "Command File Syntax", page 349.
MEGA XML format (*.XMG)
This format is reserved for exchange of data between MEGA and other applications. It includes commands or data (objects and links).
This format cannot be used to extract the metamodel or technical data.
*For more details on MEGA XML data exchange format, see technical article MEGA Data Exchange XML Format EN.
*Environment options enabling configuration of MEGA data export (XMG encoding, default export format, etc.). See "Managing Options", page 365.
4. (Optional) In the Destination frame, click Browse to browse the folder tree and modify the name and/or location of the backup file.
By default, the backup creates a file "RepositoryName.mgr" in the WORK work folder.
*We recommend that this backup be made to a physical device other than the device on which the repository is located. Selection of a different logical device, such as a different partition on the same disk, does not protect your backup in the event of disk failure.
5. Select the type of data you want to save.
*The Extensions buttons correspond to data created by users.
*Carry out a complete backup only if technical support asks you to do so.
*You can choose what you want to save: extensions common to environment repositories and data specific to current repository. It is recommended that you save all these elements in separate specific files, with names indicating their contents.
*For a standard logical backup, simply select the Data and its Extensions.
In the frame Data common to environment repositories, select the data type of the system repository to be saved:
Metamodel allows extraction of the metamodel, if the standard metamodel has been modified.
Technical Data allows extraction of data such as descriptors, queries, and report templates (MS Word).
*A complete logical backup of the repository including the Technical Data can take time and occupies considerable space.
Profiles and Business roles allows extraction of created profiles and business roles (those not provided by MEGA).
Writing access areas, reading access areas and LDAP allows extraction of created writing and reading access areas (those not provided by MEGA) and LDAP parameters (parameters, servers, groups).
Users allows extraction of created users (persons, person groups, logins).
Workflow statuses enables extraction of workflows (workflow instances, transitions and statuses, tasks, validations, requests for change).
In the frame Data specific to current repository:
Data allows extraction of repository data. This data includes assignment of business roles to persons.
Log objects allows you to include object histories in the extraction of MEGA data.
*For more information on object logs, see "Viewing Object History".
Objects of merging allows you to export technical objects resulting from merging objects (_TransferredObject).
*For further information on merging objects, see "Merging Two Objects", page 277.
6. Click Backup to start backup.
During execution of backup, a series of messages keeps you informed of progress.
The backup report is displayed in the Report area.
*For more information on this file, see "Viewing the Environment Report File".
To update a repository, import the repository backup file.
*For more details on importing a command file, see "Updating a Repository".