Purpose
Your database is always subject to the risk of possible damage. There are many reasons why data may be lost or become corrupted. Disks may crash, power may be cut off, users may make mistakes, viruses may infiltrate the system or, in the worst case, a fire or earthquake could totally destroy the system. It is therefore vital to work out a security strategy that protects your system against data loss and enables you to restore it to a correct and consistent state. The most important part of any security strategy is to backup the database and its transaction log at regular intervals. This means the data and log from the database must be copied to another storage medium. When the database is damaged, these data copies can be reloaded in order to restore the database to a correct and consistent state.
Prerequisites
A backup can only effectively contribute to safeguarding your database, if it is performed as part of an overall backup and restore strategy. It is therefore important to first carefully work out a strategy and to test it before applying it in a productive system. It should define details such as the frequency of backups, what should be backed up at various times, which media are to be used and how backups are to be verified to ensure that they can be used for a later restore. When a strategy is planned, many different factors play a role. For example, it is important to take into account the transaction workload, the maximum permissible downtime, the available hardware and, in the worst case, the amount of data loss that is tolerable.
See also:
Backup StrategyProcess Flow
Once you have drawn up a backup strategy, you can begin to implement it. Both the MS SQL Enterprise Manager and the R/3 System provide the functions you need to define, schedule and execute backups and to perform other related tasks. Generally the procedure for backing up includes the following phases:

Depending on the tool you decide to use, the procedure for defining and scheduling a backup will vary. However, the technical details that need to be specified in order to be able to perform a backup are always the same:
Backup Details
Backup contents |
R/3 database, msdb database, master database and so on. |
Backup type |
Full database, transaction log, differential database and so on. |
Backup destination |
The tape devices or disks that the backup is written to. |
Volume label |
The names assigned to the tapes that the backup is written to. |
Expiration period |
The length of time in which a backup tape is protected from being overwritten. |
Execution time |
Backups can be started immediately or scheduled to run at a specific time. Normally they are scheduled to run periodically, in accordance with a backup strategy that has already been defined. |

Depending on the tool you use, you may have to enter these details in your system manually or they may be preset.
See also:
Backing Up with the Enterprise Manager Backing Up with R/3Normally backups are executed automatically. They are scheduled in advance in accordance with an overall backup strategy and then run automatically at a predefined time. However, it is the responsibility of the database administrator to always ensure that the correct tapes are inserted in the backup tape devices.
Usually a tape that has been written will be removed from the tape device and stored safely. In the past, however, it has been found that it is not certain that readable data actually exists on the tape that was supposedly written successfully. For this reason, the SQL Server offers the verify option. After the backup this always checks whether all the files have been written to the tape and whether they can be read. SAP recommends that this option is used for all backups.
During and after the execution of a backup it should be part of the routine to check whether execution has been successful using the tools available.
See also:
Monitoring BackupsThe backup verification feature does not check the database for consistency. If a database contains corrupted data, this will be transferred to the backup. Therefore, ideally, consistency checks should be performed at regular intervals.
The database consistency check is scheduled in the R/3 System using the Planning Calendar.
See also:
Checking Consistency of the Database