MEDIA
General User's Guide


Previous Contents Index

2.2 ACLs and MEDIA

An access control list (ACL) is a collection of access control list entries (ACEs) that grant or deny access to an object in the system. In MEDIA, a medium or a BCKMGR job can have ACEs that limit access to them. ACLs are generally used to grant access to a system object to some users, rather than all users. When a request is made to the operating system for access to an object, the ACLs are searched for a match. If a match is found in the list, the specific access is granted.

2.2.1 MEDIA example

ACLs can be used to grant access to media to several users, creating shared media. For example, a medium called TEST_TAPE is used by both SMITH and JONES for the same purpose. The MANAGER wants to limit the medium's usage to just those two users. The command would be:


 
$ MEDIA MODIFY TEST/ACL=((IDENTIFIER=[SMITH],ACCESS=READ+WRITE+EXECUTE), 
 (IDENTIFIER=[JONES],ACCESS=READ+WRITE+EXECUTE)) 
 
 
 

This would allow read, write and execute privilege to only SMITH and JONES for the medium called TEST.

2.2.2 BCKMGR example

A BCKMGR job can also have it's access limited using ACLs. Suppose a MANAGER only wants JOHNSON to be able to run a particular job. He could set the ACL using the following command:


 
$ BCKMGR MODIFY FULL/ACL=(IDENTIFIER=[JOHNSON],ACCESS=EXECUTE) 
 
 
 
 

This example would limit execute rights on the job named FULL to JOHNSON only.

2.3 Overview of Backup/Restore

The Backup and Restore capabilities of MEDIA give you invaluable control over your off-line data management. In addition to the backup management capabilities of BCKMGR, there are three ways to restore files to suit any situation in which off-line data is need quickly and reliably. These are:

  1. VAULT restore for select file restore.
  2. Restore via search for MANAGER restore of groups of files through a search criteria.
  3. Full disk recovery for recovery of a complete volume or volumes in the case of a disk crash or other problems.

All backup and restore features are described in the following sections.

2.3.1 Backup Modes

A backup is a copy of a file to off-line storage. Backups are important because they allow you to retrieve previous generations of a file even if it has been modified, damaged or deleted from your on-line directory. Because of the critical nature of many files, you need to copy the files to tape fairly often to:

The type of backup job is specified by the MANAGER when he creates the backup job. At most sites, the MANAGER will set up daily incremental backups and weekly and/or monthly full backups. Unloading backups might be scheduled daily, weekly, monthly or yearly depending on the site. Check with your MANAGER to learn the schedule of backups at your site.

In addition to standard Full and Incremental backups of on-line media, backups may be performed on remote nodes incorporating VMS clusters, PC networks and a variety of servers all to a central VMS device. Agent NT and Agent UNIX backup modes enable backups of remote nodes to remote backup devices.

Each BACKUP job in the BCKMGR system is defined by a set of attributes that describes what is to be backed up and how to do the back up. These attributes can be grouped as follows:

One of the key attributes is the backup mode number. The backup mode controls how the backup operation is performed. Several predefined modes are provided with the system. Others can easily be added by the user as needed.

Table 2-1 below lists the various predefined mode numbers.

Table 2-1 Backup modes
  Standard Scratch
Backup Type Incremental Full Incremental Full
On-line 2 3 4 5
Appending 13 14 15 16
Remote VMS 9 10 11 12
Remote PC 17 18 19 20
Remote NFS 21 22 23 24
Agent NT 25 25 25 25
Agent UNIX 26 26 26 26
Backup Type Incremental Full After Image Journal
RDB 6 7 8

2.3.2 Overview of Backup modes

The various backup modes are summarized in the below list. Later sections will describe the various backup types in greater detail.

Note

1 Scratch processing is now available on both VAX and ALPHA platforms.

2 DeviceShare is a trademark of Advanced Systems Concepts, Inc. Check with your MEDIA distributor for availability.

3 LANutil is a trademark of Vector Networks Limited. Check with your MEDIA distributor for availability.

4 TCPware from Process Software Corp.

5 MultiNet from TGV Software Inc.

6 TCP/IP Services from Digital Equipment Corp.

2.4 Designating Backup modes

While the backup mode number determines the type of backup that will be performed, the parameters in the parameter list must be correctly designated for the job to correctly execute. The parameters are dependent on the backup mode.

For instance, for an Agent NT backup of a remote Windows NT Workstation you need to have the Task/Agent Software installed and designate the backup mode as 25. The location of the NT devices and/or directories can then be designated as follows:


 
parameter(6) = "C:\WINDOWS" 
parameter(6) = "C:\SCU" 
parameter(6) = "C:\SCSI" 
parameter(7) = "D:\OFFICE97" 
parameter(8) = "e:\lotus" 
 

The parameter designation of other backup modes is explained in the following sections:

2.4.1 On-line Backups

An On-line backup will process any disk that is mounted system wide and ready to be accessed. If this is not the case then an appropriate command file must be executed before the disk is referenced to bring it on-line. It can be put in using the "@" syntax discussed earlier.

Each time the job runs a new medium is used and initialized. The output can span any number of media. A typical parameter list for such job is:


 
parameter(1) = "DISK$ISE0:" 
parameter(2) = "DISK$ISE2:[SYSMGR]" 
parameter(4) = "DISK$ISE4:[SRC]SPECIAL.DAT" 
 

2.4.2 Appending Backup

The appending mode adds to the end of the medium that was used last time. The appending mode is best suited where the output medium capacity greatly exceeds the needed capacity to do the backup. If, for example, your entire weeks incremental backups could fit on one cartridge then this mode is ideal. At intervals a new output medium is started. Two types of intervals are available they are "weekly" and "arbitrary".

Note

In order for appending backups to be automatically submitted, BCKMGR_AUTO_SUBMIT.COM must be invoked. Also, parameter 30 of the backup job must be set to the proper interval. See Section 2.5.6 for more on auto submitting jobs.

2.4.2.1 Weekly interval

The weekly interval allows you to specify which day is the last day to use the current medium. For example, to end the current medium on tuesdays and start a new one every wednesday a typical parameter list is given below:


 
parameter(1) = "+DAY_OVER := TUESDAY" 
parameter(6) = "DISK$ISE0:" 
parameter(7) = "DISK$ISE2:[SYSMGR]" 
parameter(9) = "DISK$ISE4:[SRC]SPECIAL.DAT" 
 

2.4.2.2 Arbitrary interval

The arbitrary mode allows you to specify how many appends to do before starting a new medium. For example, to append to the current medium 10 times and on 11th start a new one, a typical parameter list would appear as follows:


 
parameter(1) = "+GROUP_MAX := 10" 
parameter(1) = "DISK$ISE0:" 
parameter(2) = "DISK$ISE2:[SYSMGR]" 
parameter(4) = "DISK$ISE4:[SRC]SPECIAL.DAT" 
 

2.4.3 Remote VMS Backup

The Remote VMS backup mode can back up disks on a remote OpenVMS system by using the DeviceShare 8 utility. DeviceShare allows a remote system to serve it's local disk drives and/or tape drives over to the local system. This makes the remote disk drive and/or tape drive available to the local system. The node names of the remote systems needs to be specified before listing the disk drives on that system. A sample parameter list is as follows:


 
parameter(1) = "+BCK_NODE := ISE" 
parameter(1) = "DISK$ISE0:" 
parameter(2) = "DISK$ISE2:[SYSMGR]" 
parameter(4) = "DISK$ISE4:[SRC]SPECIAL.DAT" 
parameter(7) = "+BCK_NODE := ALPHA" 
parameter(8) = "DISK$ALPHA0:" 
parameter(9) = "DISK$ALPHA1:" 
 

The backup will make a private connection to each remote disk before issuing the BACKUP command. When the BACKUP command is done the connection is terminated. The disk names used must be known to DeviceShare.

2.4.4 Remote PC Backup

The Remote PC mode can backup all the PC's in your LAN using the LANUtil 9 utility. The main feature of this utility is to provide access to the hard drives inside the PC to the VMS system in a non-intrusive manner.

This feature is used by this backup mode. There are several other very useful functions provided by the LANutil package. Please refer to the LANutil documentation for more information.

This procedure expects each parameter to establish the source node and disk drive to backup from. A sample of what can be on the parameter list is given below.


 
parameter(1) = "BIRCH::C:" 
parameter(2) = "MAPLE::C:[DOS.TEMP]" 
parameter(3) = "SPRUCE::C:[DOS.TEMP]AUTOEXEC.BAT" 
 

Each parameter completely specifies the path to the file. The node name is included on each line. Alternately the path can be specified using the DOS file naming conventions. The above list specified using the DOS file format appears below:


 
parameter(1) = "MAPLE\C" 
parameter(2) = "MAPLE\C\DOS\" 
parameter(3) = "MAPLE\C\DOS\TEMP\AUTOEXEC.BAT" 
 

Note

8 DeviceShare is a trademark of Advanced Systems Concepts, Inc. Check with your MEDIA distributor for availability.

9 LANutil is a trademark of Vector Networks Limited. Check with your MEDIA distributor for availability.


Previous Next Contents Index