using crontab to do 15-minute backups
i already have a backup policy for SQL Server transaction logs that runs every hour. DBA requires every 15-minutes which the management console cannot provide.
can i, instead, trigger the existing backup policy using crontab? if yes,
- what is the NBU command to do that?
- where is the location of the backup policy?
so basically the plan is i'll have shell script with all the NBU commands to initiate the existing backup policy and the cronjob will be set to run every 15 minutes.
What version of NetBackup are you using? If it is less than NBU 7.7 can you upgrade to benefit from SQL Intelligent backup policies? If yes then you will have the ability to 15 minute backups for your t-logs.
Transaction-Log backup type has the following frequency options:
- minutes
- hours
- days
- weeks
Be careful to ensure that each backup cycle has time to complete before the next starts.
This link will provide further information on SQL IP - http://www.veritas.com/docs/000078811
This will remove the need for a cronjob and keep everything in NBU.
Cheers,
J