COP 4343 Unix System Administration

Slides:



Advertisements
Similar presentations
Backup and Restore Procedures. Introduction Performing regular backups should be considered one of a responsible system administrators top priorities.
Advertisements

Backing up data On LINUX and UNIX. Logical backup Why? Job security For user data. Remember endian order, character set issues. Full backup + incremental.
Backing Up a Hard Disk CGS2564. Why Backup Programs? Faster Optimized to copy files Can specify only files that have changed Safer Can verify backed up.
BACKUPS Whenever a crash occurs we run a backup program. The backup device can be magnetic or a cartridge tape, a floppy diskette or even a disk file.
POP QUIZ!!! What kind of software is Medisoft? Name ONE of the 4 things that you can do to data in Medisoft. What is the Medisoft Program Date? What key.
Backup & Restore Objectives –to understand Unix backup strategies Contents –why have backups –backup terminology –backup media –backup utilities –issues.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
Exploring the UNIX File System and File Security
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
CS 497C – Introduction to UNIX Lecture 16: - File Attributes Chin-Chih Chang
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.
Guide To UNIX Using Linux Third Edition
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
*nix and Non-Intel Platform issues CSC 486/586 1.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
CHAPTER 17 Configuring RMAN. Introduction to RMAN RMAN was introduced in Oracle 8.0. RMAN is Oracle’s tool for backup and recovery. RMAN is much more.
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
1 CS 161 Introduction to Programming and Problem Solving Chapter 10 g++ Compiler Usage Herbert G. Mayer, PSU Status 10/21/2014.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
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.
11 INFO 321 Server Technologies II Backup Applications.
© 2009 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Career Education Computers in the Medical Office Chapter 3: Introduction to.
Chapter 11 Compression, System Backup, and Software Installation.
Linux+ Guide to Linux Certification
Backup Techniques Objectives –to illustrate practical application of backup utilities Contents –using dd, a direct device access command –manipulating.
1 CSC2405: System Administration Week 5 -- Backup what to do? where to? which way? Tools?
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
Chapter 11 Backups Unix System Administration. Backup. Why? Because We Like You. w Why backup at all? Restore from data loss Disaster recovery Archival.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
Backup and Recovery Protects From Data Loss. Backup and Recovery Protects From Data Loss Provides for Media Recovery.
Lesson 11-Locating, Printing, and Archiving User Files.
Chapter 4 Solving Data Backup Challenges Prepared by: Khurram N. Shamsi.
CIS 191 – Lesson 11 Lesson Module Status Slides – draft Properties - done Flashcards - 1 st minute quiz – done Web Calendar summary – done Web book pages.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
CIS Lesson 11 Backup and Restore. CIS Lesson 11 Backup and Restore The Backup Process Losing data Backup Policies Devices Problems with Backup.
Backups Ching-li Peng CMSC691X Date: June 11, 2002.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Guide To UNIX Using Linux Fourth Edition
Linux Operations and Administration
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
1 Lecture 5 Additional useful commands COP 3353 Introduction to UNIX.
Workbook 5 - Part 2 The Linux Filesystem RH030 Linux Computing Essentials.
Linux Network Configuration Linux System Administration /etc/resolv.conf Tells the kernel which name server should be queried when a program asks to "resolve"
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.
Backups CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
CIS 193A – Lesson7 Restoration. CIS 193A – Lesson7 Focus Question Compare the ability of various backup/restore utilities to provide ease of access and.
Htar Hpss Tape Archiver Client API-based interface written by Mike Gleicher Originally commissioned for LLNL in 2000 Now available as part of the HPSS.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
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 Backups Part of a Systems Administrators job is maintaining the integrity of the system. This does not mean that she is expected to prevent anything.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
1 3 Computing System Fundamentals 3.6 Errors Prevention and Recovery.
1 itec 400 Backups George Vaughan Franklin University.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Importance of Routine File System Backups To prevent loss data due to: Accidental deletion of files Hardware failures Problems with re-installation or.
1 Ch 11. Backup your data. 2 Backup Device An object contain location of backup device Location can be a file or a tape device.
Chapter 19 File System Backup. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To describe how files and directories can be archived.
BACKUP AND RESTORE. The main area to be consider when designing a backup strategy Which information should be backed up Which technology should be backed.
tar: The tape archive program _______________________ Amber Jain IC-2K7-05 _______________________.
Back it up – Don't be a fool!
Filesystem Management and Backups
Computers in the Medical Office
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Chapter Four UNIX File Processing.
Duplicating a Database
Linux Commands LINUX COMMANDS.
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Presentation transcript:

COP 4343 Unix System Administration Unit 10: backup restore

Asking Initial Questions What files should be backed up? Where are files located? How should backups be performed? Who will back up files? Restore requirements ? within a specific period of time?

Backup Media What kind ? Storage ? How many units ? onsite vs. offsite consider levels

Backup Levels

Restore Individual file Full restore Check level 2, then 1, then 0 Restore level 0, then 1, then 2

media provisioning

backup procedure create archive files backup commands directly onto media via file backup commands dump, tar and cpio also: find command

dump/restore dump options restore options level (0 is full backup, others are increments) destination: file or device u (update /etc/dumpdates) restore options f (source) t (list), i (interactive) r (restore file system), x (extract file)

dump/restore examples dump -0uf /dev/st1 / dump -1uf /tmp/backup /home restore -if /dev/st1 restore -xf /tmp/backup etc/crontab

tar create archive: restore from backup: tar zcvpf /archive/backup.tar.gz --exclude=*.iso --exclude=tmp --exclude=bufferdir /home restore from backup: tar zxvf backup.tar.gz path-to-file

cpio example: also: cpio -i “pattern” < backup-file find . -mtime -1 -print | cpio -o -H crc > backup-file also: cpio -i “pattern” < backup-file format

cpio formats bin The obsolete binary format (default). odc The old (POSIX.1) portable format. newc The new (SVR4) portable format, which supports file systems having more than 65536 i-nodes. crc The new (SVR4) portable format with a checksum added. tar The old tar format. ustar The POSIX.1 tar format. Also recognizes GNU tar archives, which are similar but not identical. hpbin The obsolete binary format used by HPUX’s cpio (which stores device files differently). hpodc The portable format used by HPUX’s cpio (which stores device files differently).