| restoring from tape |
UserPreferences |
| GMS NOC Docs | FrontPage | RecentChanges | TitleIndex | Help |
To restore a filesystem and an individual customer's data:
mount -Fs5 /dev/dsk/c6t6d0s8 /mnt ls -al /mnt umount /mnt
Example:
S-lxau_root > srestore
Use 301.srestore for non-upgraded nodes using older version of Unix, 301.0 not .1.
Enter tape device for restore(ie c4a1d5): c6a1d2 Rewinding Tape
| tape | device | filesystems |
| 1 | c4a1d2 | 05000,10000 |
| 2 | c4a1d5 | 15000,20000 |
| 3 | c6a1d2 | 25000,30000 |
| 4 | c6a1d5 | 35000,40000 |
| etc | ||
Enter tape number(1-6[1]):
For POLO: drive 1 = c0a2d0, drive 2 = c0a2d1
tapecntl -w /dev/rmt/c6a1d2
Enter 1 for /restore1
2 for /restore2
[1]:
Backup made on Sat Feb 28 1998 at 04:05:43 GMT
Enter 0 exit
1 lx25000
2 lx30000
: 1
Enter f for full restore
d to enter file or directory
i for interactive
: i
vxrestore > pwd
/
vxrestore > ls
.:
25000/ economaster/ junkmail/ mortician/ shared/
autodeliver/ edi/ lost+found/ mtqueue/ surrogate/
crdir/ fxcnvt/ mime/ pomaster/ uucp/
dispatcher/ internet/ mm.compress premigrate/
cd to customer directory or whatever directory to restore.
vxrestore > cd 10000/10850/10853 vxrestore > pwd /25000/25050/25097
add directory to restore
vxrestore > add in Warning: ./25000: File exists Warning: ./25000/25050: File exists Warning: ./25000/25050/25097: File exists Warning: ./25000/25050/25097/codes: File exists vxrestore > extract You have not read any tapes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume #: 1 set owner/mode for '.'? [yn] n vxrestore > quit Procedure Complete - Rewinding Tape
It's done; copy the needed files over to .RESTORED/ in the customer directory.