HPlogo Using KSAM XL and KSAM 64 > Chapter 7 Protecting the File and Its Data

Backing Up KSAM Files

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 4 ♥
E0394 Edition 3

A regularly scheduled backup of all files is always advisable. The STORE/RESTORE facility used for most other files is also appropriate for backing up KSAM files to tape. The following commands provide a backup routine for a KSAM file.

  FILE T=ARBACK;DEV=TAPE
  STORE ARMSTR.MGR.AR;*T


NOTE: Do not use the TRANSPORT option of the STORE command with KSAM files. The TRANSPORT option is intended as a migration option for storing files from MPE/iX to MPE V/E systems.

Use the following commands to restore the file from tape:

  FILE T=ARBACK;DEV=TAPE
  RESTORE *T;ARMSTR.MGR.AR;KEEP;DEV=DISC;SHOW

The FCOPY utility can also be used to back up KSAM files on disk instead of tape. This allows a quick recovery with little delay. If sufficient resources are available, this is an effective and rapid method of backing up files.




Recovering from a System or Software Abort


Recovering from Index Corruption