06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Overview<br />

2.9 Getting Started<br />

Be<strong>for</strong>e creating save or res<strong>to</strong>re requests, you should first configure the media management environment.<br />

This includes the tape volumes, drives, jukeboxes and other media management<br />

objects that you may want <strong>to</strong> use. The recommended way <strong>to</strong> do this is <strong>to</strong> run the MDMS configuration<br />

command procedure, which offers an online tu<strong>to</strong>rial and help in defining the configuration.<br />

During execution of this procedure, type “?” <strong>to</strong> get help on any question, and type “??” <strong>to</strong><br />

get help and (in many cases) a list of existing objects or possible values <strong>for</strong> answers <strong>to</strong> questions.<br />

To invoke this procedure:<br />

@MDMS$SYSTEM:MDMS$CONFIGURE<br />

A complete example of running this procedure is provided in Appendix A.<br />

Having completed the media management configuration, creating a save or res<strong>to</strong>re request in<br />

ABS can be very simple if you elect <strong>to</strong> use the default archives, environments and selection<br />

objects. The minimum amount of in<strong>for</strong>mation you need <strong>to</strong> specify <strong>for</strong> a save or res<strong>to</strong>re request is:<br />

• The name of the save or res<strong>to</strong>re.<br />

• The disks or files <strong>to</strong> be saved.<br />

• The start time of the save.<br />

ABS tries <strong>to</strong> determine the type of data being saved based on the <strong>for</strong>mat of the file specification<br />

and assigns by default a relevant archive and environment. So, <strong>for</strong> example, a save request can<br />

be specified and executed in a single DCL command as follows:<br />

$ MDMS CREATE SAVE MY_SAVE/INCLUDE=DISK$USER1:[SMITH...]/START<br />

This command creates a save called MY_SAVE, includes the file specification<br />

DISK$USER1:[SMITH...] (all files), and starts the save immediately. MDMS determines that<br />

this is a save of VMS files based on the file <strong>for</strong>mat, and assigns archive SYSTEM_BACKUPS<br />

and environment SYSTEM_BACKUPS_ENV, and creates a default selection and schedule.<br />

With this save definition, a default frequency of ONE_TIME_ONLY is assigned, and the save is<br />

not scheduled <strong>for</strong> regular execution.<br />

A res<strong>to</strong>re can also be defined. For example, <strong>to</strong> res<strong>to</strong>re the same files that were saved in<br />

MY_SAVE, you can enter the following command:<br />

$ MDMS CREATE RESTORE MY_RESTORE/INCLUDE=DISK$USER1:[SMITH...]/START<br />

This command creates a res<strong>to</strong>re called MY_RESTORE, includes the file specification<br />

DISK$USER1:[SMITH...] (all files), and starts the res<strong>to</strong>re immediately. MDMS determines that<br />

this is a res<strong>to</strong>re of VMS files based on the file <strong>for</strong>mat, and assigns archive SYSTEM_BACKUPS<br />

and environment SYSTEM_BACKUPS_ENV, and creates a default selection and schedule.<br />

With this res<strong>to</strong>re definition, a default frequency of ONE_TIME_ONLY is assigned, and the<br />

res<strong>to</strong>re is not scheduled <strong>for</strong> regular execution.<br />

Note<br />

Define the logical referring <strong>to</strong> the disk name be<strong>for</strong>e executing the res<strong>to</strong>re request. For<br />

more in<strong>for</strong>mation, see the note given in Section 3.5.8, “Destination (Res<strong>to</strong>re Only)”.<br />

Since these requests were defined with a frequency of ONE_TIME_ONLY, ABS will au<strong>to</strong>matically<br />

delete them after a default interval of 3 days after execution.<br />

Of course, creating the backup environment <strong>to</strong> backup all data in your production environment<br />

will involve more complex definitions, including creating your own archives, environments and<br />

in some cases selections and schedules. Chapter 3, Saving and Res<strong>to</strong>ring Data, describes all the<br />

ABS objects in detail.<br />

2-12 Overview

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!