Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Sharepoint backup status code 2

Created: 20 May 2010 • Updated: 31 Jul 2010 | 3 comments
This issue has been solved. See solution.

Hi, I run NetBackup 7, master-media-clients. Trying to get the sharepoint backup running. I read and applied the 'NB for MS SharePoint admin guide' guidelines and recommanded configurations. The SharePoint is 2007 SP1, SQL 2005 and Windows 2003 R1, not using GRT. Upon running the job, I end up with status code 2. I investigated further and found out that the bpresolver log on the client gives me some information but I found nothing usefull over the net, so if someone has something to chip in, that would be appreciated. Otherwise I'll have to open a case with Symantec. Here the bpresolver log content:

15:41:39.204 [2364.1536] <2> logparams: C:\Program Files\Veritas\NetBackup\bin\bpresolver.exe query -v -c SDEVL00-DEV020 -pt 8 -S pellan 15:41:39.204 [2364.1536] <4> bpresolver_main(): INF - RESOLVER START 2364 15:41:39.204 [2364.1536] <4> process_filelist_rec: processing directive: 15:41:39.204 [2364.1536] <4> process_filelist_rec: formatted directive: 15:41:39.204 [2364.1536] <4> process_filelist_rec: processing directive: 15:41:39.204 [2364.1536] <4> process_filelist_rec: formatted directive: 15:41:39.204 [2364.1536] <4> bpresolver_main(): dbext_object_type = 210000 15:41:39.532 [2364.1536] <2> vnet_connect_to_vnetd_extra: ../../libvlibs/vnet_vnetd.c.188: msg: VNETD CONNECT FROM 10.100.78.133.29423 TO 10.100.78.133.13724 fd = 396 15:41:39.688 [2364.1536] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vnetd.c.2054: VN_REQUEST_SERVICE_SOCKET: 6 0x00000006 15:41:39.688 [2364.1536] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vnetd.c.2068: service: bpspsserver 15:41:39.704 [2364-1536] vnetdSendRequest Sending message 0xf333 15:41:41.032 [2180-1068] vnetdRecvMsg Received request 0xf333 15:41:41.048 [2364-1536] vnetdProcessMessage received a reply successfully for message 0xf333 15:41:41.079 [2364.1536] <2> DebugLog(): INF - v_sharepoint_v2::V_FindFirst() ENTER Name:Microsoft SharePoint Resources:\* Mode:0 15:41:41.079 [2364.1536] <2> DebugLog(): ERR - unable to initialize the required BEDS SPS interface 15:41:41.079 [2364.1536] <2> DebugLog(): INF - v_sharepoint_v2::V_FindFirst() EXIT Name: bRC:false LastError:0xFFFF84AF:0xa00084af (2684388527) 15:41:41.079 [2364.1536] <4> ubs_GetSPSv2Topology: directive could not properly be resolved 15:41:41.110 [2364.1536] <16> bpresolver_main(): bpresolver could not resolve the passed directive set. 15:41:41.110 [2364.1536] <4> bpresolver_main(): INF - EXIT STATUS 2

I also had a shot at the vxlogview for that particular job, nothing much there IMO:

20/05/10 14:08:26.162 [Info] V-117-32 Map jobtype to column=16, column name=SHAREPOINT_GRANULAR_RESOLVER: 20/05/10 14:08:26.162 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StartNotifyScript] m_JobStep=1, Jobid=2619 20/05/10 14:08:26.174 [Info] V-117-122 started backup job for client SDEVL00-DEV020, policy Sharepoint, schedule Full on storage unit pellan_ds 20/05/10 14:08:26.293 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StartNotifyScript] m_JobStep=1, Jobid=2619, returns=0 20/05/10 14:08:26.293 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StepByCondition] m_JobStep=2, Jobid=2619 20/05/10 14:08:26.293 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StepByCondition] m_JobStep=2, Jobid=2619, returns=0 20/05/10 14:08:26.293 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:ReadFileList] m_JobStep=4, Jobid=2619 20/05/10 14:08:26.293 [Info] V-117-150 readfilelist i=0, thelist=[Microsoft SharePoint Resources:\*] 20/05/10 14:08:26.294 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:ReadFileList] m_JobStep=4, Jobid=2619, returns=0 20/05/10 14:08:26.294 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:ResolverDiscovery] m_JobStep=5, Jobid=2619 20/05/10 14:08:34.194 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:ResolverDiscovery] m_JobStep=5, Jobid=2619, returns=2 20/05/10 14:08:34.195 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StopOnError] m_JobStep=-9, Jobid=2619 20/05/10 14:08:34.195 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:StopOnError] m_JobStep=7, Jobid=2619, returns=0 20/05/10 14:08:34.195 [Info] V-117-88 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:EndNotifyScript] m_JobStep=8, Jobid=2619 20/05/10 14:08:34.333 [Info] V-117-94 FSM JobTable[SHAREPOINT_GRANULAR_RESOLVER:EndNotifyScript] m_JobStep=8, Jobid=2619, returns=0 20/05/10 14:08:34.333 [Info] V-117-107 *********** Jobid 2619 status summary for SHAREPOINT_GRANULAR_RESOLVER: ********* 20/05/10 14:08:34.333 [Info] V-117-114 Step 1 StartNotifyScript status 0 jobstatus - 20/05/10 14:08:34.333 [Info] V-117-114 Step 2 StepByCondition status 0 jobstatus - 20/05/10 14:08:34.334 [Info] V-117-114 Step 3 StreamDiscovery status - jobstatus - 20/05/10 14:08:34.334 [Info] V-117-114 Step 4 ReadFileList status 0 jobstatus 0 20/05/10 14:08:34.334 [Info] V-117-114 Step 5 ResolverDiscovery status 2 jobstatus 2 20/05/10 14:08:34.334 [Info] V-117-114 Step 6 PEMPreprocessed status - jobstatus 2 20/05/10 14:08:34.334 [Info] V-117-114 Step 7 ValidateImage status - jobstatus 2 20/05/10 14:08:34.334 [Info] V-117-114 Step 8 EndNotifyScript status 0 jobstatus 2 20/05/10 14:08:34.334 [Info] V-117-114 Step -9 StopOnError status 0 jobstatus 2 20/05/10 14:08:34.334 [Info] V-117-111 ********** job status is 2 ********** 20/05/10 14:08:34.335 [Info] V-117-52 GenBackupJob Terminating status=2 20/05/10 14:08:34.335 [JobInstance::state] (100eff5f0) state=4(../JobInstance.cpp:315) 20/05/10 14:08:34.335 [JobInstance::state] (100eff5f0) state=4(../JobInstance.cpp:315) 20/05/10 14:08:34.336 [BackupJob::sendNotifications] (100eff5f0) disable resume=false, brm started=false(../BackupJob.cpp:2076) 20/05/10 14:08:34.336 V-117-239 [BackupJob::terminateThisJob] terminated job, jobid=2619, status=2 20/05/10 14:08:34.337 [BackupJob::~BackupJob] (dump Backup Job):

Thanks guys! David

Comments 3 CommentsJump to latest comment

davidbe's picture

Just so you know, I got my answer from Symantec support.  There is a lot of stuff you have to do or check that is not present in the SharePoint admin guide, so I'll share the check list I got from them:

1. NetBackup client version 7.0 installed on all servers in the SharePoint farm, even SQL backend.

2. The NetBackup cilent service is being started by a domain account

3. the domain account in step 2 has the following privileges and permissions:
    a. "Replace a process level token" and "Debug programs" (administrator tools - Local security policy - Local policies - User rights assignment) for all servers in the SharePoint farm, backend SQL included.

   b. Local administrator rights on all servers in the SharePoint farm.

  c. Withing SharePoint central administrator, the domain account is specified as a SharePoint administrator (Operations - Security configuration - update farm administrator's group)

   d. The system administrator role on the SQL server for SharePoint databases (in SQL - Security - roles - sysadmin - add the domain account)

4. .Net Framework 3.5 at minimum

5. Dont forget to make all the changes in the master server attributes and the client attributes as specified in the SharePoint admin guide.

6. In the policy, the client selection is a front end web server for the SharePoint portal.  The backup selection for your first policy should be: "Microsoft SharePoint Resources:\"

If you want to use GRT, you have to make that policy first and run a backup (its an object level backup just as Sharepoint might perform by himself) without the "Enable Granular Recovery" check box ticked.  Then you activate GRT and add 'AllWebs" to the backup selection.

Hope this could help others!

SOLUTION
Symontec's picture

Good solution. It worked for me.

If this post was helpful, please take a second to vote or mark as solution.