rman - Backup een database

rman - Backup een database

 

run {
allocate channel t1 type disk;
backup database plus archivelog format '/u01/ora_backup/rman/%d_%u_%s';
}
of
run { 
allocate channel t1 type disk;
backup current controlfile format '/u01/ora_backup/rman/%d_%u_%s';
backup database format '/u01/ora_backup/rman/%d_%u_%s';
backup archivelog all delete input format '/u01/ora_backup/rman/arch_%d_%u_%s';
release channel t1;
}

 

Alleen de archives

 

run {
allocate channel t1 type disk;
backup archivelog all delete input format '/u01/ora_backup/rman/arch_%d_%u_%s';
release channel t1;
}


Cold backup (archivelog of noarchivelog mode)

run { allocate channel t1 type disk; 
shutdown immediate;
startup mount;
backup database include current controlfile format '/u01/ora_backup/rman/%d_%u_%s';
alter database open;
}

 

 

Advertentie

>

Poll

Voorkeur
 

Wie is er aanwezig

We hebben 305 gasten online