Obsolete Database Backups
It is important to remove older backups once they become obsolete. The type of
backup and the recovery window that you define in the database backup policy
determines when obsolete database backups are deleted.
For level 0 and level 1 backups, run the command
odacli delete-backup
for a
given Database Resource Identifier to delete obsolete backups based on the defined
recovery window.
For Longterm backups, create a JSON input file and use the command
odacli
delete-backup
for a given Backup Report to delete the backups from Oracle Object
Storage.
Typically, older level 0 and level 1 database backups are considered obsolete and
deleted based on the defined recovery window, as follows:
•
Disk: 1-14 days
•
Object Storage: 1-31 days
Creating a Mount Point for NFS Backup Location
Create a mount point for the Network File System (NFS) location, to set up the NFS
backup and recovery option.
Follow these steps to create a mount point for the NFS location:
1.
Follow these steps on the source machine:
a.
Create a sharable location on the source machine and give full permissions to
this directory.
# mkdir /tmp/nfs_test
chmod 777 /tmp/nfs_test
b.
Add entries in the
/etc/exports
file in the format
shared_location
destination_IPs (permissions)
.
For example:
# cat /etc/exports
/tmp/nfs_test 192.0.2.1(rw,sync)
/tmp/nfs_test 192.0.2.2(rw,sync)
c.
Restart the NFS server on the host.
service nfs restart
d.
Check the export list for the entries.
# showmount -e
Export list for oda1:
/tmp/nfs_test 192.0.2.1,192.0.2.2
2.
Follow these steps on the client machine:
Chapter 11
Creating a Mount Point for NFS Backup Location
11-8
Содержание Database Appliance X6-2-HA
Страница 15: ...Index xv...