RMAN> run
2> {
3> allocate channel c1 device type disk format "/u01/backup/%U";
4> backup as backupset database;
5> }
released channel: ORA_DISK_1
allocated channel: c1
channel c1: SID=41 device type=DISK
Starting backup at 25-NOV-20
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number=00003 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_9qwm8fym_.dbf
input datafile file number=00001 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_9qwmbsr6_.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_9qwmf6kp_.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_example_9qwmmkbr_.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_htct3xg4_.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_users_9qwmf54t_.dbf
channel c1: starting piece 1 at 25-NOV-20
channel c1: finished piece 1 at 25-NOV-20
piece handle=/u01/backup/1evge66h_1_1 tag=TAG20201125T182833 comment=NONE
channel c1: backup set complete, elapsed time: 00:00:55
Finished backup at 25-NOV-20
Starting Control File and SPFILE Autobackup at 25-NOV-20
piece handle=/u01/app/oracle/fast_recovery_area/ORCL/autobackup/2020_11_25/o1_mf_s_1057429768_hvxt6s15_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 25-NOV-20
released channel: c1
RMAN> host;
[oracle@localhost ~]$ cd /u01
[oracle@localhost u01]$ cd backup/
[oracle@localhost backup]$ ls -ltr
total 2094328
-rw-r--r--. 1 oracle oinstall 879 Nov 13 21:05 hr.log
-rw-r--r--. 1 oracle oinstall 40960 Nov 13 21:05 hr.dmp
-rw-r--r--. 1 oracle oinstall 0 Nov 25 18:12 controlfile.bck
-rw-r-----. 1 oracle dba 2144542720 Nov 25 18:29 1evge66h_1_1
[oracle@localhost backup]$ date
No hay comentarios:
Publicar un comentario