Professional Documents
Culture Documents
Chapter 12
Chapter Objective
Upon completion of this chapter, you will be able to: o Describe Backup/Recovery considerations
What is a Backup?
o Backup is an additional copy of data that can be used for restore and recovery purposes o The Backup copy is used when the primary copy is lost or corrupted o This Backup copy can be created by:
o Simply copying data (there can be one or more copies)
o Mirroring data (the copy is always updated with whatever is written to the primary copy)
o Operational
o Restore data in the event of data loss or logical corruptions that may occur during routine processing
o Archival
o Preserve transaction records, email, and other business work products for regulatory compliance
2009 EMC Corporation. All rights reserved.
Backup/Recovery Considerations
o What are the restore requirements RPO & RTO?
o If RPO is one day, data needs to be backed up at least once every day
o Where and when will the restores occur? o What are the most frequent restore requests? o Which data needs to be backed up? o How frequently should data be backed up?
o hourly, daily, weekly, monthly
o How long will it take to backup? o How many copies to create? o How long to retain backup copies?
2009 EMC Corporation. All rights reserved.
Backup Granularity
o Full backup
o Backup of the complete data at a certain point in time
o Incremental backup
o Copies data that has changed since the last full or incremental backup o Much faster, but takes longer to restore
Backup Granularity
Full Backup
Su
Su
Su
Su
Su
Incremental Backup
Su M
T W
S Su M
W T
S Su M
W T
S Su M
W T
S Su
Su M
T W
S Su M
W T
S Su M
W T
S Su M
W T
S Su
Files 1, 2, 3
File 4
Updated File 3
File 5
Files 1, 2, 3, 4, 5
Full Backup
Incremental
Incremental
Incremental
Production
o Key Features
o Files that have changed since the last backup are backed up o Fewest amount of files to be backed up, therefore faster backup and less storage space
o Longer restore because last full and all subsequent incremental backups must be applied
Files 1, 2, 3
File 4
Files 4, 5
Files 4, 5, 6
Files 1, 2, 3, 4, 5, 6
Full Backup
Cumulative
Cumulative
Cumulative
Production
o Key Features
o More files to be backed up, therefore it takes more time to backup and uses more storage space o Much faster restore because only the last full and the last cumulative backup must be applied
Backup Methods
o Cold or offline o Hot or online
o Backing up online production data is challenging because a file may be locked by the OS and cannot be copied until it is closed. There are two ways to handle this
o Retry until file is closed and can be accessed
o Use Open File Agents
Backup Methods
o Backup file metadata for consistency o Boot sector and partition layout are critical for successful recovery o Bare metal recovery (BMR)
o All metadata, system information and applications configurations are backed up o Builds the base system: partitioning, file system layout, operating system, applications and all related configurations
o Backup server
o Manages backup operations and maintains backup catalog
Backup Data
o Storage node
o Responsible for writing data to Application Server/ backup device
Backup Client Backup Server/ Storage Node
Storage Array
Tape Library
Backup Operation
Application Server and Backup Clients
1 Start of scheduled backup process 2 Backup server retrieves backup related information from backup catalog Backup server instructs storage node to load backup media in backup device Backup server instructs backup clients to send its metadata to the backup server and data to be backed up to storage node Backup clients send data to storage node
3a
3b
3b
5 1 2 7 6 7 3a 5
Storage node sends media information to backup server Backup server update catalog and records the status
Backup Server
Storage Node
Backup Device
Restore Operation
Application Server and Backup Clients
1 Backup server scans backup catalog to identify data to be restore and the client that will receive data Backup server instructs storage node to load backup media in backup device Data is then read and send to backup client Storage node sends restore metadata to backup server
4 3 5
Backup Server
2009 EMC Corporation. All rights reserved.
Storage Node
Backup Device
Lesson Summary
Key points covered in this lesson: o Purposes for Backup
Backup Topologies
o There are 3 basic backup topologies:
o Direct Attached Based Backup o LAN Based Backup o SAN Based Backup o Mixed backup
Metadata
Data
LAN
Backup Server
Backup Device
Backup Server
Metadata
LAN
Data
Storage Node
Backup Device
LAN
Metadata
FC SAN
Data
Backup Server
Backup Device
Storage Node
Mixed Backup
Application Server and Backup Client
Metadata
LAN
Metadata
FC SAN
Data
Backup Server
Application Server
Backup Device
Storage Node
Storage
LAN
FC SAN
Backup Request
Backup Server/ Storage Node
Data Metadata
Storage
LAN
FC SAN
Backup Request
Backup Server / Storage Node
2009 EMC Corporation. All rights reserved.
Data Metadata
Storage
LAN
FC SAN
Backup Request
Backup Server
Data Metadata
LAN LAN
Storage
FC SAN
Backup Device
Metadata
Backup to Tape
o Traditional destination for backup o Low cost option
Tape
Import/
Export
Mailbox
Power Systems Server Class Main Controller I/O Management Unit Front View
2009 EMC Corporation. All rights reserved.
Back View
Tape Limitations
o Reliability
o Restore performance
o Mount, load to ready, rewind, dismount times
Backup to Disk
o Ease of implementation o Fast access
o More Reliable
o Random Access o Multiple hosts access o Enhanced overall backup and recovery performance
Tape
Backup / Restore
Typical Scenario:
800 users, 75 MB mailbox 60 GB database
FC SAN
LAN
Backup Clients
2009 EMC Corporation. All rights reserved.
Tape
Disk-Aware Backup-to-Disk No
Virtual Tape
Offsite Capabilities
Yes
Reliability
RAID, spare
RAID, spare
Performance
Use
Backup only
Multiple (backup/production)
Backup only
Data De-duplication
o Data de-duplication refers to removal of redundant data. In the de-duplication process, a single copy of data is maintained along with the index of the original data, so that data can be easily retrieved when required. Other than saving disk storage space and reduction in hardware costs, (storage hardware, cooling, backup media, etc), another major benefit of data de-duplication is bandwidth optimization.
Lesson Summary
Key points covered in this lesson: o Backup topologies
o Direct attached, LAN and SAN based backup
o Backup in NAS environment
o Backup to Tape
o Backup to Disk
o Backup to virtual tape o Comparison among tape, disk and virtual tape backup
Chapter Summary
Key points covered in this chapter: o Backup and Recovery considerations and process
#1 IT company
http://education.EMC.com