Professional Documents
Culture Documents
SAP - Hana Backup - Recovery Overview SPS8
SAP - Hana Backup - Recovery Overview SPS8
SAP - Hana Backup - Recovery Overview SPS8
Public
Disclaimer
This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.
Public
Agenda
Backup
Recovery
Database copy
Tool support and certification
Whats new?
Public
Backup
1
Savepoint:
Data is written
to disk (data area)
2014 SAP SE or an SAP affiliate company. All rights reserved.
2
After each COMMIT,
log is written
to disk (log area)
3
Power failure
Public
They are also useful for other scenarios such as database copy.
Backups are carried out while the database is running, users can continue to work normally.
Public
Memory
Savepoint
Data Area
(disk)
COMMIT
Log Area
(disk)
Data Backups
Log backups
Contain the content of closed log segments; the
backup catalog is also written as a log backup
Automatic (asynchronous) whenever a log segment is
full or the timeout for log backup has elapsed
Log Backups
Public
Data Area
Redo log
Data
Volume
Log Area
Log Volume
Log
Volume
2014 SAP SE or an SAP affiliate company. All rights reserved.
Log
Segment
Master
Name
Server
Name
Server
Name
Server
Index
Server
Index
Server
Savepoint
Savepoint
Parallelization
Backup
Public
SAP HANA
studio
hdbsql
Create backup
SAP HANA
Database
Backup
Storage,
e.g. NFS
Public
10
SAP HANA
studio
hdbsql
Create backup
SAP HANA
3rd Party
Backup Agent
3rd Party
Backup
Server
Public
11
SAP HANA
studio
hdbsql
Storage
Tool
Prepare database
Internal snapshot
Data Area (Disk)
Create storage
snapshot
External
Storage
Public
12
Buttons for
Canceling running data backup
Starting backup
Displaying backup.log file
2014 SAP SE or an SAP affiliate company. All rights reserved.
Public
13
Data backup
Default settings for data backups to the file system
Destination, maximum file size
You specify the destination type (file or Backint) when
executing the data backup
Log backup
Default settings for log backups
Destination type (file or Backint), destination, backup
interval
Log backups are carried out automatically unless
disabled
2014 SAP SE or an SAP affiliate company. All rights reserved.
Public
14
Public
15
2. Using the storage tool, create a storage snapshot of the SAP HANA data area
3. In SAP HANA studio, confirm the successful storage snapshot and enter the external snapshot ID.
Alternatively, you can use the SQL command:
BACKUP DATA CLOSE SNAPSHOT BACKUP_ID 3456789 SUCCESSFUL 'storage_id_12345
Storage snapshots are listed in the backup catalog. You can either display the backup catalog in SAP
HANA studio, or query it using SQL (system view M_BACKUP_CATALOG).
Public
16
Public
17
There is an audit event which you can enable to create an entry in the audit trail whenever a backup is
deleted using this function.
The deletion functionality is available both in SAP HANA studio (see next slide) and on the command
line (SQL commands)
Public
18
Public
19
Recovery
Time
1
Data backups/
storage snapshots
2
Log backups
3
Most recent
entries from
log area
4
Failure
Public
21
Time
(C) Using a specified data backup or storage snapshot (without log replay)
Uses the specified data backup or storage snapshot, but no log backups
All log entries that still exist in the log area are deleted, no log will be replayed
2014 SAP SE or an SAP affiliate company. All rights reserved.
Public
22
Public
23
Public
24
Public
25
Public
26
Public
27
SAP HANA
studio
Storage
Tool
cmd
Recover database
Internal snapshot
Data Area (Disk)
Transfer storage
snapshot
External
Storage
Public
28
Database copy
Copying from a larger (m nodes) to a smaller system with fewer hosts (n nodes) is supported for
database copies using data backups. You will need to configure (m-n) additional index servers in the
target database. Note: This is currently not supported when using storage snapshots.
Public
30
Node n
Node 2
Node 2
Index Server
Node 1
Node 1
Index Server
Index Server
Index Server 1
Index Server 1
Index Server 2
Source database
with n nodes
(e.g. PROD)
2014 SAP SE or an SAP affiliate company. All rights reserved.
Data backup
+ log backups
(optional)
Target database
with 2 nodes
(e.g. QA)
Public
31
Node n
Node n
Node 2
Node 2
Index Server
Index Server
Node 1
Node 1
Index Server
Index Server
Index Server 1
Index Server 1
Source database
with n nodes
(e.g. PROD)
2014 SAP SE or an SAP affiliate company. All rights reserved.
Snapshot +
log backups
(optional)
Target database
with n nodes
(e.g. DEV)
Public
32
DBA Cockpit
hdbsql/command Line
Backup
Recovery
Public
34
Backup Tool
Commvault
Simpana 10.0, Hitachi Data Protection Suite 10 (via Simpana Backint interface)
1957450
EMC
1999166, 1970559
HP
1970558
IBM
1913500
SEP
Sesam 4.4
2024234
Symantec
NetBackup 7.5
1913568
Public
35
Whats new?
SAP HANA SPS08
Public
37
More information
Public
39
Thank You!
Contact information:
Andrea Kristen, SAP HANA Product Management
andrea.kristen@sap.com
2014
2014 SAP
SAP SE
AGor
oran
anSAP
SAPaffiliate
affiliatecompany.
company.All
Allrights
rightsreserved.
reserved.