Data storage, backup and restore



Similar documents
Redundant Array of Inexpensive/Independent Disks. RAID 0 Disk striping (best I/O performance, no redundancy!)

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Unix System Administration

Acronis Backup & Recovery 10 Server for Linux. Command Line Reference

Linux Software Raid. Aug Mark A. Davis

Cisco Small Business NAS Storage

TELE 301 Lecture 7: Linux/Unix file

User s Guide. Acronis True Image 9.1 Server for Linux

Computer Backup Strategies

File Systems Management and Examples

Acronis True Image 9.1 Pro/Light for Linux

Shared Storage Setup with System Automation

Linux Filesystem Comparisons

Acronis True Image 9.1 Pro/Light for Windows

Supported File Systems

Adaptable System Recovery (ASR) for Linux. How to Restore Backups onto Hardware that May not be Identical to the Original System

How To Manage Your Volume On Linux (Evms) On A Windows Box (Amd64) On A Raspberry Powerbook (Amd32) On An Ubuntu Box (Aes) On Linux

LVM and Raid. Scott Gilliland

Linux System Administration

Installing Debian with SATA based RAID

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

CommVault Simpana Archive 8.0 Integration Guide

4-Drive-Bay Advanced Gigabit Network RAID Storage System Chassis

HP-UX System and Network Administration for Experienced UNIX System Administrators Course Summary

This is when a server versus a workstation is desirable because it has the capability to have:

Yiwo Tech Development Co., Ltd. EaseUS Todo Backup. Reliable Backup & Recovery Solution. EaseUS Todo Backup Solution Guide. All Rights Reserved Page 1

Oracle VM Server Recovery Guide. Version 8.2

4 Backing Up and Restoring System Software

ENTERPRISE LINUX SYSTEM ADMINISTRATION

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

Symantec NetBackup for Hyper-V Administrator's Guide. Release 7.6

Backup policies. Or - how not to get annoyed when you accidentally delete stuff. Warning - this does get a little technical

Filing Systems. Filing Systems

Chapter 6 External Memory. Dr. Mohamed H. Al-Meer

CS615 - Aspects of System Administration

ZFS Backup Platform. ZFS Backup Platform. Senior Systems Analyst TalkTalk Group. Robert Milkowski.

Creating a Cray System Management Workstation (SMW) Bootable Backup Drive

Typing some stupidities in text files, databases or whatever, where does it fit? why does it fit there, and how do you access there?

Deploying a File Server Lesson 2

Distributed File Systems

Exam: QUESTION 1 QUESTION 2 QUESTION 3 QUESTION 4

Cisco Small Business NSS2000 Series Network Storage System

Red Hat Certifications: Red Hat Certified System Administrator (RHCSA)

Symantec System Recovery 2013 User's Guide. Linux Edition

Abstract. Microsoft Corporation Published: August 2009

Introduction to AIX 6L System Administration Course Summary

Linux System Administration on Red Hat

BackupAssist Common Usage Scenarios

Advanced Linux System Administration on Red Hat

Symantec NetBackup for Hyper-V Administrator's Guide. Release 7.5

ZFS Administration 1

CROSS PLATFORM AUTOMATIC FILE REPLICATION AND SERVER TO SERVER FILE SYNCHRONIZATION

Encrypting Your Files. Because nobody else will And would you trust them if they did?

Acronis True Image Server 8.0 for Linux

Oracle Linux 7: System Administration Ed 1 NEW

LVM2 data recovery. Milan Brož LinuxAlt 2009, Brno

Trends in Application Recovery. Andreas Schwegmann, HP

Cisco Small Business NSS3000 Series Network Storage System

1. Introduction to the UNIX File System: logical vision

Ultimate Guide to Oracle Storage

LucidNAS Quick Start Guide

Tivoli Storage Manager Lunch and Learn Bare Metal Restore Dave Daun, IBM Advanced Technical Support

Total Backup Recovery Server for Linux. User s Guide

Data Storage and Backup. Sanjay Goel School of Business University at Albany, SUNY

Disaster Recovery Checklist Disaster Recovery Plan for <System One>

How to Choose your Red Hat Enterprise Linux Filesystem

Backup and Recovery in MS SQL Server. Andrea Imrichová

VERITAS Backup Exec 9.0 for Windows Servers

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

A candidate following a programme of learning leading to this unit will be able to:

DualFS: A New Journaling File System for Linux

Cisco Small Business NSS3000 Series Network Storage System

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

WHITE PAPER PPAPER. Symantec Backup Exec Quick Recovery & Off-Host Backup Solutions. for Microsoft Exchange Server 2003 & Microsoft SQL Server

System Compatibility. Enhancements. Security. SonicWALL Security Appliance Release Notes

UNIX - FILE SYSTEM BASICS

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Striped Set, Advantages and Disadvantages of Using RAID

LISTSERV in a High-Availability Environment DRAFT Revised

WHITE PAPER: ENTERPRISE SECURITY. Symantec Backup Exec Quick Recovery and Off-Host Backup Solutions

Library Recovery Center

Root-on-LVM-on-RAID HOWTO

CBMR for Linux v6.2.2 User Guide

Oracle Database 10g: Backup and Recovery 1-2

Red Hat Enterprise Linux 3. System Administration Guide

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

Parallels Virtuozzo Containers 4.7 for Linux

Choices for implementing SMB 3 on non Windows Servers Dilip Naik HvNAS Pty Ltd Australians good at NAS protocols!

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

Chapter 11: File System Implementation. Operating System Concepts with Java 8 th Edition

Part Two: Technology overview

Veritas Volume Manager Administration on HP-UX Course Summary

Transcription:

, backup and restore IMT3292 - System Administration November 25, 2008

A Simple Overview 1 HW: SCSI/IDE/SATA/SAS (SAN!) 2 HW/SW: 3 SW: Logical volumes 4 SW: Journalling filesystems 5 SW/NET: Networked filesystem (NAS!)

DAS-NAS-SAN

Redundant Array of Inexpensive/Independent Disks 0 Disk striping (best I/O performance, no redundancy!) 1 Disk mirroring (complete redundancy) 5 Disk striping with additional parity information. The parity information is split across multiple disks 0+1 A combination of 0 and 1 (mirror of stripes) 10 A combination of 1 and 0 (stripe of mirrors)

cont. www.acnc.com/04_00.html en.wikipedia.org/wiki/nested levels

Logical Volume Managers Logical Volume Managers (LVMs) provide a higher-level view of disk storage, and gives much more flexibility in allocating storage Physical disks can be made into physical volumes by dividing them into physical partitions/ extents A volume group is a named collection of physical volumes Volume groups can be split into subunits called logical volumes A logical volume can hold a single file system, and is much more flexible than a disk partition! Logical volumes are composed of logical partitions/extents Logical partitions/extents usually map one-to-one to physical partitions/extents (in either striping or linear mode), but in case the logical volume is set up to store redundant copies of data it can map one-to-many

LVM cont. hda1 hdc1 (PV) \ / diskvg (VG) / \ usrlv rootlv varlv (LV:s) ext3 reiserfs xfs (filesystems)

The problem journalling file systems solve is that if your host crashes, traditional file system have to run extensive checks (fsck) on the integrity of the file systems Journalling file systems keep a transaction log (a journal) of the most recent file system operations, thus allows them to be replayed and allows for much faster recovery ext3, jfs, reiserfs, XFS

Networked Unix: NFS (Network File System) Server: /etc/exports Client: /etc/fstab MSWindows: CIFS (Common Internet File System) (formerly known as SMB) Samba is (among other things) an open source implementation of CIFS, thus MSWindows clients can mount Samba shares Other possibilities include DFS, AFS, coda, InterMezzo Problems with authentication! understand what is implied by: NFSv{2,3,4}

mount/umount File systems can be mounted with the mount command: mount -t type device dir e. g. mount -t iso9660 /dev/hdc /mount/cdrom (see also man mount of course) To unmount, simply use: umount dir e. g. umount /mount/cdrom (hint: if not able to unmount, use fuser -v dir)

/etc/fstab From man fstab: The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file. e.g. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/hda3 / ext3 errors=remount-ro 0 1 /dev/hda2 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/fd0 /floppy auto user,noauto 0 0 /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0 /dev/hda1 /boot ext3 defaults 0 2 rom:/st/rom/home /st/rom/home nfs rw,bg,hard,intr 0 0

Punchline Be interested in alle levels of data storage, never trust the vendor

Backup System = Data Restoration System Why? accidental deletion disk failure malware (virus) archival purposes

: The Questions (From Essential system administration by Frisch:) What files need to be backed up? Where are these files? Who will backup the files? Where, when and under what conditions should backups be performed? How often do these files change? How quickly does an important missing or damaged file need to be restored? What is the expected rate of loss or failure? How long do we need to retain the data? Where should the backup media be stored? Where will the data be restored?

Other Factors What media to use? magnetic tape optical disk File-based vs device-based Compression Problems with online backup file changes directory structure changes

Two Basic Strategies Full Copy all files Partial Two concepts sometimes referred to as the same: Differential All new or modified files since last full backup Incremental All new or modified files since last full or partial backup Difference between differential and incremental sometimes referred to as level x where x 0, 1, 2,...

Backup Schedules: Grandfather-Father-Son

A useful command find dir -newer /var/adm/yesterday -ls \ awk {sum+=$7}; END {print "diff =",sum} (from Frisch 2002)

Exam Dec. 3rd 0900-1100