10-27-2010 12:50 AM
I have a backup job, it must be called by application, because no backup is allowed during server's application running.
We use ARCserve to perform backup before, after the application shutdown, the application call a scritp to perform the backup job.
now we change to NBU 7.0, I add a new policy and create 3 three schedule, full backup on weekend, increment backup from Monday to Thrusday, and user backup when needed, then on the client side, edited the script to call bpbackup.exe, I add two script, one for fullbackup, the other for increment.
I just wonder, if there is priority exist, when the time for both full backup and user backup comes, which type of backup will perform or both of the 2 types of them will perform?
10-27-2010 01:21 AM
Off course as you said ""I add a new policy and create 3 three schedule""
if you define a schedule for user you will definitely configure a Time Window for it and when you define the auto backup via NBU Server you will definitely define a Time Window for that as well. So you select different time for both backup in the Time Window
10-27-2010 01:36 AM
As both jobs are of same policy, Job priority attribute will not make any difference.
Generally a backup job with lower frequency schedule will have the higher priority.
10-27-2010 06:04 PM
Dear all,
Thanks for your reply, please see the picture below.
We need user backup because the time for shutdown application is not always the same.
My question is if the time on Sunday 2:00 am, the application called user backup, at this time which backup will execute? full or user?
10-27-2010 07:02 PM
Planning user backup and archive schedules, Page # 158 of Netbackup Administrator Guide Vol1 for windows
Guide Link
http://www.symantec.com/business/support/index?page=content&id=TECH52803
Guide Extracts
10-27-2010 11:21 PM
thanks Zahid, through active monitor, I can see my User backup(use batch file) started at 6:10 am this morning, backup type is IncrementBackup. and my increamentbackup did not start at 6:00 pm last night, why?
My batch file has only one line:
C:\Progra~1\VERITAS\Netbackup\bin\bpbackup.exe -p mypolicy -i -s IncrementBackup -L C:\BacupLog.txt
10-28-2010 08:31 AM
Any error on Activity Monitor for your last night incremental backup ? was any backup running at that time ?
10-28-2010 05:22 PM
Backup successful, please check the following logs:
Backup started 10/29/2010 05:38:26
Progress logs may exist on individual clients
05:38:31 INF - Starting bpbrm
05:38:36 INF - START C:\Program Files\VERITAS\NetBackup\bin\bpstart_notify.BAT
05:38:36 INF - END C:\Program Files\VERITAS\NetBackup\bin\bpstart_notify.BAT
05:38:36 INF - BACKUP START
05:38:39 INF - Waiting for mount of media id XVTL31 on server bstsbackup2 for writing
05:38:45 INF - Mounted media id XVTL31
05:38:46 INF - Beginning backup on server bstsbackup2 of client bspjdb
05:40:46 INF - Enabling volume snapshots for (C:), please wait...
05:45:58 INF - Volume snapshots not enabled
05:45:58 INF - Excluded volume snapshot file: C:\pagefile.sys
05:46:01 WRN - can't open file: C:\TEMP\TCL74CD.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:01 WRN - can't open file: C:\TEMP\TCL74DE.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:01 WRN - can't open file: C:\TEMP\TCL74DF.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:01 WRN - can't open file: C:\TEMP\TCL750F.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:01 WRN - can't open file: C:\TEMP\TCL7512.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:01 WRN - can't open file: C:\TEMP\TCL7515.tmp (WIN32 32: The process cannot access the file because it is being used by another process. )
05:46:11 INF - Enabling volume snapshots for (D:), please wait...
05:46:27 INF - Volume snapshots enabled
05:46:53 INF - Excluded volume snapshot file: D:\pagefile.sys
05:46:53 INF - Enabling volume snapshots for (E:), please wait...
05:51:19 INF - Volume snapshots enabled
05:59:38 INF - Excluded volume snapshot file: E:\pagefile.sys
05:59:39 INF - Enabling volume snapshots for (G:), please wait...
06:00:00 INF - Volume snapshots enabled
07:01:38 INF - Excluded volume snapshot file: G:\pagefile.sys
07:01:38 INF - Enabling volume snapshots for (H:), please wait...
07:06:52 INF - Volume snapshots not enabled
07:07:32 INF - Enabling volume snapshots for (I:), please wait...
07:12:43 INF - Volume snapshots not enabled
07:13:23 INF - Total Size:111607844 + 92GB
07:13:23 INF - Client completed sending data for backup
07:13:29 INF - Server status = 1
07:13:31 INF - Status = the requested operation was partially successful.
07:15:28 INF - START C:\Program Files\VERITAS\NetBackup\bin\bpend_notify.BAT
07:15:28 INF - END C:\Program Files\VERITAS\NetBackup\bin\bpend_notify.BAT
10-28-2010 09:52 PM
Backup successful, please check the following logs: ???? What are you saying ??
U asked me """" my increamentbackup did not start at 6:00 pm last night, why?
I am confused what are you trying to ask. Sorry would you please elaborate me what you are trying to ask
10-28-2010 11:36 PM
the job started at 5:38 am this morning, accroding to our application's log, at that time my application stopped and then called the script to start backup.
I also scheduled increment backup at 6:00 pm from Moday to Thursday(as I have mentioned before I scheduled 3 type backups), this type of backup didn't start, so I ask "My incremetbackup did not start at 6:00 pm last night"
10-29-2010 02:37 AM
I think startworld you try to see the logs for your last night job failed(for example go to all log entries) . as far as the policy making is concern you kindly follow the recommanded solution of Netbackup. which says you do make a different policy for user backup
If you want to keep working your own way so i have a recommandation. When your user trigger the backup first he make sure that either any backup must not be running. If it do thn the user backup job will be in queue till the time window close.
10-29-2010 10:01 AM
I would like to verify just what your policy is set up as. Can you supply the output from the following command:
<installdir>/openv/netbackup/bin/admincmd/bppllist <policyname> -U
(besure to x out your client server name when posting)
11-02-2010 07:31 PM
C:\Program Files\Veritas\NetBackup\bin\admincmd>bppllist MyPolicy -U
------------------------------------------------------------
Policy Name: MyPolicy
Policy Type: MS-Windows
Active: no
Effective date: 08/13/2010 14:51:58
Backup network drvs: no
Collect TIR info: no
Mult. Data Streams: no
Client Encrypt: no
Checkpoint: no
Policy Priority: 0
Max Jobs/Policy: Unlimited
Disaster Recovery: 0
Collect BMR info: no
Residence: VTL-NT
Volume Pool: NetBackup
Server Group: *ANY*
Keyword: (none specified)
Data Classification: -
Residence is Storage Lifecycle Policy: no
Granular Restore Info: no
Ignore Client Direct: no
HW/OS/Client: Windows-x86 Windows2003 ServerA
Windows-x86 Windows2003 ServerB
Windows-x86 Windows2003 ServerC
Include: C:\
D:\
E:\
G:\
H:\
I:\
Schedule: Full
Type: Full Backup
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Retention Level: 1 (2 weeks)
Number Copies: 1
Fail on Error: 0
Residence: (specific storage unit not required)
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Calendar sched: Enabled
SPECIFIC DATE 0 - 09/30/2010
SPECIFIC DATE 1 - 10/09/2010
Friday, Week 1
Friday, Week 2
Friday, Week 3
Friday, Week 4
Friday, Week 5
EXCLUDE DATE 0 - 10/01/2010
EXCLUDE DATE 1 - 10/08/2010
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Friday 22:00:00 --> Monday 22:00:00
Schedule: IncrementBackup
Type: Differential Incremental Backup
Frequency: every 7 days
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Retention Level: 1 (2 weeks)
Number Copies: 1
Fail on Error: 0
Residence: (specific storage unit not required)
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Monday 18:00:00 --> Monday 23:50:00
Tuesday 18:00:00 --> Tuesday 23:50:00
Wednesday 18:00:00 --> Wednesday 23:50:00
Thursday 18:00:00 --> Thursday 23:50:00
Schedule: User
Type: User Backup
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Retention Level: 1 (2 weeks)
Number Copies: 1
Fail on Error: 0
Residence: (specific storage unit not required)
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Sunday 00:00:00 --> Saturday 23:59:59