Do any one has any idea or script to remove the archive files automatically in WinNT. I am taking backup everynight of all the archive files next morning I need to remove them manully??? If you have any tip to automate this process please do share with me.Here is the other information:
Write a bat program to delete the one day old programs and schedule it with AT command
05-17-2001, 01:12 PM
ORACLE Keeps files generated by current transaction at the same location.How I can distinguish or just delete the files generated yesterday.Is there a way I can pass the date to look and delete the files???
05-17-2001, 01:16 PM
I dont have no any idea and no script to remove the archive files automatically in WinNT. But i suggest , you supose to kepp the last 15 days archive log . You neve know where (archive log date) you want recove your database.
05-17-2001, 01:20 PM
Thanks for the suggetion...
05-17-2001, 01:44 PM
It is a good practice to specify a saparate Directory for ARCHIVE files.That can be done in INIT.ORA
And then it is easy to list all the files and delete the files. It is suggested to have 15 days ARCHIVE files. So you can take a backup before deleting them.
05-17-2001, 03:53 PM
What kind of backup program are you running?
I'm using Veritas Backup Exec and there is an option to run a file grooming job. It allows you to back up and delete files which are n-days old.
If you are interested, please let me know.
05-24-2001, 11:39 AM
I'ld really like to know how to access the option to run a file grooming job and back up and delete files which are n-days old in Veritas Backup Exec.
I looked all through the options and couldn't find it.
05-24-2001, 11:57 AM
Backup Exec ver. 8.5
1. Open Backup Exec console
2. Select "Job Definitions" tab
3. Right click to select "New" job definition
4. Third option is "File Grooming Job".
5. Select files to be groomed, all the necessary paremeters, etc.