9.2.3.4 ahfctl deleteupdatebackup
Use the ahfctl deleteupdatebackup
command to delete
the backup directories used for AHF update.
Note:
- To delete the backup directories on all nodes in a cluster, you must run the
ahfctl deleteupdatebackup
command as the AHF install user on each cluster node. - You must not delete the backup directories randomly. Oracle recommends deleting the backup directories in the same order the updates were applied. If you delete the backup directories associated with a specific timestamp, then you will not be able to roll back to the state before the updates with that specific timestamp were applied.
- Upgrading AHF using the
ahf_setup
script automatically deletes the backup directories of the previous AHF versions. - Oracle recommended to delete the AHF update backup directories only when there's a need to free up space on the system. You cannot delete the AHF update backup directory of the current running timestamp/update because once the backup directory is deleted for the specific timestamp, rolling back the update to specific timestamp/update is not possible.
For example: AHF Updates applied in order is: 20230901 -> 20231001 -> 20231101 (Current latest update). You can delete update backups for 20230901 and 20231001 but not the 20231101.
Syntax
ahfctl deleteupdatebackup [-h] [-debug] [-updateid UPDATEID] [-silent]
Parameters
Table 9-13 ahfctl deleteupdatebackup Command Parameters
Parameter | Description |
---|---|
|
Specify the |
|
Deletes the backup directories with the specified timestamp. |
|
Skips user confirmation for delete backup directories. |
Example 9-18 ahfctl deletebackup
# ahfctl deleteupdatebackup -updateid 20220130
Deleted metadata backup directory for: /opt/oracle.ahf/data/work/.exachk_patch_directory/.20220130_metadata_bkp