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.
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
Open a command shell.
Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
Connect to the Oracle database.
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.
Data is not available for the Topic
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: <>()\