Home >Database >Mysql Tutorial >【备份与恢复】合并增量备份与映像副本

【备份与恢复】合并增量备份与映像副本

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:15:03857browse

0级增量备份相当于一个完整备份,这个完整备份会包含所有已用得数据文件块。RMANgt; backup incremental level 0 database;1级差

0级增量备份相当于一个完整备份,,这个完整备份会包含所有已用得数据文件块。
RMAN> backup incremental level 0 database;

1级差异备份是默认的增量备份,这个备份只包含最近一次1级累积备份或差异备份以来被更改的数据块。
RMAN> backup incremental level 1 differential database;

1级累积增量备份则只包含最近一次0级备份以来被更改的数据块。
RMAN> backup incremental level 1 cumulative database;

使用标记生成映像副本。
RMAN> backup as copy incremental level 0 database tag db_whole_copy;

随后,定期执行增量备份并将其应用与原始备份。语法如下:
run {
allocate channel d1 type disk;
backup incremental level 1
for recover of copy with tag db_whole_copy
database tag db_copy_upd;
recover copy of database with tag db_whole_copy;
delete backupset tag db_copy_upd;}

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn