Show TOC

Syntax documentation-c|-confirm Locate this document in the navigation structure

This BRBACKUP command option backs up in unattended mode. This option suppresses most of the confirmation messages normally displayed during the execution of a backup. This enables you to run the program in unattended mode.

Syntax Syntax

  1. -c|-confirm [force]
End of the code.

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

Possible values:

  • -c|-confirm

    This option suppresses most of the confirmation messages normally displayed during the execution of a backup. This enables you to run the program in unattended mode.

    However, -c|-confirm does not suppress the following confirmation messages:

    • 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 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.

        End of the example.
    • 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.

  • force

    When you specify the -c force option, you also suppress the following confirmation messages:

    • 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.

    However, -c force does not suppress the following confirmation prompt:

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

    Note Note

    To run the SAP utility with, for example, the UNIX utility CRON, use the option -c force.

    End of the note.