Show TOC Start of Content Area

Syntax documentation -c|-confirm  Locate the document in its SAP Library structure

This BRBACKUP command option backs up in unattended mode.

Input syntax: -c|-confirm [force]

Default value: Confirmation messages are issued and user entry is expected.

When you specify the -coption, you suppress most of the confirmation messages that would normally be displayed during the execution of a backup. This enables you to run the program in unattended mode.

The following confirmation messages are not suppressed:

·        Interactive password entry. To schedule a backup using CRON, use an appropriate script for entering the password. See Unattended Backup.

·        Prompt to mount the next volume, when more volumes are required than there are backup devices available. When a new volume must be mounted in the backup device during the backup, the utility responds as follows:

         When a console is available, you can mount the next volume, make the entries required by the utility, and continue the backup.

         When no console is available (the backup was scheduled using CRON or the CCMS, for example), the backup terminates.

Example

A backup is scheduled using CRON. Three tapes are required for the backup. Two tape devices are available and you have mounted two of the requested tapes. The backup is started, but is terminated once the two tapes have been written.

·        Prompt for mounting the next tape when a cpio continuation tape is requested (see cpio Continuation Tape).  The backup is started.  When the physical end of tape is reached, the utility responds as follows:

         When a console is available, you can mount the continuation tape, make the entries required by the utility, and continue the backup.

         When no console is available (the backup was scheduled using CRON or the CCMS, for example), the backup terminates.

To avoid terminations for the above reasons, use the option -c force.

force: 

When the -c forceoption is used, the following confirmation messages are also suppressed:

·        Prompt to mount the next volume. When more volumes are required than there are backup devices available, the backup is not even started.

·        Prompt to mount a cpio continuation tape.  If a continuation tape is required, the backup is terminated at this point, and an appropriate cpio error message is displayed.

The following confirmation prompt is not suppressed:

·        Interactive password entry.  To schedule a backup using CRON, use an appropriate script for entering the password.  See Unattended Backup.

If you want to run the SAP utility with, for example, the UNIX utility CRON, you should use the option -c force.

 

End of Content Area