VMS Help  —  BACKUP  Qualifiers
device, the extra uninitialized blocks at the end of the output device might create an unusable disk volume. If the input device contains a FILES-11 ODS-2 or ODS-5 volume, you can expand the volume size on the output device after the restore by using the DCL command SET VOLUME/LIMIT/SIZE. For all physical operations, the output disk cannot have a bad block in any location that corresponds to a good block on the input disk. (This restriction does not apply to RA or more recent disk architectures.)

47    /PROGRESS_REPORT

       /PROGRESS_REPORT=n

    Use the /PROGRESS_REPORT qualifier to display the progress of
    a BACKUP operation on the current output device in every 'n'
    seconds. This qualifier expects an integer value from the user
    and does not have any default value.

    (When you use BACKUP to back up or restore data interactively,
    press Ctrl/T to display the progress of the operation.)

48    /PROTECTION

       /PROTECTION[=(code)]

    Defines the protection you want applied to a save set on a disk
    or to a magnetic tape volume. The code indicates the type of
    access (read, write, execute, and delete) available to the four
    categories of users (system, owner, group, and world).

    Protection information applies to all save sets stored on a
    tape. If you write the save set to either a Files-11 disk or a
    sequential disk without using the /PROTECTION qualifier, the
    default is the process default protection.

    To initialize a magnetic tape with the correct protection,
    specify the output save-set qualifier /REWIND with the
    /PROTECTION qualifier. If you do not specify /REWIND with
    /PROTECTION, the protection information, if any, in the volume
    header record is not changed. However, specifying /PROTECTION
    without /REWIND ensures that continuation volumes receive the
    correct protection.

49    /RECORD

    Records the current date and time in the BACKUP date field of
    each file header record once a file is successfully saved or
    copied. If you do not specify the /RECORD qualifier, BACKUP does
    not change the BACKUP date field of each processed file. Observe
    the following restrictions:

    o  The /RECORD qualifier is valid only with Files-11 Structure
       Levels 2 and 5 volumes.

    o  To use the /RECORD qualifier you must either own the file or
       have SYSPRV privileges.

    o  You cannot use the /RECORD qualifier with the /DELETE
       qualifier.

    o  You can use the /RECORD qualifier in BACKUP save or copy
       operations only.

50    /RELEASE_TAPE

    Dismounts and unloads a tape after a BACKUP save operation writes
    a save set to the tape (and optionally verifies the save set
    information on that tape). By using the /RELEASE_TAPE qualifier
    in conjunction with either the /DELETE or /RECORD qualifiers, you
    can make a tape drive available for other operations before the
    BACKUP command completes.

    The tape remains allocated until you enter the DEALLOCATE
    command.

51    /REPAIR

    Helps BACKUP to reset the RMS file attribute of a save set file
    which gets corrupted when a save set is transferred via HTTP
    or copied using FTP or compressed and uncompressed using ZIP.

    You can use the /REPAIR qualifier to repair the save set attributes.

52    /REPLACE

    When you use /REPLACE in a copy or restore operation, and an
    identically named file exists in both the input and output
    specifiers, BACKUP performs the following tasks:

    o  Copies or restores a new version of the file with the same
       directory specification, file name, type, and version number

    o  Deletes the copy of the file that previously existed on the
       output disk

    In this way, the previous copy of the file is replaced with the
    restored version. Note that the version number is not incremented
    because the old copy of the file is deleted. If you want to keep
    the versions from both the input and the output specifiers, use
    the output file qualifier /NEW_VERSION.

    If you do not use /REPLACE, /OVERLAY, or /NEW_VERSION, and the
    version number of the file being restored is identical to the
    version number of the existing file, BACKUP reports an error and
    does not restore the file.

53    /REWIND

       /REWIND
       /NOREWIND (default)

    As an input save-set qualifier, causes the input tape reel to be
    rewound (/REWIND) or not rewound (/NOREWIND) to beginning-of-tape
    (BOT) before BACKUP searches for the save-set name specified in
    the input specifier.

    As an output save-set qualifier, specifies that the output
    magnetic tape is to be rewound and initialized before the
    save operation begins (/REWIND) or that the tape is neither
    to be rewound nor initialized before the save operation begins
    (/NOREWIND). Initializing the tape removes access to any existing
    data on the tape.

    If you want to start processing at BOT, and the magnetic tape is
    already positioned beyond BOT, specify /REWIND. Otherwise, the
    magnetic tape begins (or resumes) processing from the logical
    end-of-tape (EOT) marker.

    Use the /[NO]REWIND qualifier for magnetic tape save sets only.

54    /SAVE_SET

    Defines the input or output specifier as a BACKUP save set.
    Normally, BACKUP treats specifiers that refer to disk files as
    Files-11 files and specifiers that refer to tapes as BACKUP save
    sets.

    You must specify the /SAVE_SET qualifier when the input or output
    specifier is a BACKUP save set on a Files-11 disk.

55    /SELECT

       /SELECT
       /SELECT=(file-spec[,...])

    Selects the specified files for processing.

    If you specify more than one file, separate the file
    specifications with commas and enclose the list in parentheses.

    Do not use a device specification when you define the files to be
    selected. You can use most standard wildcard characters, but you
    cannot use wildcard characters denoting latest version of files
    (;)  and relative versions of files (;-n).

    You cannot use the /SELECT qualifier in image save operations.

56    /SINCE

       /SINCE=time

    Selects files dated equal to or later than the specified date
    and time. You can enter the time in either absolute time or delta
    time. Specify these time values according to the rules described
    in the OpenVMS User's Manual.

    You can also specify the time using one of the following options:

    BACKUP     The BACKUP/RECORD operation (available only on Files-
               11 Structure Levels 2 and 5 volumes)

    TODAY      The current day, month, and year at 00:00:00.0 o'clock

    TOMORROW   24 hours after midnight last night

    YESTERDAY  24 hours before midnight last night

57    /SIZE

       /SIZE = [n]

    The logical volume size is recorded in the save-set header during
    a backup operation. By default, during a restore operation, the
    logical volume size is not preserved because restoring a save
    set of 2 GB to a 4-GB disk, for example, results in only 2 GB of
    available disk space.

    The /SIZE qualifier, however, allows you to preserve the logical
    volume size on the target device. Alternatively, you can specify
    the logical volume size of the target device by using the
    optional keyword value n.

58    /TAPE_EXPIRATION

       /TAPE_EXPIRATION=dd-mmm-yyyy

    Writes a file expiration date other than the current date to the
    file header label of the save set.

    VSI recommends that you specify an expiration date whenever you
    create a BACKUP save set on magnetic tape using /REWIND. Daily
    BACKUP tapes should expire in seven days, weekly BACKUP tapes
    should expire in one month, and monthly BACKUP tapes should
    expire in one year.

    Specify the date in absolute time format, according to the rules
    described the OpenVMS User's Manual. If you do not specify an
    expiration date, today's date is written to the volume header
    record when you perform a save operation using /REWIND.

59    /TRUNCATE

       /TRUNCATE
       /NOTRUNCATE (default)

    Controls whether a copy or restore operation truncates a
    sequential output file at the end-of-file (EOF) when creating
    it. By default, a copy or restore operation uses the allocation
    of the input file to determine the size of the output file.

60    /VERIFY

    Specifies that the contents of the output specifier be compared
    with the contents of the input specifier after a save, restore,
    or copy operation is completed. If a file does not compare
    successfully, BACKUP displays an error message.

61    /VOLUME

       /VOLUME=n

    Indicates that a specific disk volume in a disk volume set is to
    be processed. The /VOLUME qualifier is valid only when used with
    the /IMAGE qualifier. Using this qualifier allows you to perform
    BACKUP operations on a disk volume set when you have only one
    disk drive with which to perform BACKUP operations.

62    /WINDOW

       /WINDOW=[FULL]LIMITED

    Specifies the number of mapping pointers to be allocated for file
    windows. By default, file window has 7 mapping pointers and it
    increases as file is more fragmented. Window is taken from nonpaged
    pool and is charged against process BYTLM quota. This may result
    in performance degrade when BACKUP tries to map the 8th extent
    of the file. Contiguous files are always completely mapped, but
    noncontiguous files may or may not be completely mapped.

    You can use the following keywords with the /WINDOW qualifier:

    FULL        Default full mapping.
    LIMITED     Optional limited size window.

63    /ZLIB_LEVEL

      /ZLIB_LEVEL=n

    The /ZLIB_LEVEL qualifier provides a tuning mechanism for the
    amount of compression performed and resulting CPU time required
    when creating a compressed save set using /DATA_FORMAT=COMPRESS.

    The compression value n is required syntax and may range from 1 to 9.

    A value of 1 provides only the initial level of compression, using the
    least amount of CPU possible.  This value corresponds to the need
    to finish backups in the smallest time possible but still compressing
    the data to some degree.  Even with this smallest value, the data
    compression can be very dramatic.

    A value of 9 provides the highest level of compression, but requires
    more CPU time to accomplish.  This value corresponds to the need
    to produce the smallest backup save sets possible, for example to
    fit on a fixed size output media which is near capacity.

    If /ZLIB_LEVEL is not specified, BACKUP uses the default compression
    value which is equivalent to level 6.

    /ZLIB_LEVEL is only valid in conjunction with /DATA_FORMAT=COMPRESS.
    It is only used for save set creation.  The qualifier is ignored for
    restore operations.
Close Help