. , - ( ) schedule: , . , ( ). . - . - 0 , - - . . , , - . - .   , , , -, , - , . . . "- " . sysadmsh. (, - .)   , - . 1. sysadmsh Backups->Create->Scheduled 2. : . - 6-12 - +--------------------------------------------------------------- | Level 0 backup of filesystem /dev/rroot, 22 Sep 1988 | tape size: 450 feet [or Kb] | tape drive: /dev/rct0 | This tape will be saved for 1 year, and is critical. | | M)ounted volume, P)ostpone, C)heck or F)ormat volumes, | R) Retension or H)elp: | | ( 0 /dev/rroot, 22.09.88 | : 450 [ ] | : /dev/rct0 | 1 . | (M), (P), (C) | (F) , (R) (H): | , schedule. - ( ) . "m", , , <Return>. 3.  cpio, : +--------------------------------------------------------------- | Level 0 backup of filesystem: /dev/rroot | Backing up all files ( ) | Generating list of pathnames for backing up... | ( ...) | . 4.  xbackup, : +--------------------------------------------------------------- | Backup date= the epoch ( = ) | Backing up /dev/rroot to /dev/fd096ds15 | ( , , - "the epoch".) . 5. . - , , cpio  xxbackup: +--------------------------------------------------------------- | Reached end of medium on output | Insert volume 2 and press <RETURN> to continue or 'q' to exit | ( | 2 <RETURN>, , | 'q', ) | +--------------------------------------------------------------- | Please insert new volume, then press <RETURN> | (, <RETURN>) | . - 6-13 -  5.25- , <Return> , - . , <Return>. . , - +--------------------------------------------------------------- | n blocks | Check critical volumes for format errors | | (n . ) | 6. , - . - , , . : +--------------------------------------------------------------- | M)ounted which volume, E)rror on previous volume, D)one, | S)kip checks, or H)elp: | | ( (M), (E), | (D), (S), (H): | , , - , . , , , . , "Skip". , - . . - 6-14 -   . , , , , , , - . . - . " - " . sysadmsh. , . 1. sysadmsh Backups->Create->Unscheduled 2. : +--------------------------------------------------------------+ | Unscheduled | | Press <F3> to choose from a list of filesystems | | /tmp/sysadm 03/15/89 08:20 | | | |+-------------------Archive Filesystem-----------------------+| || || || File system to archive : [ ] || || Media : [ ] || || Block size in bytes : [512 ] || || Format floppy : [Yes] [No] || || || || Press <Return> to backup the filesystem or <ESC> to || || abandon || || || || [Archive] || || || |+------------------------------------------------------------+| | | | | | <F3>, | | | | , : [ ] | | : [ ] | | : [512] | | : [] [] | | <Return>, | | , <ESC>, | | [] | | | +--------------------------------------------------------------+ 3. , , <F3>, . , /etc/default/filesys. (. filesys(F).) - . - 6-15 - , - , <Return>. ( , /etc/default/filesys, "Other"; .) 4. , <F3> . , - /etc/default/archive; . .  . - , , "Floppy drive 1" ( - ), "Floppy drive 0" ( ). , , . 5. , "Yes" Format floppy. - , - . 6. ( ) <Return>. . . , , - cpio  xxbackup: +--------------------------------------------------------------- | Reached end of medium on output | Insert volume 2 and press <RETURN> to continue or 'q' to exit | | ( | 2 <RETURN>, , | 'q', ) | +--------------------------------------------------------------- | Please insert new volume, then press <RETURN> | | (, <RETURN>) | 7. , <Return>. . , DONE () - 6-16 - , , , - , - . , . , "Volume 1" ( 1), - "Volume 2" ( 2) .. . - 6-17 -   , , - , sysadmsh - Integrity (). , . sysadmsh Backups->Integrity +--------------------------------------------------------------+ | Integrity | | Press ?<Return> to obtain a list of available media | | | | /tmp/sysadm 03/15/89 08:20 | | | |+---------------Verify Integrity of a Backup-----------------+| || || || Media : [_ ] || || Block size in bytes : [512 ] || || || || Press <Return> to check the integrity of the backup || || or <ESC> to abandon || || || || [Check Integrity] || || || |+------------------------------------------------------------+| | | | ?<Return> | | | | : [_ ] | | : [512 ] | | <Return>, , | | <ESC>, | | [ ] | | | +--------------------------------------------------------------+ . ; . , cpio . - 6-18 -  , . , , - . . . - 6-19 -   , Backups sysadmsh. . 1. sysadmsh Backups->View 2. : +--------------------------------------------------------------+ | View | | Press <F3> to choose from a list of available media | | | | /tmp/sysadm 03/15/89 08:20 | | | |+--------------------Contents of a Backup--------------------+| || || || Media : [_ ] || || Block size in Bytes : [512 ] || || || || Press <Return> to view the contents of the backup || || or <ESC> to abandon || || || || [View] || || || |+------------------------------------------------------------+| | | | | | <F3> | | | | : [_ ] | | : [512 ] | | <Return>, , | | <ESC>, | | [] | | | +--------------------------------------------------------------+ 3. <F3> ( ), - . . 4. - . <Return>. 5.  - cpio:  - , : . - 6-20 - +--------------------------------------------------------------+ | View | | <esc> to exit, movement keys are active | | ( <esc>, )| | | | cpio -itv /dev/rfd096ds15 -C512 03/10/89 11:03 | | | |+------------------------- cpio -----------------------------+| || || || 100711 wadley 5678 Feb wadley/tell0 || || 100711 wadley 6789 Feb wadley/tell1 || || 100711 wadley 4112 Feb wadley/tell2 || || 100711 wadley 9972 Feb wadley/tell3 || || 100711 wadley 6689 Feb wadley/tell4 || || 100711 wadley 1102 Feb wadley/tell5 || || 100711 wadley 6602 Feb wadley/tell6 || || 100711 wadley 5511 Feb wadley/tell7 || || 100711 wadley 1111 Feb wadley/tell8 || || 100711 wadley 3312 Feb wadley/tell9 || || || |+------------------------------------------------------------+| | | +--------------------------------------------------------------+ 5.  - xbackup:  , : +--------------------------------------------------------------+ | View | | <esc> to exit, movement keys are active | | | | restore fT /dev/rfd096ds15 03/10/89 11:03 | | | |+------------------------ xbackup ---------------------------+| || || || Dump date: Fri Mar 10 15:09:57 1989 || || Dumped from: Fri Mar 3 10:00:00 1989 || || 3 /tell0 || || 4 /tell1 || || 5 /tell2 || || 6 /tell3 || || 7 /tell4 || || 8 /tell5 || || 9 /tell6 || || 10 /tell7 || || 11 /tell8 || || 12 /tell9 || || || |+------------------------------------------------------------+| | | +--------------------------------------------------------------+ . - 6-21 -   sysadmsh . - (), . , - , 0. - . .   ,  2 . 3 0, 3 03 0 3  /u/stellar/data  /u,  /stellar/data . 1. sysadmsh Backups->Restore->Partial 2. : . - 6-22 - +--------------------------------------------------------------+ | Partial | | Press <F3> to obtain a list of available media | | | | /tmp/sysadm 03/15/89 08:20 | | | |+-------------------- Restore File --------------------------+| || || || Media : [ ] || || File to restore : [ ] || || Directory to restore to : [ ] || || Block size in Bytes : [512 ] || || || || Press <Return> to restore the file or <ESC> to || || abandon || || || || [Restore] || || || |+------------------------------------------------------------+| | | | | | <F3> | | | | : [ ] | | : [ ] | | : [ ] | | : [512 ] | | <Return>, , <ESC>, | | | | [] | | | +--------------------------------------------------------------+ 3. <F3>, . , , : +-------------------------------------------------------+ | Please make sure the media is in the drive and | | the drive is on line. | | | | Press <Return> to format the disc or <ESC> to abandon | +-------------------------------------------------------+ (, , . <Return>, , <ESC>, ) 4. 1 - <Return>. , - Restore File ( ). , <Return>, Directory (), , (). . - 6-23 -  : * , (/). , /bin/foo, bin/foo * , - . , - , . , - (, /tmp) , diff(C)  cmp(C). 5. , - , cpio: cd /tmp; cpio -iudv -I/dev/frd096ds15 -C 512 6.  cpio: - , , - , . . , , - , <DEL>. ( - .) 7.  xbackup: 1 - <Return>. , , - : +--------------------------------------------------------------+ | file(s): inode nn ((): ...) | | | | Mount desired dump volume: Specify volume #: | | ( . :) | | | - 6-24 - "1" <Return>. . , . +--------------------------------------------------------------+ | Extract file filename    ( ...) | | | , . . - 6-25 -  CPIO cpio , xbackup. - , cpio "- " , . , cpio . , , , , . cpio . 1. sysadmsh: Backups->Restore->Full : +--------------------------------------------------------------+ | Full | | Press <F3> to choose from a list of filesystems | | | | /tmp/sysadm 03/15/89 08:20 | | | |+-------------------- Restore Filesystems -------------------+| || || || Filesystem to Restore : [ ] || || Media : [ ] || || Block size in Bytes : [512 ] || || || || Press <Return> to restore the filesystem or <ESC> to || || abandon || || || || [Restore] || || || |+------------------------------------------------------------+| | | | | | <F3> | | | | : [ ] | | : [ ] | | : [512 ] | | <Return>, , | | <ESC>, | | [] | | | +--------------------------------------------------------------+ . - 6-26 - 2. <F3>, . . . 3. , , /u cpio: cd /u; cpio -iudv -I/dev/frd096ds15 -C 512 4. . , - : +--------------------------------------------------------------- | Reached end of medium on input | Change to part n and press <RETURN> key. [q] | | ( . | n <Return>. [q]) | . . - 6-27 -  XBACKUP - , , . - : - . - . , , " " " " " " (System Administrator's Guide); , - . , - , - " " - " " (Installation Guide). xbackup, "" divvy. - , " ". - . 1. - (root) :   (/dev/hd00) - divvy -b 1 -c 1   (/dev/hd10) - divvy -b 1 -c 1 -p 1 . - 6-28 - 2. , divvy: +--------------------------------------------------------------- | +--------+-----------+--------+---+-------------+------------+ | | Name | Type | New FS | # | First Block | Last Block | | +--------+-----------+--------+---+-------------+------------+ | | root | XENIX | no | 0 | 0 | 47402 | | | swap | NON FS | no | 1 | 47403 | 50368 | | | u | XENIX | no | 2 | 50369 | 70368 | | | | NOT USED | no | 3 | - | - | | | | NOT USED | no | 4 | - | - | | | | NOT USED | no | 5 | - | - | | | recover| NON FS | no | 6 | 70369 | 70378 | | | hd0a | WHOLE DISK| no | 7 | 0 | 70676 | | +--------+-----------+--------+---+-------------+------------+ | .. N . | | 70379 blocks for divisions, 298 blocks reserved for the system | (70379 , 298 ) | | n[ame] Name or rename a division. | ( ) | c[reate] Create a new file system on this division. | ( ) | t[ype] Select or change filesystem type on new filesystem. | ( ) | p[revent] Prevent a new file system from being created on... | ( ) | s[tart] Start a division on a different block. | ( ) | e[nd] End a division on a different block. | ( ) | r[estore] Restore the original division table. | ( ) | 3. "c", . (. 3): +--------------------------------------------------------------- | which division? (0 through 6) -- | ( ? ( 0 6) , .  - . , divvy , e[xit] (. ). . - 6-29 - 4. divvy, "New File System?" ( ?) "yes" (). 5. XENIX, - AFS ( ). , "t". . . - , "q". 6. - , divvy: +--------------------------------------------------------------- | i[nstall] Install the division set-up shown | ( ) | r[eturn] Return to the previous menu | ( ) | e[xit] Exit without installing a division table | ( ) | | Please enter your choice: | ( ) | , "e", - "i", . - divvy. , . - : +--------------------------------------------------------------- | Making Filesystems ( ) | 7. sysadmsh Backups->Restore->Full   0   . , - . , , . . - 6-30 - 8. : +--------------------------------------------------------------+ | Full | | Press <F3> to choose from a list of filesystems | | | | /tmp/sysadm 03/15/89 08:20 | | | |+-------------------- Restore Filesystems -------------------+| || || || Filesystem to Restore : [ ] || || Media : [ ] || || Block size in Bytes : [512 ] || || || || Press <Return> to restore the filesystem or <ESC> to || || abandon || || || || [Restore] || || || |+------------------------------------------------------------+| | | | | | <F3> | | | | : [ ] | | : [ ] | | : [512 ] | | <Return>, , | | <ESC>, | | [] | | | +--------------------------------------------------------------+ 9. <F3>, . . . 10. - , : xrestore fr /dev/frd096ds15 -C 512 /dev/u; /etc/fsck /dev/u 11. ( 0), . 12. : +--------------------------------------------------------------- | Last chance before scribbling on /dev/name. | , <Return>; <DEL>. . - 6-31 - 13. . , : +--------------------------------------------------------------- | End of backup | The restore phase of /name has been successful. | The filesystem will be checked to ensure integrity. | | ( . /name | . | ) | sysadmsh - fsck(ADM). +--------------------------------------------------------------- | ** Phase 1 - Check Blocks and Sizes | ( 1 - ) | ** Phase 2 - Check Pathnames ( ) | ** Phase 3 - Check Connectivity ( ) | ** Phase 4 - Check Reference Counts | ( ) | ** Phase 5 - Check Free List ( ) | ***** FILE SYSTEM WAS MODIFIED ***** | ( ) | 14. , . 15. , 0, . - 6-12 , (1, 8 9), 0 - . , (.. ),