Enable the STA Backup Service

Enable the Backup Service to perform automatic backups of the STA database according to the defined settings. The Backup Service is disabled by default.

  1. Open a terminal session on the STA server, and log in as the Oracle user.
  2. To enable the service, all parameters must be defined. For parameters with default values, you can retain the defaults or define new values. See Configure the Backup Service Using staservadm for a list of parameters.

    Define the required parameters in one or more commands. For example:

    $ staservadm -s stabackup -d /dbbackup -u root -p -U stadba -P
    
  3. The utility runs the first full backup at the full backup time and incremental backups periodically after that. You to not need to stop and restart the STA services daemon.
  4. If the utility fails with:
    Error: java.util.prefs.BackingStoreException: Couldn't get file lock.
    

    See ISSUE: Backup Service or Resource Monitor Fails.