You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Unix</strong> Administration<br />
free -p /usr/local/bin /dev/rmt0 21:adm<br />
volcopy /usr/local /dev/dsk/0s5 tape1 /dev/rmt0<br />
! Backup Strategies<br />
<strong>Unix</strong> dump has a "level" option for control of incremental backups.<br />
Level 0 is a full backup<br />
Level 1 is a incremental since <strong>the</strong> last level 0<br />
Level 2 is a incremental since <strong>the</strong> last level 1 or 0<br />
Level 3 is a incremental since <strong>the</strong> last level 2, 1 or 0<br />
:<br />
Level N is a incremental since <strong>the</strong> last level < N<br />
Example Strateqy:<br />
Full backup is done every week.<br />
Incremental backups are done every day.<br />
Mon 0<br />
Tue 1<br />
Wed 2<br />
Thu 3<br />
Fri 4<br />
Ano<strong>the</strong>r Example:<br />
Week-1 0<br />
Week-2 1<br />
Week-3 2<br />
Week-4 1<br />
Week-5 3<br />
Week-6 1<br />
Week-7 2<br />
Week-8 1<br />
Week-9 0<br />
This permits recovery of files lost anytime over <strong>the</strong> past 8 weeks.<br />
We can combine <strong>the</strong>se two strategies using levels 4, 5, 6, 7 during Tuesday to Friday and performing levels 0..3<br />
each Monday.<br />
Boot up & Shutdown<br />
Booting <strong>the</strong> System<br />
- Specify <strong>the</strong> disk and partition to boot from<br />
- <strong>Unix</strong> kernel is loaded from /unix<br />
- Can specify if single user or multi-user. System maintenance for level 0 backups.<br />
- If space permits, keep minimal root partition on ano<strong>the</strong>r disk in case <strong>the</strong> primary disk fails<br />
- Booting executes /etc/rc shell script to fire off lots of daemons and initialize things<br />
- Can boot off tape if necessary<br />
Shutting down<br />
- /etc/shutdown - shuts down <strong>the</strong> system cleanly<br />
- /etc/sync; /etc/halt - minimum after all users logoff<br />
- /etc/init S - go single user<br />
- /etc/reboot - shutdown and restart as, some versions do not sync<br />
Does <strong>the</strong> systems administrator have to process more interrupts than an operating system?<br />
UNIX Startup Sequence<br />
Turn on peripherals, Turn on computer Start bootstrap from ROM<br />
192