Stefan's suggestion of using RMAN is an excellent method of accomplishing your objective within the Oracle World.
As an alternative, on Windows, I use "Robocopy" to manage archived redo log files. Robocopy (which you probably already have on your W2K system) also allows you to automate the process since you can schedule the process (unter the Windows Task Scheduler) and specify the minimum
age (in days) of the log files that you want "spun off" elsewhere or deleted.
Step 1: I create a Robocopy control file (simply a flat text file with Robocopy commands inside). For example:
Code:
ROBOCOPY "\\<source server name>\<drive>$\<fully qualified source path>" "\\<target server name>\<drive>$\<fully qualified target path>" *.arc /move /minage:1
So, the above specification directs Robocopy to take all of the files ending in file-type "*.arc" that are 1 day old, from the source location and
move those files to the target location. If you want to leave those moved archive files in the target location, you need say nothing more. If you want the files deleted, then you can add just add a Windows "erase" command to the file:
Code:
erase \\<target server name>\<drive>\<fully qualified target path>
Step 2: Implementation step is to schedule the execution of the Robocopy control file in the Windows Task Scheduler:
Code:
Start..Settings..Control Panel..Scheduled Tasks..Add Scheduled Task. Then, fill in details of the file from step 1, above.
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
[I can provide you with low-cost, remote Database Administration services: see our website and contact me via
www.dasages.com]