18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix F: Basic Troubleshooting<br />

Restoring system files<br />

The filenum variable refers to the order in which the file system appears<br />

on the backup tape. For example, typing do.restore 0 will position the<br />

tape to restore the first file system that was backed up. In the example list<br />

shown in step 5, the first file system backed up was /.<br />

Typing do.restore 4 will forward the tape four file systems from the first<br />

one. (This script automatically rewinds the tape first.) Based on the example<br />

in step 5, the tape would move to /home.<br />

After you type the command, you are in the interactive mode for the<br />

restore command (the prompt is restore>).<br />

8 Type the command you want to use to build the extract list.<br />

• You can type any <strong>of</strong> the commands listed in Table 44.<br />

• These commands build the extract list, but relative to the current<br />

directory specified in step 4. For example, use the add command to add<br />

files to the list <strong>of</strong> the ones you want to restore. A restore is not started<br />

until the next step is completed.<br />

Table 44: Restore Script Commands<br />

Command What it does<br />

ls directory Lists contents <strong>of</strong> the specified directory<br />

cd directory Changes to specified directory<br />

pwd Prints the full path name <strong>of</strong> the current working<br />

directory<br />

add directory<br />

add file<br />

delete directory<br />

delete file<br />

Adds directory or file to list <strong>of</strong> files to be extracted<br />

Important: If you are restoring the root file<br />

system, see Caution note at beginning <strong>of</strong> steps.<br />

Deletes directory or file from list <strong>of</strong> files to be<br />

extracted<br />

extract Extracts all files that were added to the list<br />

setmodes Sets modes <strong>of</strong> requested directories<br />

quit Exits program immediately<br />

what Lists dump header information<br />

verbose Toggles verbose flag (useful with ls command)<br />

help or ? Prints this command list<br />

9 After you have selected the files, enter the extract command.<br />

645

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!