| ||||
| ||||
| You Are Here: | Home > Security & Viruses > NetWork Backup Service > Command Line Documentation |
|---|
Command Line DocumentationNAMErecover - browse and recover NetWorker files SYNOPSISrecover [OPTIONS] [-d destination] [-c client] [ -s server] [ dir] recover [OPTIONS] [-d dest] [-c client] [-t date] [ -s server] -a path
DESCRIPTIONRecover browses the saved file index and recovers selected files from the NetWorker backup server. The file index is created when files are saved with save(1m). When in interactive mode (the default), the user is presented with a view of the index similar to a UNIX filesystem, and may move through the index to select and recover files or entire directories. In automatic mode (-a option), the files specified on the command line are recovered immediately and no browsing takes place. While in save set recover mode (-S option), the save set(s) specified are retrieved directly without browsing the NetWorker file index. Use of save set recover mode is restricted to root. When using recover without the -S option, users who are root may recover any file. General users may only recover rules described in the paragraph apply to users who are not their own files or files with access permission o:r. Files with an ACL can only be recovered by their owner. The recover program provides an interactive interface that allows you to browse files and control recovers. When you enter the recover command, the recover> prompt appears. NOTE: filename can be either a file or a directory
If the recover operation detects a file by the same name in the target directory, it will prompt you with the following question: file exists, overwrite (n, y, N, Y) or rename (r, R) [n]? The following responses are valid:
For more detailed information on the recover command and its options, please refer to the Unix man page or the NT Networker User's Guide (PDF format) which is found on the NT client CD guide.
Summary of the Recover OperationThese are the general steps to recover a file. recover -i -s beacon.cc.vt.edu
See man page for detailed info on the recover command.
EXAMPLE 1 - Recovering a Single File and a DirectoryThe following example shows how to recover a single file from the backup server. The user wants to recover the latest backup of the file named syslog.conf from his home directory. He wants to restore the file to the same directory. He also wants to recover the sub-directory and its contents to its original location. % /usr/bin/nsr/recover recover: Using beacon.cc.vt.edu as server for client.vt.edu recover: Current working directory is /home/marchany/ recover>ls backup.install.script1 patches syslog.conf kernel.drv.le sendmail.pkg tapes.manpage license.info sendmail.tar test recover>add test /home/marchany/test 2 file(s) marked for recovery recover> add syslog.conf 3 file(s) marked for recovery recover>recover Recovering 3 files into their original locations Total estimated disk space needed for recover is 23 KB. Volumes needed (all on-line): 22222302 at jukebox Requesting 3 file(s), this may take a while... ./syslog.conf ./test/dodo ./test/ Received 3 file(s) from NSR server `beacon.cc.vt.edu' Recover completion time: Tue Jun 30 10:49:20 1998 recover>quit
|
| ||||