on 09-19-2013 2:40 PM
Dear All,
We have BRtools archive log backup scheduled for every 4hrs on our Production system. We trigger the same using netbackup and files are backup to the tape and deleted from the disk immediately.
Our requirement is, even after the backup completion we have to retain the archive logs onto the disk for 3days and then delete?
Could you please adivise how this can be achieved ?
Many Thanks !!!
Regards,
Srikanth G
Hi
As suggested remove the delete flag from the back script,
The command below can be added into a script and added to crontab which will clear out files in the saparch directory older than 3 days
find /oracle/SID/saparch/SID* -mtime +3 -exec rm -rf {} +
Best Regards
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We trigger the same using netbackup and files are backup to the tape and deleted from the disk immediately.
Remove the delete option from the brbackup script. That means archived logs are not deleted after they are copied to the tape.
Put a crontab job to delete the archived logs older than 3 days.
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For your activity, I think you should create a conjob for your requirement.
using Brtools, you can have some more information using the following link.
http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/15/01df3a1fd91974e10000000a11402f/content.htm
Thanks and Regards,
Vimal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.