Support Tip: A Backup Site Server maintenance task may fail to run in ConfigMgr 2012

Support Tip: A Backup Site Server maintenance task may fail to run in ConfigMgr 2012

  • Comments 11
  • Likes

toolsign

In System Center 2012 Configuration Manager, the ‘Backup Site Server’ maintenance task may fail if the Backup Destination is set to a network share. An example is below:

image

When this happens, the following errors are logged:

SMSSQLBKUP.LOG

Error: Backup folder \\MachineName\1234 does not exist or backup service does not have permission to access the folder.

Or

SMSBKUP.LOG

Error: Backup folder \\MachineName\1234 does not exist or backup service does not have permission to access the folder.

If you look at the network share you see that the folder does exists and permissions are correct. So why does it fail? To know more, please download Procmon tool from here and capture a trace on both SQL and ConfigMgr site server with following filters while running the backup:

Process Name is ‘SMSSQLBkup.exe’
Process Name is ‘SMSBkup.exe’
Result is ‘BAD NETWORK NAME’

Screenshot:

image

Once you see the error(s) mentioned at the start of this post, please stop the trace and look at the result.

image

If you look closely enough at Path column the backup task triggers a CreateFile operation on \\MachineName\123 which doesn’t exist. The correct path is \\MachineName\1234 . It drops the last character ‘4’ and as a result the backup task fails to complete successfully.

At the moment you can choose to use any of the following three workarounds to get the backup task to work.

1. Create a sub-folder under existing folder and configure the backup task accordingly. For example:

\\MachineName\1234\456

2. Save the files on local drive.

3. Create and use a network share on SQL Server instead.

NOTE This issue is schedule to be addressed in Service Pack 1

Additional information on Backup Site Server task can be found here.

Other links of interest:

The System Center 2012 Configuration Manager Survival Guide (en-US): http://social.technet.microsoft.com/wiki/contents/articles/7075.system-center-2012-configuration-manager-survival-guide-en-us.aspx

System Center 2012 Configuration Manager SDK: http://msdn.microsoft.com/library/hh948960.aspx

Karan Rustagi

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

App-V Team blog: http://blogs.technet.com/appv/
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

The Forefront Server Protection blog: http://blogs.technet.com/b/fss/
The Forefront Endpoint Security blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • <p>Why would adding a sub folder fix the dropping of the last character? &nbsp;Is there a bug where it only checks the first 3 letters?</p>

  • <p>SQL server running on another server. Had the same error but creating the sub-folder didn&#39;t work. Procmon was showing access denied for System account to UNC share for smssqlbkup.exe process. Fixed by granting change share permission to System account for UNC share.</p> <p>Also, before I was getting SMS Writer does not exist. vssadmin list writers didn&#39;t show it. &nbsp;Fixed by grating sql sysamin role to System login. Hope this helps someone!</p>

  • <p>Even with SP1 this is still an issue. after creating the subfolder in the share, sitebackup worked. </p> <p>Ofcause i had to let the sql and site server/users have write access.</p>

  • <p>If the shares called XYZ and ConfigMgr truncates to XY, then just call the share XY as another work-around.</p>

  • <p>I want to kick that person who is responsible for that one. It is SCCM 2012 R2 and that issue is still in place.</p>

  • I have this issue ...and now solved :) thank you people

  • This is still true within SCCM 2012 R2. Creating a subfolder fixed the issue. It's still removing the last character of the share (\\server\share looks like \\server\shar in procmon)

  • Two years later and an R revision and this isn't fixed? Seriously?

  • Are there any benefits to running the built in maintenance task in ConfigMgr 2012 vs using the SQL backup which gives you compression? Are any extra files backed up with the built in task?

  • This has got to be the silliest thing I have ever seen. Create a share on dpm F:\sccm\m then in site maintenance in sccm \\dpm\sccm\m -.- Anyway...on to the next sccm "fix" \\THANKS!\!