Entering content frame-m|-mode Locate the document in its SAP Library structure

This BRBACKUP command option defines the file to be backed up.

Input syntax:
-m all|all_data|full|incr|<tablespace>|<file_ID>|<file_ID1>-<file_ID2>|<generic_path>|<object_list>|sap_dir|ora_dir

Default: all

You can perform a full database backup or back up specific tablespaces or files (whether part of the database or not). You can create object lists.

You can specify what you want to back up:

In a Structure Retaining Database Copy ( backup_dev_type = disk_copy or disk_standby ) you can retain the distribution of the sapdata directories to different drives (only for Windows NT).

Example

The files of the drive d are copied to drive k , the files of the drive e are copied to the drive l and the files of the drive f are copied to the drive m .

brbackup -d disk_copy -m all,d:=k:,e:=l:,f:=m:

If you do not specify a target drive, all files are copied to the directory defined in the parameter new_db_home.

Note

When you specify a directory to be backed up its contents and the names of the subdirectories are backed up. However the directory structure and the content of the subdirectories are not backed up.

Note

For UNIX systems: Start BRBACKUP to save the SAP/Oracle environment ( brbackup -m sap_dir | ora_dir ) under user root , as otherwise you will not have the authorizations required for the directory to be saved.

Saving and restoring under root also has the advantage that you can be sure that the settings for the user and authorizations for the files and directories will be kept after restoring.

Parameters in init<DBSID>.sap : backup_mode.

If you want to repeatedly back up several tablespaces and/or files, it may be more effective to configure parameter backup_mode of the initialization profile accordingly.

Leaving content frame