Home > database >  Strives for the script, Oracle archive logs automatically shear beyond the server computer.
Strives for the script, Oracle archive logs automatically shear beyond the server computer.

Time:10-08

Question:
Oracle archive log server space, using the script will server F: \ in Archivelog the system date the day before the archive logs to LAN Shared folder (assuming the computer IP address: 192.168.1.110, Shared folder directory: Oracle \ \ "Backup" Archivelog)

System is the current date 06/24/2020, that is, move 06/23/2020 file,

Thinking:
1. To establish a processing script bat
2. Using the system task planning process, the daily running script bat

Progress:
Replication has been achieved, but to judge how to write the date? Also please net friend taught me, thank you,
 F: 
CD: F \ Archivelog
MOVE/Y F: \ Archivelog \ *. * F: \ Archivelog
Xcopy F: \ \ \ Archivelog \ *. * 192.168.1.110 \ Oracle \ \ "Backup" Archivelog \/y/s

CodePudding user response:

Rman backup how good,

CodePudding user response:

Server generally does not stop, Shared computer 192.168.1.110 downtime, sometimes worry about outage archive log is missing,
  • Related