The restback command lets you restore a backup.
Synopsis
/vs/bin/util/restback [-ap] -n
nfslocation
|-t
tapedrive
[-f
filename
] [-I
archiveindex
] [-l
filelist
] [-o
stop_oracle
] [-u
oracle_user
]
Description
The restback command restores files from a backup. The command can perform a full restore (only as disaster recovery) or can restore a filelist of files. If no filelist is entered, a complete backup file is restored (unless the backup file has extension of .full).
The following table shows arguments for this command:
Argument |
Description |
Comments |
ap |
-a List archives available to restore from -p Print contents of an archive |
Optional |
nfslocation |
NFS mount directory |
Example: /mnt/br |
tapedrive |
Tape Drive |
Example: /dev/rmt/0n |
filename |
Backup archive file name. This option will only be used with a Network File System restore. |
Example: restback -n/mnt/br -fpusvfire2.D011006T031044 |
archiveindex |
Location of the archive on the tape. This option will only be used with the tape. |
Example: restback -t /dev/rmt/0n -I1 |
filelist |
Name of the file that contains a list of files to back up (see Creating a file list for a partial backup or restore) |
Optional |
stop_oracle |
1 Stop Oracle before restoring files 0 Do not stop Oracle before restoring files |
Optional |
oracle_user |
User name to log into Oracle. This Oracle user account must have permission to stop and start the Oracle server. |
Optional |
See also