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.

Saving and Res<strong>to</strong>ring Data<br />

3.4 Environments<br />

3.4 Environments<br />

3.4.1 Environment Name<br />

3.4.2 Action<br />

Create a new catalog called COPIED_TAPES. Create an archive called COPIED_ARCH, which<br />

points <strong>to</strong> the catalog COPIED_TAPES.<br />

Create a save request specifying TAP000:* <strong>for</strong> the include specification and give it a data_type<br />

of VMS_SAVESET.<br />

ABS will execute the request, cataloging the in<strong>for</strong>mation in<strong>to</strong> the COPIED_TAPES catalog.<br />

To res<strong>to</strong>re the data which is on ABS000 or TAP000, decide which copy you wish <strong>to</strong> res<strong>to</strong>re and<br />

specify the appropriate archive or catalog on the res<strong>to</strong>re request. For example, <strong>to</strong> res<strong>to</strong>re from the<br />

original tapes, specify the SYSTEM_BACKUPS archive. To res<strong>to</strong>re from the copy, specify the<br />

COPIED_ARCH archive. The MDMS SHOW CATALOG/FILES command with the /FULL<br />

qualifier will show the volumes used <strong>for</strong> the data.<br />

Note<br />

If the in<strong>for</strong>mation about the original and copied savesets is put in<strong>to</strong> the same catalog,<br />

they will have exactly the same archived data. This could cause confusion when res<strong>to</strong>ring<br />

the data because ABS may not choose the tapes you wish <strong>to</strong> use <strong>for</strong> the res<strong>to</strong>re. To<br />

make it easier <strong>to</strong> res<strong>to</strong>re, it is recommended <strong>to</strong> use a separate catalog (as described<br />

above).<br />

An environment describes the criteria under which save and res<strong>to</strong>re requests execute, and<br />

exactly one environment must be associated with each save and res<strong>to</strong>re request. You can use a<br />

single environment <strong>for</strong> many different saves and res<strong>to</strong>res by simply referencing the environment<br />

in the save and res<strong>to</strong>re request. ABS defines five environments by default, which you can use in<br />

your save and res<strong>to</strong>re requests as needed:<br />

• SYSTEM_BACKUPS_ENV - For system backups that are normally per<strong>for</strong>med by a system<br />

administra<strong>to</strong>r at regularly scheduled times<br />

• USER_BACKUPS_ENV - For backups per<strong>for</strong>med by a non-privileged user <strong>to</strong> save or<br />

res<strong>to</strong>re his or her own data<br />

• UNIX_BACKUPS_ENV - For backups of UNIX client data, normally per<strong>for</strong>med by a system<br />

administra<strong>to</strong>r<br />

• DISASTER_RECOVERY_ENV - For backups primarily designated <strong>for</strong> disaster recovery<br />

• DEFAULT_ENV - Used by default in the event one of the other default environments have<br />

been deleted<br />

Although these default environments are provided by ABS, you may modify them as needed <strong>to</strong><br />

suit your site’s operational needs. Alternatively, you can create your own environments and<br />

manipulate the attributes as described in the following sections.<br />

This name is used <strong>to</strong> reference the environment in save and res<strong>to</strong>re requests. There are no<br />

required conventions <strong>for</strong> environment names, but ABS uses an ad-hoc convention that pairs<br />

environments and archives. If you specify an archive of name FOO, then by convention there<br />

should be a matching environment named FOO_ENV. You can choose <strong>to</strong> follow or ignore this<br />

convention <strong>for</strong> your site.<br />

The action attribute specifies one of three possible actions <strong>to</strong> be per<strong>for</strong>med on files saved using<br />

this environment. Specify one of the following three actions:<br />

3-12 Saving and Res<strong>to</strong>ring Data

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

Saved successfully!

Ooh no, something went wrong!