Making Reliable and Restorable Backups

Slides:



Advertisements
Similar presentations
1 Chapter 16 Tuning RMAN. 2 Background One of the hardest chapters to develop material for Tuning RMAN can sometimes be difficult Authors tried to capture.
Advertisements

Networking Essentials Lab 3 & 4 Review. If you have configured an event log retention setting to Do Not Overwrite Events (Clear Log Manually), what happens.
Chapter 20 Oracle Secure Backup.
Tag line, tag line Protection Manager 4.0 Customer Strategic Presentation March 2010.
Data Protection, Availability and Replication Andreas Tsangaris CTO, Performance Technologies.
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.
1 Storage Today Victor Hatridge – CIO Nashville Electric Service (615)
NetBackup 6.0 What’s New. What’s New in NetBackup 6.0 Management and Reporting Core Product Enhancements Disk Management and Optimization Additional NetApp.
Barracuda Backup Service Data Backup and Disaster Recovery.
Chapter 12 - Backup and Disaster Recovery1 Ch. 12 – Backups and Disaster Recovery MIS 431 – Created Spring 2006.
F Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup.
Barracuda Networks Confidential1 Barracuda Backup Service Integrated Local & Offsite Data Backup.
1© Copyright 2013 EMC Corporation. All rights reserved. EMC AVAMAR FOR NAS ENVIRONMENTS Backup, recovery, and disaster recovery for network-attached storage.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Maintaining Windows Server 2008 File Services
Module 8 Implementing Backup and Recovery. Module Overview Planning Backup and Recovery Backing Up Exchange Server 2010 Restoring Exchange Server 2010.
Module 12: Planning for and Recovering from Disasters.
Navigating the Oracle Backup Maze Robert Spurzem Senior Product Marketing Manager
BACKUP/MASTER: Immediate Relief with Disk Backup Presented by W. Curtis Preston VP, Service Development GlassHouse Technologies, Inc.
Simplify your Job – Automatic Storage Management Angelo Session id:
IBM TotalStorage ® IBM logo must not be moved, added to, or altered in any way. © 2007 IBM Corporation Break through with IBM TotalStorage Business Continuity.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
1 Chapter Overview Backing Up Your Network Backing Up and Restoring Active Directory.
Storage Area Networks The Basics. Storage Area Networks SANS are designed to give you: More disk space Multiple server access to a single disk pool Better.
Selling the Database Edition for Oracle on HP-UX November 2000.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 6 – RAID ©Manuel Rodriguez.
Module 10 Configuring and Managing Storage Technologies.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
Module 13: Configuring Availability of Network Resources and Content.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
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.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Best Practices for Backup in SAN/NAS Environments Jeff Wells.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Meeting the Data Protection Demands of a 24x7 Economy Steve Morihiro VP, Programs & Technology Quantum Storage Solutions Group
Maintaining File Services. Shadow Copies of Shared Folders Automatically retains copies of files on a server from specific points in time Prevents administrators.
Hosted by Designing a Backup Architecture That Actually Works W. Curtis Preston President/CEO The Storage Group.
Confidential1 Introducing the Next Generation of Enterprise Protection Storage Enterprise Scalability Enhancements.
Module 9 Planning a Disaster Recovery Solution. Module Overview Planning for Disaster Mitigation Planning Exchange Server Backup Planning Exchange Server.
Selling the Storage Edition for Oracle November 2000.
BACKUP/GETTING STARTED: Backup School Presented by: W. Curtis Preston VP, Services Development GlassHouse Technologies.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Hosted by Minimizing the Impact of Storage on Your Network W. Curtis Preston President The Storage Group.
Arcserve ® Backup Enterprise-class protection for small & mid-size+ businesses  File-based backup to disk, tape & cloud (Amazon, Azure, Cloudian, Eucalyptus,
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
Accelerator for VMware backup
Hernán J. Larrea.  Symantec Corporation has not participated in the development of this document.  All sources will be properly mentioned at the end.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
OpenStorage Training Introduction to NetBackup
Introduce NetBackup Accelerator
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Accelerator VMware backup best practices
Backing Up Lesson 12. Backups A backup is simply a copy of the data on a computer’s hard disks, stored on another medium in case a hard drive fails. If.
CommVault Architecture
CDP Technology Comparison CONFIDENTIAL DO NOT REDISTRIBUTE.
PHD Virtual Technologies “Reader’s Choice” Preferred product.
Open-E Data Storage Software (DSS V6)
Storage Area Networks The Basics.
Integrating Disk into Backup for Faster Restores
Maintaining Windows Server 2008 File Services
Introduction to Operating Systems
2018 Real Dell EMC E Exam Questions Killtest
MAINTAINING SERVER AVAILIBILITY
Creating and Managing Folders
Improving performance
Presentation transcript:

Making Reliable and Restorable Backups Presented by: W. Curtis Preston President The Storage Group, Inc.

Making good on your investment Many SANs are built in order to simplify backup, yet often fail for lack of good design, processes and procedures. There are several common mistakes that people make when building a backup system Avoiding these mistakes and taking proper action, can create a backup system that is reliable and restorable

What will we cover? Common Backup Configuration Mistakes How to Avoid Them Sizing your backup system Configuration examples for NetBackup Configuration examples for NetWorker

Common Backup Configuration Mistakes

Where do these lessons come from? Audits of real backup and recovery systems Lessons learned from real horror stories Many, many sleepless nights

Too little power Not enough tape drives Tape drives that aren’t fast enough Not enough slots in the tape library Not enough bandwidth to the server

Too much power Streaming tape drives must be streamed If you don’t, you will wear out your tape drives and decrease aggregate performance Must match the speed of the pipe to the speed of the tape You can actually increase your throughput by using fewer tape drives

Not using multiplexing Defined: Sending multiple backup jobs to the same drive simultaneously Again, drives must be streamed Multiplexing will impact restore performance, but not as much as you might think Multiplexing can actually help your restore just as it can help your backups Using multiplexing can greatly increase the utilization of your backup hardware

Not using multistreaming Defined: Sending multiple simultaneous backup jobs from a single client Large systems cannot be backed up serially Multistreaming creates a different job for each filesystem

Using include lists Most major backup software supports file system discovery Still, many administrators use manually created include lists Any perceived value is significantly outweighed by the risk it creates

Too many full backups If you are using a commercial backup and recovery product with automated media management and multiple levels, weekly full backups are a waste of tape, time, and money Monthly full backups, weekly cumulative incrementals (1), and daily incrementals (9) work just as well and use ¼ as much tape Depending on the level of incremental activity, quarterly backups can work just as well.

Not standardizing Creating custom configurations for each client is easier, but much riskier Creating a standard backup client configuration can significantly decrease risk Create a standard exclude list, etc. and push it out to each client

Not even noticing! Backups go ignored so often. It’s like they’re the bill collector nobody wants to talk to Backup reporting products can really help automate easy reporting Don’t ignore backups. They will bite you.

It’s just backups, right? “I’m an experienced, seasoned systems administrator. This is just backups. How hard can they be?” The data being backed up has become very complex, and the complexity of backup systems have matched that complexity with functionality – that also happens to be complex

Not thinking about disk Tape is not as cheap as you thought Let’s examine a 4 TB library 20 slots, 2 drives $17K 20 tapes, $70 apiece $14K Robotic license $10K Total $41K (does not include labor costs) That’s about $10/GB

Disk is cheaper than you thought ATA-based storage arrays as low as $5/GB (disk only, needs filesystem) Special function arrays Quantum DX-30 looks and behaves like a Quantum P1000. Can be used as target for “tape-based” backups (3 usable TB, $55K list, or $18/GB) NetApp R100 looks like other NetApp filer. Target for SnapVault and disk-based backups, source for SnapMirror (9+ usable TB, $175K list, or $18/GB) ATA disks not suited for heavy, random access, but perfect for large block I/O (e.g. backups!)

You can do neat things with disk Incremental backups are one of the greatest backup performance challenges Use as a target for all incremental backups. (Full, too, if you can afford it) For off-site storage, duplicate all disk-based backups to tape Leave disk-based backups on disk

Building a reliable and restorable backup system Now that I know… Building a reliable and restorable backup system

Sizing the backup system

Server Size/Power I/O performance more important than CPU power CPU, memory, I/O expandability paramount Avoid overbuying by testing prospective server under load If you use Suns, you’ve got snoop and truss

Catalog/database Size Determine number of files (n) Determine number of days in cycle (d) (A cycle is a full backup and its associated incremental backups.) Determine daily incremental size (i = n * .02) Determine number of cycles on-line (c) 150-250 bytes per file, per backup Use a 1.5 multiplier for growth and error Index Size = (n + (i*d)) * c * 250 * 1.5

Library Size - drives Network Backup Buy twice as many backup drives as your network will support Use only as many drives as the network will support (You will get more with less.) Use the other half of the drives for duplicating

Library Size - drives Local Backup Most large servers have enough I/O bandwidth to back themselves up within a reasonable time if you’re using NetBackup Usually a simple matter of mathematics: 8 hr window, 8 TBs = 1 TB/hr = 277 MB/s 30 10 Mb/s drives, 15 20 MB/s drives Must have sufficient bandwidth to tape drives Filesystem vs. raw recoveries Allow drives and time for duplicating!

Library Size - slots (all tape environment) Should hold all onsite tapes On-site tapes automatically expire and get reused Only offsite tapes require phys. mgmt. Should monitor library via a script to ensure that each pool has enough free tapes before you go home Watch for those downed drive messages

Library Size - slots (disk/tape environment) Do incremental backups to disk Library only needs to hold on-site full tapes and the latest set of copies. On-site tapes and disk-based backups automatically expire and get reused Only offsite tapes require phys. mgmt. Should monitor library and disk via a script to ensure that each pool has enough free tapes before you go home Watch for those downed drive messages

Local or Remote Backup? (NetBackup= SSO, NetWorker=DDS) Throughput (in 8hrs), if you “own the wire:” 10 Mb = 20 GB, 100 Mb = 200 GB GbE = 500 GB – 1 TB (Also must “own the box.”) Greater than 500 GB should be “local” Lan-free backups allow you to share a large tape library by performing “local” backups to a “remote, shared” device More than one 500+ GBserver, buy a SAN! Only one 500+ GB server, plan for a SAN! (NetBackup= SSO, NetWorker=DDS)

Multistreaming - NetBackup Defined: Starting multiple simultaneous backup jobs from a single client Maximum jobs per client > 1 Check “Allow multiple data streams” ALL_LOCAL_DRIVES, or multiple entries in file list Maximum jobs per policy > 1 or unchecked Need storage unit with more than one drive, or one drive with multiplexing enabled Can change max jobs per client using the Server Properties -> Clients tab (4.5) By default, will not exceed one job per filesystem, but can bypass this if you make your own file list

Multistreaming (Parallelism) - NetWorker Use “All” saveset or multiple entries in the saveset list Set the parallelism setting for server and, if necessary, the storage node Set client parallelism value in client attributes Must have multiple drives available, or one drive with target sessions set higher than one Will not exceed number of disks or logical volumes on the client (see maximum-sessions in manual)

Multiplexing – NetWorker Set target sessions per device, allocating how many sessions may be sent to that device. Global setting for all backups that go to that device

Multiplexing - NetBackup Max multiplexing per drive in storage unit configuration > 1 Media multiplexing in schedule > 1 Use higher multiplexing for incremental backups if going to tape (6-8) Use lower multiplexing for local backups (2) No need to multiplex disk storage units Multiple policies can multiplex to the same drive, but multiple media servers cannot

Using Include lists -- not NetBackup – ALL_LOCAL_DRIVES in file list NetWorker – All in saveset field Automatically excludes NFS/CIFS drives Does not include dynamically mounted drives not in /etc/*fstab

What about database clients? Use scripts that parse lists of databases: /var/opt/oracle/oratab for Oracle MS-SQL list in registry Master database in Sybase Some backup products support “All” for databases Remember to write standardize script with parameters to backup databases.

Incremental backups - NetBackup Create staggered monthly full backups using calendar-based scheduling Create staggered weekly cumulative incrementals using CBS Create daily incremental backups using frequency based backups (Check Allow after run day.) Delete window from previous day for CBS

Incremental backups - NetWorker Do not use the Default schedule! Create 28 schedules with a monthly full, weekly level 1, and daily incremental, name them after the full day Do not specify a schedule for the Group Assign the 28 schedules evenly across all clients based on size

Standardization – NetWorker Use All saveset entry To exclude files, use standard directives for all clients

Standardization - NetBackup Use ALL_LOCAL_DRIVES Non-Windows clients - Use standard exclude list and push out from master using bpgp Windows clients – Use standard exclude list and push out from master using bpgetconfig –M and bpsetconfig –h

Backup Reporting - NetBackup Watch activity and device monitors bperror bpdbjobs -report bpdbjobs –report –all_columns /usr/openv/netbackup/logs /usr/openv/logs /usr/openv/volmgr/logs

Backup Reporting – NetWorker Watch nwadmin screens mminfo nsrinfo mmlocate nsrmm /nsr/logs

Disk-to-disk Backup - NetWorker If using regular disk, use file type device Disk backup extra cost with options If using virtual tape library, treat it like a tape library Use cloning to duplicate disk-based backups to tape and send them off-site

Disk-to-disk Backup - NetBackup If using regular disk, use disk-based storage unit (No extra cost for disk storage units!) If using virtual tape library, treat it like a tape library Use vault to duplicate disk-based backups to tape and send them off-site

What about my SAN and NAS?

SAN: LAN-free, Client-free, and Server-free backup NAS: NDMP filer to self, filer to filer, filer to server, & server to filer

LAN-free backups How does this work? Levels of drive sharing Restores SCSI Reserve/Release Third-party queuing system Levels of drive sharing Restores

How client-free backups work Backup transaction logs to disk Establish backup mirror Split backup mirror and back it up

How client-free recoveries work Restore backup mirror from tape Restore primary mirror from backup mirror Replay transaction logs from disk

Server-free backups Server directs client to take a copy-on-write snapshot Client and server record block and file associations Server sends XCOPY request to SAN

Server-less Restores Changing block locations Image level restores File level restores

NDMP Configurations Filer to self Filer to filer Filer to server Server to filer

Using NDMP Level of functionality depends on the DMA you choose Robotic Support Filer to Library Support Filer to Server Support Direct access restore support

Resources

Resources Directories of products to help you make a better backup system http://www.storagemountain.com Send questions to: curtis@thestoragegroup.com