cancel
Showing results for 
Search instead for 
Did you mean: 

How to check next run time for any job/policy

Rafiq
Level 3
Hi,

I want to see next time when my job runs ?
Where can i see ?

Thanks
14 REPLIES 14

Rafiq
Level 3

Hi ,

Is their any way i can automate my backup and restore.
means i have 2 servers.

DB1 - production server (Netbackup client)
DB2 - Backup server      (Netbackup server /Media server)

I want to take backup from DB1 and restore to DB2.
i want this procedure automation, like logshipping.

Please any body can help me solve?
 
Thanks
Rafiq







Rafiq
Level 3

Hi,

I want to know next time when my job runs ?
Where can i see ?
lets say today my job run at 10AM and it going run on next tomarrow 10AM(according to schedule)

So where can i see my next job run time.
 

Thanks
Rafiq

dami
Level 5

This is close to but not quite I think what you need

usage:  nbpemreq operation [options...]

        Available operations:
      -due -date <mm/dd/yyyy HH:MM:SS> [-unixtime] [-client_filter <client>...] [-policy_filter <policy>...]


I am not sure if one of the other options of this command could get the output you want (ie accept policy name as input and output be the dates it expects to run).

dami
Level 5
You would have to use the bprestore command in a scheduled script to facilitate automatic restores:

USAGE: bprestore [-A | -B] [-K] [-l | -H | -y] [-r] [-T]
      [-L progress_log [-en]] [-R rename_file] [-C client]
      [-D client] [-S master_server] [-t policy_type]
      [-p policy] [-k "keyword phrase"] [-cm] [-drs] [-md] [-dd]
      [-td temp_dir] [-F file_options] [-copy copy_number]
      [-s mm/dd/yyyy  [HH:MM:SS]] [-e mm/dd/yyyy  [HH:MM:SS]]
      [-w [hh:mm:ss]] -f listfile | filenames
      [-BR sharepoint_redirected_portal | sharepoint_redirected_teamsite]
      [-spsredir_server sharepoint_redirected_hostname]
      [-granular_restore] [-priority number]

Not easy but could be done I'm sure.

Andy_Welburn
Level 6
nbpemreq
"...
The nbpemreq command enables a user to determine which  jobs are  due  in  the  near future.
..."
Usage:

nbpemreq -predict -date <mm/dd/yyyy HH:MM:SS> [-client_filter clientlist] [-policy_filter policylist]
nbpemreq -predict_all -date <mm/dd/yyyy HH:MM:SS> [-client_filter clientlist] [-policy_filter policylist]
nbpemreq -predict -dateu <unixtime> [-client_filter clientlist] [-policy_filter policylist]
nbpemreq -predict_all -dateu <unixtime> [-client_filter clientlist] [-policy_filter policylist]
nbpemreq -due [-unixtime] [-client_filter clientlist] [-policy_filter policylist]

Rafiq
Level 3

Hi,

Can we change backup image file name ?
Like
database name : master
date                    : 04/01/2009

I want to get my backup file name : master_04012009

Is it possible ?
Please let me know steps 

Rafiq
Level 3

Hi,

Can we change backup image file name ?
Like
database name : master
date                    : 04/01/2009

I want to get my backup file name : master_04012009

Is it possible ?
Please let me know steps 

Rafiq
Level 3
Hi,

For any MS-SQL Server type backup policy, by default NetBackup creates ‘Application Backup’. What’s the importance of this policy? How can we get rid of this or is this the way NetBackup works?

Nathan_Kippen
Level 6
Certified
I know you probably don't want to hear this, but have you though about reading the manual?  Most of your questions can be answered there.

-No, you can't choose your backup image name. 

dami
Level 5
Rafiq, you should really be opening these queries as new posts on the forum to avoid confusion and to help others looking for information to find it.

As far as I know, there is no way at all to change the backup image file name, it is internally set by netbackup and there are no configuration options.

As for the MSSQL backups, all database backups in NetBackup which use add on agents have this "Application Backup" type schedule by default. It is usually set to be 24x7 allowing these backups to be run any time. The actual backups are then kicked off by normal (full, incr etc) type schedules or via command line or third party application (eg RMAN) on the client. Application Backups are simply the window of oportunity for these backups and do not define any backup start times.

Cheers

dami
Level 5

Nathan has a good point, reading the manual is a great starting point for NetBackup and any other software! Forums are here to help with stuff which is not in the manuals.

dami
Level 5

Taqadus_Rehman
Level 6
following artical will help you out.

 http://seer.entsupport.symantec.com/docs/278938.htm

Shashank
Level 4
nbpemreq -predict -date <mm/dd/yyyy HH:MM:SS>