Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Avamar for Oracle 19.10 User Guide

PDF

Deleting backups

To delete backups, the Avamar user account must have the delete privilege. This user account is the account that corresponds to the --id value in the avtar flag file. When you run the delete command from an account that does not have the delete privilege, the avtar program issues a warning, not an error.

Prerequisites

NOTE:The --taskflag option is not supported when crosschecking backups.

The following procedure requires an avtar flag file. Creating an avtar flag file provides more information.

About this task

To add the delete privilege to the Avamar user account, use the avmgr command:

avmgr chgv --u=name --pv=delete

where name is the name of the user account.

NOTE:The delete command deletes expired backups from the Avamar server if the backups are marked as obsolete. Use the delete command only to manage RMAN backups. The use of the delete command to manage backups that are originally created by Avamar Administrator can cause unpredictable system behavior.

Steps

  1. Open a command shell.
  2. Log in to Oracle RMAN by using the Oracle user ID and password.
    The command prompt changes to an RMAN prompt.
  3. Connect to the Oracle database.
  4. Delete an expired backup by typing the following RMAN commands:

    run {
    allocate channel c1 type sbt
    PARMS="SBT_LIBRARY=/install-dir/lib/libobk_avamar.so";
    send '"--flagfile=/oracle/my-avtar-flags.txt"\
    "--bindir=/usr/local/avamar/bin"';
    delete expired backupset;
    }

    where install-dir is the base installation directory for the platform. For example, specify /usr/local/avamar on Linux, /opt/AVMRclnt on Solaris, C:\Progra~1\avs\bin on Windows, and so forth.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\