Chapter 11 Backups Unix System Administration. Backup. Why? Because We Like You. w Why backup at all? Restore from data loss Disaster recovery Archival.

Slides:



Advertisements
Similar presentations
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
Advertisements

Section 5a Types of Storage Devices.
11 BACKING UP AND RESTORING DATA Chapter 4. Chapter 4: BACKING UP AND RESTORING DATA2 CHAPTER OVERVIEW Describe the various types of hardware used to.
Presentations by: Fred Bounds
1 Chapter 6 Storage and Multimedia: The Facts and More.
Storage Hardware Chapter 4 Preserving Data and Information © The McGraw-Hill Companies, Inc., 2000.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Secondary Storage Chapter Distinguish between primary and secondary storage Compare internal and external hard disks Describe ways to improve hard-disk.
CHAPTER 6 66 Secondary Storage. 6 © The McGraw-Hill Companies, Inc Objectives 1.Floppy and hard disks 2.Cartridges and disk packs 3.Performance.
Backups1-1 Backup  Why backup? m The choice of goals.  Where? m The choice of medias.  What? m The choice of contents.  When? m The choice of schedules.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Backing Storage Chapter 18.
Introduction to Computers Section 5A. home Storage Involves Two Processes Writing data Reading data.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Storage Devices and Media
Storage and Multimedia: The Facts and More Chapter 6.
Storage device.
Chapter 8 Secondary Storage.
3.1 Storage devices and media
Using and Configuring Storage Devices Guide to Operating Systems Third Edition.
Backup & Restore The purpose of backup is to protect data from loss. The purpose of restore is to recover data that is temporarily unavailable due to some.
Fred ByersNIST1 Government Information Preservation Working Group December 16, 2003.
Storage Media Asad M. Nafees. Outline DVD/DVD-R/DVD+R/DVD-RW/DVD+RW CD/CD-R/CDRW Flash Disk Portable Hard Drive.
McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 7 Secondary Storage.
Backups in Linux Ning Zhu Class presentation. Introduction The dump and restore commands are the most common way to create and restore from backups in.
© Paradigm Publishing Inc. 3-1 Chapter 3 Output and Storage.
CIS 105 Concepts and Terminology Unit 3 CIS 105 Survey of Computer Information Systems Essential Concepts and Terminology Study Unit Three.
Linux+ Guide to Linux Certification
Backup Techniques Objectives –to illustrate practical application of backup utilities Contents –using dd, a direct device access command –manipulating.
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
Teaching and Learning with Technology  Allyn and Bacon 2005 Teaching and Learning with Technology  Allyn and Bacon 2002 Teaching and Learning with Technology.
© Paradigm Publishing Inc. 3-1 Chapter 3 Output and Storage.
1 Storing And Retrieving Information 2 Mass Storage and Files Programs and information (text, image, audio, video) are stored: –Magnetic Magnetic Tape.
1 Chapter 3 Understanding Computers, 11 th Edition Storage Medium The physical material on which a computer keeps data, instructions and information. Can.
Chapter 4: Business Hardware Oz (5 th edition). Storage Media Data an programs must be stored on nonvolatile medium –Data is retained even when not powered.
Physical Storage and File Organization COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
HARDWARE: CPU & STORAGE How to Buy a Multimedia Computer System.
Chapter 4 Solving Data Backup Challenges Prepared by: Khurram N. Shamsi.
CMPTR Chapter 2 – Part 2 (Storage). Storage – Punch Cards Player Piano Roll Punch Cards were used before disk drives.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Computer Organisation 1 Secondary Storage Sébastien Piccand
Storing Data: Electronic Filing Cabinets What You Will Learn Difference between memory and storage How storage media are categorized Measuring a storage.
Secondary Storage Chapter 8 Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. 8-1.
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
Copyright Prentice-Hall, Inc Storing & Retrieving Information Chapter 7.
Overview of Physical Storage Media
File Processing : Storage Media 2015, Spring Pusan National University Ki-Joune Li.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
Storage Devices Magnetic Storage Optical Storage Digital Storage.
Secondary Storage Chapter 8 McGraw-HillCopyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Backups CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
Cosc 4750 Backups Why Backup? In case of failure In case of loss of files –User and system files Because you will regret it, if you don’t. –DUMB = Disasters.
1 itec 400 Backups George Vaughan Franklin University.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited By :Asma AlOsaimi.
Storage devices 1. Storage Storage device : stores data and programs permanently its retained after the power is turned off. The most common type of storage.
Importance of Routine File System Backups To prevent loss data due to: Accidental deletion of files Hardware failures Problems with re-installation or.
솔라리스 10 Chapter 16 백업 및 복구 Solaris1. 백업 장치 제어. 백업 장치 – 백업 장치 DDS ( Digital Data Storage) : format for storing and backing up computer data on magnetic.
STORAGE DEVICES Storage devices are categorized by the method they use to store files.
4-1 Copyright Prentice-Hall, Inc Disks & Tape Backup Units CHAPTER4.
Senior 3 Computer Studies
Copyright © 2003 Prentice Hall, Inc 1 Chapter 4 Storing Data: Electronic Filing Cabinets NEXT SLIDE.
ICT IGCSE Theory – Revision Presentation 3.1 Storage devices and media Chapter 3: Storage devices and media Identify storage devices,
Copyright Prentice Hall, Inc. 1 Computers: Information Technology in Perspective, 11e Larry Long and Nancy Long Chapter 5 Storing and Retrieving Information.
Filesystem Management and Backups
Chapter 10 Backups.
COP 4343 Unix System Administration
Chapter III, Desktop Imaging Systems and Issues: Lesson II Storing Image Data
Government Information Preservation Working Group
Backups Chapter 10.
Presentation transcript:

Chapter 11 Backups Unix System Administration

Backup. Why? Because We Like You. w Why backup at all? Restore from data loss Disaster recovery Archival of old data - possibly for legal reasons

In the Media... w Backup devices/media Tape Optical (MO) CDROM (CD-R, CD-RW) DVD-R, DVD-R+W, DVD-RAM Removable Disk (Zip, Jaz, floppy?) Paper?

Mr. Nixon’s Preferred Media w There are a variety of tape formats to choose from… QIC Cartridge 60+MB per tape 8mm - 2 to 20GB per tape (native) 4mm to 24GB per tape (native) DLT - Digital Linear Tape - 20 to 35GB per tape (native)

8mm - Coming to Video Soon w Cartridge-based tape derived from the Sony Handycam type video tape w Handycam tapes will work, but data 8mm tapes are of higher quality Drive ModelTape LengthCapacity Gb XL (Mammoth) 17020

Sometimes Smaller Is Better w 4mm Based on DAT (Digital Audio Tape) format Tape FormatTape LengthCapacity DDS GB DDS-DC902 DDS DDS

I’ll Have a DLT on Toast w DLT - Digital Linear Tape Tape to reel format, that is, the tape is spool to another reel in the drive. It is not cartridge format. 100% duty cycle Tape FormatCapacity DLT GB DLT GB DLT GB

Give Your Data a Big Hug w Compression 8mm, 4mm and DLT drive perform hardware compression Marketing usually uses 2:1 ratio Actual is usually 1.8:1 Compression is based on the type of data you are backing up. Text = most compressible and pre-compressed data = least compressible

Do and Doh’s w Do Test your backup periodically Store copies of data offsite Label your backups so you know what’s on them w Doh’s Store your tapes near magnetic or electromagnetic sources The Earth’s background radiation can eventually erase magnetic tapes

Cage Match: Stackers Vs. Autoloaders Vs. Jukeboxes w Stacker = autoloader Sequential tape access Feeds next tape into drive when on is ejected w Jukebox Random access to tapes in library

Backup $oftware w Commercial Veritas Netbackup Legato Networker IBM ADSM w Free or OS Provided tar cpio dd dump/restore

OS Backup Tools w tar - Tape Archiver tar cf /dev/rmt/0 filea fileb filec tar xf /dev/rmt/0 tar tf /dev/rmt/0 w cpio - copy in/out similar to tar, AT&T specific w dd - disk duplicate dd if=/dev/rmt/0 of=/dev/rmt/1 dd if=boot.img of=/dev/rdiskette

Who’d Want To Restore a Dump? w Dump and Restore ufsdump and ufsrestore in Solaris Primarily Used to backup partitions/slices Maintains “levels” of backups for doing incremental dumps Restore program has option for interactive shell like file browsing Dump/Restore can be used to backup a partition/slice to another partition/slice

Dump Examples ufsdump 0ubf 126 /dev/rmt/0n /dev/rdsk/c0t0d0s0 ufsdump 5ubf 126 /dev/rmt/0n /dev/rdsk/c0t1d0s7 ufsrestore ifs /dev/rmt/0 2 Slice-to-Slice Dump newfs -v /dev/rdsk/c0t1d0s6 mount /dev/dsk/c0t1d0s6 /mnt ufsdump 0f - /dev/rdsk/c0t1d0s7 | (cd /mnt; ufsdump 0f -)

Managing Your Tape Worm w mt - Magnetic Tape mt -f /dev/rmt/0 rewind mt -f /dev/rmt/0 erase mt -f /dev/rmt/0 offline mt -f /dev/rmt/0 status mt -f /dev/rmt/0 fsf

Good Ol’ AT&T Vs. BSD Again w /dev/rmt/0 - AT&T device name Tape head is left positioned BEFORE filemark You must explicitly move it past the filemark or subsequent reads will return 0, -1 or EOF w /dev/rmt/0b - BSD device name Tape head left positioned AFTER filemark Data is read/written from that point

Q Du Jour w What could happen if you mix AT&T and BSD tape device names when putting multiple backups on a tape? w What’s a “holey” file?

Holey Files Batman! w When a file says it is using more disk space than it actually is. w Output of du doesn’t equal what “ls -l” says. w Seeking way past the eof and writing data; no data exists between the old eof the new data. w Tar and cpio can be fooled into backup this empty space, dump/ufsdump can handle this oddity.