/sys$common/syshlp/HELPLIB.HLB  —  BACKUP Examples
    Save Operation Quick Reference shows BACKUP command formats for
    save operations and some of the qualifiers you can use with a
    save operation.

    Table 1 Save Operation Quick Reference

    Command Action     Command Format and Example

    Saves a file to    BACKUP file-spec save-set-
    a save set on      specifier/LABEL=label
    magnetic tape      $ BACKUP STRATDAT1.DAT
                       MTA0:STRATDAT1.BCK/LABEL=TAPE01

    Saves the most     BACKUP [directory]*.*; save-set-
    recent versions    specifier/LABEL=label
    of files in a      $ BACKUP [LYKINS...]*.*;
    directory to       MTA0:1409MAR17.BCK/LABEL=WKY102
    magnetic tape

    Saves a disk       BACKUP/IMAGE ddcu: save-set-
    volume to a save   specifier/LABEL=label
    set on magnetic    $ BACKUP/IMAGE DBA1:
    tape               MTA0:000FEB4.BCK/LABEL=MTH101

    Saves a disk       BACKUP/IMAGE ddcu: save-set-
    volume to a        specifier,ddcu: . . . /LABEL=(label1, . . . )
    multivolume save   $ BACKUP/IMAGE DBA1: MTA0:17MAR.BCK,MTA1:/ -
    set on more than   _$ LABEL=(WKY101,WKY102)
    one magnetic tape
    drive

    Saves a list of    BACKUP file-spec,file-spec,... save-set-
    files to a save    specifier/LABEL=label
    set on magnetic    $ BACKUP
    tape               DBA1:[LYKINS...]*.PAS,DMA0:[DAKOTA...]*.PAS
                       -
                       _$ MTA0:PAS17MAR.BCK/LABEL=TAPE01

    Saves a disk       BACKUP/RECORD/IMAGE/LOG ddcu: save-set-
    volume for         specifier/LABEL=label
    incremental        $ BACKUP/RECORD/IMAGE/LOG DBA1:
    backups for the    MTA0:985FEB4.BCK/ -
    first time         _$ LABEL=DLY101

    Saves a disk       BACKUP/RECORD/FAST/LOG
    volume for         ddcu:[*...]/SINCE=BACKUP save-set-
    incremental        specifier/LABEL=label
    backups (not       $ BACKUP/RECORD/FAST/LOG
    the first time)    DBA1:[*...]/SINCE=BACKUP -
                       _$ MTA0:988FEB4.BCK/LABEL=DLY101

    Saves an           BACKUP/PHYSICAL ddcu: save-set-
    unstructured       specifier/LABEL=label
    disk volume        $ BACKUP/PHYSICAL DMA1:
                       MTA0:985FEB4.BCK/LABEL=MTH101

    Saves a directory  BACKUP [directory] save-set-specifier/SAVE_SET
    to a save set on   $ BACKUP [LYKINS]
    a Files-11 disk    DBA2:[BACKUP]1609FEB3.BCK/SAVE_SET

    Saves a directory  BACKUP [directory...] save-set-
    tree to a save     specifier/LABEL=label
    set on magnetic    $ BACKUP [LYKINS...]
    tape               MTA0:1612FEB3.BCK/LABEL=TAPE01

    Saves a directory  BACKUP/LIST=file-spec [directory...] save-set-
    tree to a save     specifier/LABEL=label
    set on magnetic    $ BACKUP/LIST=8SEP.LOG [LYKINS...]
    tape and creates   MTA0:8SEP.BCK/LABEL=WKL101
    a listing file

    Saves a directory  BACKUP [directory...] save-set-
    tree to a save     specifier/MEDIA_FORMAT=COMPACTION
    set on magnetic    $ BACKUP [TESTFILES...]*.*;*
    tape using data    MUA0:TEST.SAV/MEDIA_FORMAT=COMPACTION/REWIND
    compaction to
    increase the
    amount of data
    stored on a tape
    cartridge

    Restore Operation Quick Reference shows BACKUP command formats
    for restore operations and some of the qualifiers you can use
    with restore operations. In the examples in this table, it is
    assumed that save sets already exist on the magnetic tape and
    disk.

    Table 2 Restore Operation Quick Reference

    Command Action     Command Format and Example

    Restores from      BACKUP save-set-specifier/SAVE_SET
    save set on disk   ddcu:[*...]/BY_OWNER=ORIGINAL
    to Files-11 disk   $ BACKUP DBA2:[BACKUP]FEB2.BCK/SAVE_SET
    with original      DBA1:[*...]-
    UICs               _$/BY_OWNER=ORIGINAL

    Restores from      BACKUP save-set-specifier ddcu:[*...]/BY_
    a save set on      OWNER=ORIGINAL
    magnetic tape to   $ BACKUP MTA0:1618FEB2.BCK DBA1:[*...]/BY_
    a Files-11 disk    OWNER=ORIGINAL
    with original
    UICs

    Restores a         BACKUP save-set-specifier/SELECT=file-spec
    selected file      file-spec
    in a save set on   $ BACKUP
    magnetic tape to   MTA0:FEB2.BCK/SELECT=[POUDRE]UPLIFT.PAS -
    a Files-11 disk
                       _$ DBA1:[GEO.PAS]UPLIFT.PAS

    Restores files     BACKUP save-set-specifier/BY_OWNER=[uic] file-
    with a specific    spec
    UIC to a Files-11  $ BACKUP MTA0:1641FEB2.BCK/BY_OWNER=[360,052]
    disk               -
                       _$ DBA1:[LYKINS...]

    Restores files to  BACKUP save-set-specifier file-spec/BY_
    a Files-11 disk    OWNER=[uic]
    with a new UIC     $ BACKUP MTA0:1641FEB2.BCK -
                       _$ DBA1:[TESTS...]/BY_OWNER=[100,150]

    Restores files     BACKUP save-set-specifier file-spec/NEW_
    to a Files-11      VERSION
    disk; if file      $ BACKUP MTA0:1641FEB2.BCK
    exists, creates    DBA1:[LYKINS...]/NEW_VERSION
    new version

    Restores files to  BACKUP save-set-specifier file-spec/REPLACE
    a Files-11 disk;   $ BACKUP MTA0:1641FEB2.BCK
    if file exists,    DBA1:[LYKINS...]/REPLACE
    replaces with new
    version

    Restores files to  BACKUP save-set-specifier/SELECT=file-spec
    a Files-11 disk    file-spec
    selecting certain  $ BACKUP MTA0:1641FEB2.BCK/SELECT=[LYKINS.PAS]
    files              -
                       _$ DBA1:[LYKINS...]

    Restores a         BACKUP
    directory tree,    save-set-specifier/SELECT=[directory...]
    placing files      [directory2...]
    in a different     $ BACKUP MTA0:1641FEB2.BCK/SELECT=[FIELD...] -
    subtree            _$ DBA1:[LYKINS.NEWDATA...]

    Restores a Files-  BACKUP/PHYSICAL save-set-specifier ddcu:
    11 volume from a   $ BACKUP/PHYSICAL MTA0:26MAR.BCK DMA3:
    physical save set

    Restores a Files-  BACKUP/IMAGE save-set-specifier ddcu:
    11 volume from an  $ BACKUP/IMAGE MTA0:17AUG.BCK DRA3:
    image save set

    Restores a         INITIALIZE ddcu: volume-name/new-parameters
    Files-11 volume,   MOUNT/FOREIGN ddcu:
    maintaining the    BACKUP/IMAGE save-set-specifier
    initialization     ddcu:/NOINITIALIZE
    parameters         $ INITIALIZE DBA1: UTTLPACK/CLUSTER=5
    specified in       $ MOUNT/FOREIGN DBA1:
    the DCL command    $ BACKUP/IMAGE MTA0:17AUG.BCK
    INITIALIZE         DBA1:/NOINITIALIZE

    Copy Operation Quick Reference shows BACKUP command formats for
    copy operations, including some of the qualifiers you can use
    with a copy operation.

    Table 3 Copy Operation Quick Reference

    Command Action     Command Format and Example

    Copies a           BACKUP [directory...] [directory...]
    directory tree to  $ BACKUP [DAKOTA...] [SUNDANCE...]
    another directory
    tree

    Copies a file to   BACKUP file-spec file-spec
    another file       $ BACKUP LOGIN.COM [.SAVE]OLDLOGIN.COM

    Copies a disk      BACKUP/IMAGE ddcu: ddcu:
    volume to another  $ BACKUP/IMAGE DBA1: DBA2:
    disk volume

    Copies a disk      BACKUP/PHYSICAL ddcu: ddcu:
    volume to another  $ BACKUP/PHYSICAL DYA1: DYA2:
    disk volume using
    the /PHYSICAL
    qualifier

    Copies two disk    BACKUP/IMAGE volume-set-name ddcu:,ddcu:
    volume sets        $ BACKUP/IMAGE USER$: DBA1:,DBA2:
    using the /IMAGE
    qualifier

    Compare Operation Quick Reference shows BACKUP command formats
    for compare operations, including some of the qualifiers you can
    use with a compare operation.

    Table 4 Compare Operation Quick Reference

    Command Action     Command Format and Example

    Compares two       BACKUP/COMPARE file-spec file-spec
    Files-11 files     $ BACKUP/COMPARE UPLIFT.EXE;3 UPLIFT.EXE;2

    Compares a         BACKUP/COMPARE save-set-specifier/select=file-
    selected file      spec file-spec
    from a save set    $ BACKUP/COMPARE
    and a Files-11     MTA0:FEB2.BCK/SELECT=[POUDRE]UPLIFT.PAS -
    file
                       _$ UPLIFT.PAS

    Compares an image  BACKUP/COMPARE/IMAGE save-set-specifier ddcu:
    save set and       $ BACKUP/COMPARE/IMAGE MTA0:12OCT.BCK DRA3:
    Files-11 files

    List Operation Quick Reference shows BACKUP command formats for a
    list operation, including some of the qualifiers you can use with
    a list operation.

    Table 5 List Operation Quick Reference

    Command Action     Command Format and Example

    Lists the files    BACKUP/LIST save-set-specifier
    in a save set at   $ BACKUP/LIST MTA0:1618FEB2.BCK
    the terminal

    Lists the files    BACKUP/LIST=file-spec save-set-specifier
    in a save set,     $ BACKUP/LIST=NEWLIST.LIS MTA0:1618FEB2.BCK
    writes to a file

    Lists the files    BACKUP/LIST/FULL save-set-specifier
    in a save set in   $ BACKUP/LIST/FULL MTA0:1618FEB2.BCK
    full format

    Lists selected     BACKUP/LIST/JOURNAL=journal-name/selection-
    files in a         qualifiers
    journal file       $ BACKUP/LIST/JOURNAL=SYS$MANAGER:INCBACKUP -
                       _$ /SELECT=[LYKINS.WORK...]/SINCE=1-JAN-2002
Close Help