Skip to main content
Version: DPX 4.9

Restore Statement

The restore statement is used to identify what to restore and to which location to restore it.

Format for Restoring Data

[image expected here]

Format for Restoring Catalog

[image expected here]

Where:

[image expected here]
Note.

The Catalog can only be restored from TAPE. The Catalog cannot be restored from CATALOG.

Description

  • NODE (nodename nodetype [ipaddress])
nodenameThe name in the Catalog of the node to which the data will be restored.
nodetypeThe operating system on the node. Valid entries are UNIX, WINNT, WIN95, NETWARE, and NDMP.
ipaddressThe TCP/IP address of the node to which the data will be restored.
  • DISK (disk fstype)
Note.

DISK does not apply to UNIX operating systems.

diskThe disk to which the data will be restored. Example: C:.
fstypeThe type of file system on the disk. Valid entries are NTFS, FAT, DOS, NETWARE, and RAW.
  • SELECT (selection)

Includes or excludes specific files.

selectionThe specific files to include or exclude. To include files, precede the files with I
(for example, I "/home/."). To exclude files, precede the files with E (for example, E "/home/."). An asterisk can be used as a wildcard. Separate multiple selections with semi-colons. Selection strings must be enclosed in quotes.
  • CATALOG

Used exclusively to restore the Catalog. The Catalog can only be restored from TAPE. The Catalog cannot be restored from CATALOG.

  • NODE (nodename nodetype ipaddress) [DISK disk] PATH path

    Specifies the location to which the data will be restored. If this is omitted, DPX restores data to its original location.
nodenameThe name of the node to which the data will be restored.
nodetypeThe operating system on the node. Valid entries are UNIX, WINNT, WIN95, WIN31, and NETWARE.
ipaddressThe TCP/IP address of the node to which the data will be restored.
diskThe disk to which the data will be restored. DISK is not valid for UNIX.
pathThe directory to which the data will be restored. The path specification must be enclosed in quotes. Example: "/tmp/restore/"
  • CATALOG DATE (startdate enddate)

Limits the Catalog search to files that were backed up between specific dates.

startdateThe starting date for the Catalog search. The format for the date is mm/dd/yyyy.
enddateThe ending date for the Catalog search. The format for the date is mm/dd/yyyy.
  • JOBNAME jobname

Limits the Catalog search to files that were backed up by a specific backup job definition.

jobnameThe name of the backup job definition that backed up the file.
  • JOBID jobid

Limits the Catalog search to files that were backed up by a specific instance of a backup job.

jobidThe number assigned to the job by DPX. Each time a job runs, DPX assigns a number to the job.
  • TASKID taskid

Limits the Catalog search to files that were backed up by a specific SnapVault backup job task.

taskidThe number assigned to the task by DPX. Each time a task runs, DPX assigns a number to the task.
  • DEVICECLUSTER devicecluster
deviceclusterThe name of the device cluster from which DPX will select a device to restore.
  • DEVICE devicename
devicenameThe name of the specific device or devices to restore from.
  • RDEVICE (d_evicefilename devicetype nodename nodetype ipaddress_)

The physical location of a device. Used with devices that have not been configured into DPX.

devicefilenameThe OS specific name used to refer to the device. Example (on Solaris): /dev/rmt/0. Example (on Windows): \.\Tape0.
devicetypeThe device type. Example: 4mm.
nodenameThe name of a node to which the device is attached. This node must have been previously defined (via the Enterprise function). You can have multiple devices on a node, up to the limit the hardware will support.
nodetypeThe operating system on the node. Valid entries are UNIX, WINNT, WIN95, and NETWARE.
ipaddressThe TCP/IP address of the node to which the device is attached.
  • TAPE ({volser partition;}. . . )

Restores files from a specific tape or tapes. Separate multiple tape selections with semi-colons.

volserThe volume serial number of the tape that contains the files to restore.
partitionThe partition on the tape that contains the files to restore. Specify 0 to indicate all partitions.