18.07.2013 Views

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

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

Sidewinder G2 6.1.1 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.

Restoring system files<br />

F-12 Basic Troubleshooting<br />

For example, the output might look like this:<br />

Filesystem 512-blocksUsed Avail Capacity Mounted on<br />

/dev/sd0a 21150 14392 4642 76% /<br />

/dev/sd0d 123903 86320 25192 77% /var<br />

/dev/sd0e 123903 86320 25192 77% /var/log<br />

/dev/sd0g 3837972 939306 2514868 27% /usr<br />

/dev/sd1a 4047224 2131220 1511280 59% /home<br />

6. Use the cd command to switch to the appropriate directory.<br />

Switch to the directory shown in the “Mounted on” column, as shown in<br />

the previous step.<br />

7. Position the tape and invoke the restore script by entering the following<br />

command.<br />

/etc/backups/do.restore filenum<br />

Note: You must enter this command for each file system that you want to restore.<br />

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

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

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

the example list 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<br />

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

example 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 F-3.<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.

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

Saved successfully!

Ooh no, something went wrong!