 Using the Archive utility

The ISaGRAF archive utility enables the user to save the ISaGRAF projects and libraries on diskettes or backup directory. The ISaGRAF archive manager is a dialog box that can be called from ISaGRAF Project Management or Library Management windows.

Calling the archive manager

Options

Backup and restore

Archive files

 To create and maintain reliable archives, it is suggested that the following guidelines be used:

•	Write the name and description of the saved object on the disk sticker

•	Do not save projects and libraries on the same diskette

•	Do not save different projects on the same diskette


Calling the archive manager

The "Archive" dialog box can be called from the "Tools / Archive" menu of the Project Management window, to save or restore either a project, or common data:

Projects

Common data

The "Archive" dialog box can also be run from the "Tools / Archive" command of the ISaGRAF Library Manager, to save or restore elements of the library currently selected in the Library Management window:

Library elements


Projects

A project is always saved in its entire form. All the components of the project (program source files, object code and application executable code) are saved together in the same archive file. Selection of the "compression" option reduces the size of the project archive.


Library elements

The elements of ISaGRAF libraries can be saved individually. All the components of a library element (technical note, definition, interface, source code...) are saved together in the same archive file.


Common data

The "Tool / Archive / Common data" command of the Project Management window enables the user to backup or restore the "common range" data existing in the ISaGRAF Workbench. This command does not act on the ISaGRAF libraries. Below is the list of the files that can be copied with this command:

common.eqv	common defined words

oem.bat	user defined MS-DOS command file

These files are saved one by one on the archive disk, in their original form. The corresponding archive files are never compressed.


Options

The path used for ISaGRAF archives is displayed at the bottom of the dialog box. Press the "Browse" button to browse the disks and select another archive disk and directory.

When the "Compression" option is set, all the archive files created during a "Backup" procedure are compressed. This option is very useful to reduce the size of a large project archive file, and save it on only one diskette. Archive compression is generally not needed for library components. The ISaGRAF Archive Manager automatically recognizes the status of an archive file (compressed or not) when restoring the archive. This implies that the "compression" option has no effect for a "Restore" procedure.


Backup and restore

The "Workbench" list (on the left) shows the objects existing in the ISaGRAF Workbench installed on the hard disk. The "Archive" list (on the right) shows the objects saved on the specified archive disk and directory.

Backup

Restore


Backup

Saving an object on archive is achieved by selecting the object in the list on the left (objects of the ISaGRAF workbench) and pressing the "Backup" button. More than one object on the list can be selected. The "Backup" button is disabled when an element is selected from the list on the right (restore mode).


Restore

Copying an object from the archive to the ISaGRAF Workbench is achieved by selecting the object in the list on the right (archive objects) and pressing the "Restore" button. More than one object on the list can be selected. The "Restore" button is disabled when an element is selected from the list on the left (backup mode).


Archive files

The ISaGRAF archive manager creates a unique archive file for each saved object. The archive file has the same name as the object. Its file suffix indicates its type. Below are the used suffixes:

.pia	project

.bia	I/O board

.iia	function in IEC language

.aia	function block in IEC language

.uia	C function

.fia	C function block

.cia	C conversion function

.ria	I/O configuration

.xia	I/O equipment