常用脚本: -----1. 0级备份 批处理文件: set Oracle_SID=orcl rman target sys/test@orcl cmdfile=
常用脚本:
-----1. 0级备份
批处理文件:
set oracle_sid=orcl
rman target sys/test@orcl cmdfile= 's:/backup/scripts/0/db_fullbakup_orcl.rman' log='s:/backup/log/rman_backup_%date:~0,4%%date:~5,2%%date:~8,2%.log'
rman脚本:
run {
configure retention policy to recovery window of 14 days;
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to 'S:\backup\controlfile\bak_%F';
allocate channel c1 device type disk format 'S:\backup\data\bak_%u';
allocate channel c2 device type disk format 'S:\backup\data\bak_%u';
backup incremental level=0 database skip inaccessible
plus archivelog filesperset 20
delete all input;
release channel c1;
release channel c2;
}
allocate channel for maintenance device type disk;
crosscheck backupset;
delete noprompt obsolete;
-----2. 1级备份
批处理文件:
set ORACLE_SID=orcl
rman target sys/test@orcl cmdfile='S:/backup/scripts/1/db_fullbakup_orcl.rman' LOG='S:/backup/log/rman_backup_%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%.log'
rman脚本:
run {
configure retention policy to recovery window of 14 days;
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to 'S:\backup\controlfile\bak_%F';
allocate channel c1 device type disk format 'S:\backup\data\bak_%u';
allocate channel c2 device type disk format 'S:\backup\data\bak_%u';
backup incremental level=1 cumulative database skip inaccessible
plus archivelog filesperset 20
delete all input;
release channel c1;
release channel c2;
}
allocate channel for maintenance device type disk;
crosscheck backupset;
delete noprompt obsolete;
YDUI Touch专为移动端打造,在技术实现、交互设计上兼容主流移动设备,保证代码轻、性能高;使用 Flexbox 技术,灵活自如地对齐、收缩、扩展元素,轻松搞定移动页面布局;用 rem 实现强大的屏幕适配布局,等比例适配所有屏幕;自定义Javascript组件、Less文件、Less变量,定制一份属于自己的YDUI。
81

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号