常见备份方式
    1.热备
    2.rman备份
    示例热备及恢复
    3.查看systaux空间内容
    1.热备

    1. SQL> alter tablespace sysaux begin backup;
    2. Tablespace altered.
    3. [oracle@instance-ej1hspdt ~]$ cp /opt/oracle/oradata/ORCLCDB/sysaux01.dbf /backup/
    4. SQL> alter tablespace sysaux end backup;
    5. Tablespace altered.
    6. ---------------------------------------------------------------------------------------
    7. 恢复示例
    8. rm /opt/oracle/oradata/ORCLCDB/sysaux01.dbf
    9. SQL> shutdown abort;
    10. ORACLE instance shut down.
    11. [oracle@instance-ej1hspdt ORCLCDB]$ cp /backup/sysaux01.dbf /opt/oracle/oradata/ORCLCDB/
    12. SQL> startup mount;
    13. SQL> recover tablespace sysaux ;
    14. Media recovery complete.
    15. SQL> alter database open ;
    16. Database altered.

    2.rman 备份恢复

    1. RMAN> backup tablespace sysaux;
    2. Starting backup at 31-JUL-19
    3. using target database control file instead of recovery catalog
    4. allocated channel: ORA_DISK_1
    5. channel ORA_DISK_1: SID=262 device type=DISK
    6. channel ORA_DISK_1: starting datafile copy
    7. input datafile file number=00003 name=/opt/oracle/oradata/ORCLCDB/sysaux01.dbf
    8. output file name=/opt/oracle/fast_recovery_area/ORCLCDB/datafile/o1_mf_sysaux_gn1yx2kx_.dbf tag=TAG20190731T102330 RECID=27 STAMP=1015
    9. 064657
    10. channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:55
    11. Finished backup at 31-JUL-19
    12. Starting Control File and SPFILE Autobackup at 31-JUL-19
    13. piece handle=/opt/oracle/fast_recovery_area/ORCLCDB/autobackup/2019_07_31/o1_mf_s_1015064665_gn1yyt1m_.bkp comment=NONE
    14. Finished Control File and SPFILE Autobackup at 31-JUL-19
    15. [oracle@instance-ej1hspdt ORCLCDB]$ rm /opt/oracle/oradata/ORCLCDB/sysaux01.dbf
    16. RMAN> restore tablespace sysaux;
    17. RMAN> recover tablespace sysaux;
    18. RMAN> alter database open ;

    3.查看systaux空间内容

    1. Enterprise Manager Repository