Operating System - HP-UX
1833863 Members
2068 Online
110063 Solutions
New Discussion

How do I increase the priority of a particular Restore job.

 
Unix systems
Occasional Contributor

How do I increase the priority of a particular Restore job.

Hi,

Using Netbackup 5.x
How do I increase the priority of a particular Restore job.

Here is the scenario. Many backup jobs are running on a particualr tape drive, and there are many other backup jobs queued, waiting for that same tape drive to become available. At this point, I want to run a Restore job using the same tape drive before it starts any of the queued backup jobs.
Can someone suggest a solution ?

Thanks in advance.
Jo
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: How do I increase the priority of a particular Restore job.

Nice? and/or renice?


Pete

Pete
inventsekar_1
Respected Contributor

Re: How do I increase the priority of a particular Restore job.

man nice:
=============================================================
Run a program named prog in the current directory at the default
priority_change of 10 (system nice value of 30):

nice ./prog prog_args

Run the same program in the background using a system nice value of 36
(priority_change=12 plus 4 for the Korn shell):

nice -12 ./prog prog_args &

=============================================================
Be Tomorrow, Today.
Unix systems
Occasional Contributor

Re: How do I increase the priority of a particular Restore job.

Hi,

Thanks for the quick reply. What I am trying to do is to execute a restore job before it executes other queued backup jobs using the same tape drive.
Restore program (bprestore)will be invoked from a client machine, which will contact the netbackup server to get the task done. So increasing the priority of a particular process in client machine cannot solve the problem. Increasing the priority of a process in netbackup server also won't work. I was actually looking for an option built into the Netbakcup software to get this done.

Thanks
Jo
Marvin Strong
Honored Contributor

Re: How do I increase the priority of a particular Restore job.

There is no way I know of built into netbackup to change priority of the backup job.

However you should be able to run bprestore manually from the unix commandline with nice as indicated above. That should work, however you are still limited by the speed of you tape drives.

Unix systems
Occasional Contributor

Re: How do I increase the priority of a particular Restore job.

Guys,

What I am trying to do is NOT just increasing the priority of a single process. A backup job's priority can be increased by increasing the Prioriry of the respecitve 'Profile' through the Netbackup Admin console. I am looking for a similar functionality for a Restore job.

Thanks
Jo
Marvin Strong
Honored Contributor

Re: How do I increase the priority of a particular Restore job.

Perhaps the Netbackup Administration manual has your answer, or maybe a quick call to Netbackup support.