Quantcast
Channel: Data Protection Manager - SQL Protection forum
Viewing all 204 articles
Browse latest View live

Truncate SQL logs ater DPM backup

$
0
0

Hi all,

We have SQL 2014 AlwaysOn availability group in which we have multiple databases. The SQL AG is healthy, at least this is what I can see from the SQL management studio.

We have as well DPM 2012 R2 box with latest updates that is protecting workloads including SQL databases in the alwayson AG.

The issue we have is that even the protection group is configured to synchronize every 15 minutes (incremental backup), the SQL logs are not getting truncated at logs are heavily increasing.

What can we do to solve this issue?

Note: the sql recovery model configured on databases is Full.


OK to change the IP Address, Subnet Mask, and Gateway of DPM 2012 Server?

$
0
0
We have a DPM 2012 server at a remote office, it backs up 100's of clients and several servers. We need to shut it down and relocate it (whole new subnet). The name and FQDN stay the same. The question I have is can we change the IP Address, Subnet Mask, and Gateway of the DPM 2012 server after it is in its new home and avoid having to back up everything all over again (and avoid having to re-attach the DPM clients with the DPM server)? Depending on which site you read you get different answers. My hope is that once it is back on-line clients will connect with it again and resume backups.

HDL

DPM 2012 R2 is scheduling a synchronization at the same time as an express full causing the express full to fail due to ongoing synchronization

$
0
0

This is a brand new install of DPM 2012 R2 with UR10. I have a Protection Group for SQL databases with 15 min sync intervals and express full's every 4 hours. There is one database in this PG for which DPM is scheduling a synchronization AND an express full at the same time. Because of this the express full's are failing with "Job failed on replica of SQL1\Database1 on SQL1.domain.com because of ongoing synchronization. (ID 95)".

DPM doesn't do this for any of the other DB's in this PG, I can verify by looking at the completed and scheduled jobs in the DPM console. I've used DPM for a while now and have never seen this behavior.

Removing the database from the PG and readding it does not solve the issue. any help would be appreciated. 

Thank you.

SQL Agent Does not Show any Databases Available for Backup

$
0
0

I have a 3 instance SQL 2008 SP1 server (2 named and default) called SQL1 which hosts many databases.  It is running on Windows 2008 R2.  From my DPM server (DPM1, also running on Windows 2008 R2) I can install the DPM agent on SQL1 with no issues. I have an existing protection group called SQL and it has only the databases hosted locally on the DPM server.  When I try to add databases from SQL1 to the protection group, I expand the "+" beside the server and there is no "All SQL Servers" option. Only All Shares, All Volumes, and System Protection.  Please share any thoughts as to why SQL1 does not show any databases from the DPM console.

 

Thanks in adavance,

Steve

DPM 2010 - SQL Log files not truncating

$
0
0

Hi,

I am using DPM 2010 that is protecting SQL 2008 and 2005 servers. DPM does not truncate the log files of my databases. This causes the log files to grow until all the disk space on my servers are used.

All my databases are in 'Full Recovery' model. The DPM backup job runs syncronizations ever 4 hours and a express full backup at 8:00pm daily.

I have read many other posts state that the 'Syncronization' option in the protection group indicates 'Incremental' backups, and this is what will cause SQL log files to truncate. Does not work on any of my databases.

What can I do to get this to work?

 

DPM backup of VM breaks SQL backup chain/timeline

$
0
0
DPM 2012R2.
Hyper-V failover cluster with CSV on Windows Server 2012R2.
Guest is also Windows Server 2012R2 with SQL Server 2014.
All latest updates, update rollups, cumulative updates and some recommended hotfixes.

Story: Each installation of SQL in VM guests have its own maintenance plan with Full, Diff and Log database backups to network share. Now I'm adding protection to VMs with help of DPM.

What happens: each time when DPM backups VMs it uses VSS which hits SQL VSS Writer, which in its own turn performs backup in SQL.

Whats bad: This VSS backup is Full backup of database with all consequences.
So now own SQL backups cannot be used because there is no way to restore SQL database from VMs VHDx in IN RECOVERY state to apply diff or log backups. There is a way only to restore mdf/ndf/ldf files and attach them or the whole VM.

As stated in SQL VSS Writer documentation, it doesn't support log backups so there is no point-in-time recovery which is unacceptable for production databases. ( https://msdn.microsoft.com/en-us/library/ms175536.aspx )

The only way I see is to make this backup copy-only.
SQL VSS writer supports it.
VSS itself supports this paramener VSS_BACKUP_TYPE to VSS_BT_COPY

But I don't see the way to tell DPM to do that.

What I tried so far:
Inside VMs guest OS
1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLWriter\Settings\
DWORD DisableLogShrink 1
Only disables Log Shrink during SQL VSS backup, but it is still a Full backup.

2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtualization\VssRequestor
DWORD BackupType 1
KB975354
If this registry entry is created and its value is set to 1, application backup will not be affected by the virtual machine backup operation on the server that is running Hyper-V.
No effect.

On Host Server (all nodes in cluster with reboot)
3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\HonorFilesNotToBackup
Plus HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
MULTI_SZ string with path to VHDX containing SQL databases.
No effect.

4. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\2.0
DWORD CopyBackupEnabled 1
( https://blogs.technet.microsoft.com/dpm/2015/05/20/an-in-depth-look-at-the-registry-settings-that-control-microsoft-dpm-2012/ )
No effect.

On DPM Server
5. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\2.0\CopyBackups
DWORD Name of VM in DPM.
Maybe this is it and I just don't know how to correctly write VMs name that DPM will accept.
Not it is in formant VMNAME.CLUSTERNAME.DOMAIN.COM
No effect.

Seems like my google-bing-whatever-fu is ending here.

It leaves me with few questions.
- How do I have to protect VMs with SQL with saving the ability of point-in-time recovery of SQL databases inside them using DPM?
- How do all other people protect their VMs with SQL using DPM? Using 15 minutes sync interval for the whole VM? It's a lot of space/load/traffic etc. in case of tens-hundreds of VMs

And the MAIN question: Have anyone been able to achieve that DPM doesn't affect SQL backups inside Hyper-V VMs in the same setup?

Self Service Initial Configuration

$
0
0

Hello nice people,

I have been dealing with out this issue for some time now, and I am not seeing any light at the end of the tunnel or even seeing the tunnel.

So self-service configuration as follows:

  1.       Start Self Service recovery wizard.
  2.       Click create role and click next.
  3.       Name it and give it a description.
  4.       Add security groups and then click next
  5.       Click add, and then things just fall apart from here, because no matter what I put itis just liking it.

I have a Fail-Over SQL cluster with the default instance. So I put ServerName\MSSQLSERVER and then leave database name blank, and then click next then I get this error message:

The specified SQL instance (Whatever) is either invlaid or cannot be found. (ID: 32608)

Here’s other cobinations that I’ve tried

ServerName.DomainName.com\MSSQLSERVER

ServerName.DomainName.com\MSSQLSERVER\ServerName

I also tried adding a database name just to make it specific but that didn’t help either.

Please help me :(

DPM 2016 - Protection of SQL 2014 CSV?

$
0
0
Hi, 

Now that we have DPM 2016 is available can someone confirm if Date Protection Manager 2016 does support CSV SQL 2014 data? This was one feature I was eagerly awaiting.



Short term goal setting - Synch Frequency Missing?

$
0
0

When adding a new PG, why do some short term goal setups have Synch Frequency Every option and some do not? In my case it seems like our primary SQL clusters are missing this option and only have the express full backup option?  The SQL cluster databases are set to simple recovery mode.

Thanks in advance.




DPM Supports SQL 2014 alwaysON

$
0
0

Is DPM 2016(System Center 2016) supports sql 2014 alwaysON?


Harsha

DPM 2016 and SQL 2016 AlwaysOn

$
0
0
is this even supported? It workes without a problem on DPM 2012 R2, but on 2016 it does not find databases under the Availability Group. to make it worse I cannot backup databases from the SQL server directly which is a part of the cluster, because the error is telling me I should backup it up via AAG...

Performance of SQL Server recovery point jobs with DPM 2016 and modern storage?

$
0
0

I have been reading promising things about the new "modern storage" in DPM 2016.

Can I expect better performance for large SQL recovery point jobs if I switch from DPM 2012 R2?

I would do a complete reinstall of DPM in a new Windows Server 2016 OS.

I would leave the SQL Server as 2014 sp1 or maybe sp2. And I would prefer to leave the SQL Server running on Windows Server 2012 R2.

Today it can take several hours to run large recovery point jobs - sometimes not finishing before the next days jobs were scheduled to start. Depending on how much load the applications using the databases also puts on the server.

The server houses about 12 SQL Server instances each with one large database (0.5 - 3.0 TB each). All databases use simple recovery model. The databases are divided into two protection groups both with the same goals: 1 daily recovery point using Express Full Backup.

When the SQL Server is under high load and it has to perform recovery point jobs, which need to move a lot of data, it tends to get volsnap error 25 in the server event log. Typically after recovery point jobs have been running for a long time. All running jobs fail when volsnap error 25 occurs.

I have seen shadowstorage in use (vssadmin list shadowstorage) up to about 500 GB during such long jobs.

It seems to me that VSS on the SQL Server simply might be overloaded and I guess that I am hoping that another technology is used in DPM 2016. It looks like it is for HyperV, but I am not sure for SQL Server. Hence this question.

DPM 2012 backup of SQL Server VMs

$
0
0

I've been unable to find anything on this and would like to know what the best practice DPM configuration is for using DPM to backup Virtual machines running SQL Server.

My hunch is that it's BMR + SQL Server + volume data in the VM directly rather than using Hyper-V 'Backup Using Child Partition Snapshot', I'm not sure what DPM would do with the SQL Server databases in the latter scenario.

Is there a way to backup just the SQL Server databases using the SQL directly in VM agent and just the rest with the Child Partition Snapshot at the Hyper-V host level?

(In case it matters versions are: SCDPM 2012, SQL Server 2008 R2, Windows Server 2008 R2)

Thanks in advance.

DPM 2010 Database Auto-Protection Failed

$
0
0

I'm getting an error from DPM 2010 stating that Database auto-protection failed on the DPM database.  I attempted to run "AutoProtectInstances.ps1" from the DPM Management Shell per the recommended action in DPM but I get the following error:

Start-AutoProtection : DPM could not enumerate SQL Server instances using Windo
ws Management Instrumentation on the protected computer computername.
 (ID: 965)
Please make sure that Windows Management Instrumentation for SQL server is in g
ood state.
At C:\Program Files\Microsoft DPM\DPM\bin\AutoProtectInstances.ps1:10 char:21
+ Start-AutoProtection <<<<  -DPMServerName $DPMServerName -confirm:$false
    + CategoryInfo          : NotSpecified: (:) [Start-AutoProtection], DlsExc
   eption
    + FullyQualifiedErrorId : 965,Microsoft.Internal.EnterpriseStorage.Dls.UI.
   Cmdlet.StartAutoProtection

After getting this error I tried running "mofcomp C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof" per another post I saw.  This ran successfully but I still received the same error when I ran AutoProtectInstances.ps1 again.

I ran "winmgmt /verifyrepository" thinking the WMI repository might be corrupt but it came back consistent.

Any help is appreciated,

Rob

 

Recovery point failed:

$
0
0

Hi,

We have faced below issue while taking backup of SQL DB So Kindly suggest any solution to fix.

ERROR:  

Affected area: Database instance

Occurred since:

Description:        Recovery point creation jobs for SQL Server 2012 database   on Server have been failing. The number of failed recovery point creation jobs = 2.

 If the data source protected has some dependent data sources (like a SharePoint Farm), then click on the Error Details to view the list of dependent data sources for which recovery point creation failed. (ID 3114)

                Execution of SQL command failed for SQL Server 2012 database   on   with reason : BACKUP LOG is terminating abnormally.

The statement BACKUP LOG is not allowed while the recovery model is SIMPLE. Use BACKUP DATABASE or change the recovery model using ALTER DATABASE.

. (ID 30173 Details: Internal error code: 0x80990D18)

                More information

Recommended action:  Check the Application Event Viewer logs on the SQL Server for entries posted by the SQL Server service to find out why the SQL command may have failed. For more details, look at the SQL Server error logs.

                Create a recovery point...


Azure Backup Server cannot discover Database in SQL Mirroring

$
0
0

Hi Folks,

I'm actually want to protect a SQL Mirror that has the following configuration:

Principal Database is in a SQL Cluster, and Mirror is in a Workgroup.

All the nodes have the Azure Backup Server Agent (DPM Lite) installed, configured and working properly.

According to microsoft in https://technet.microsoft.com/en-us/library/hh757834.aspx They Support:

  • Principal is clustered, mirror is not.
  • Principal is not clustered, mirror is.
  • Both principal and mirror are clustered.

So my question here is: Does it support the mirror server in a Workgroup?, or does all the nodes must be joined into the same domain?.

Finally is the same link above Microsoft says, that the protection cannot be set up,If the SQL Server mirroring session uses an explicitly configured IP address. So Does SQL Server mirroring session is the configuration pointed by the arrow?:

Thanks guys for your help.




DPM 2012R2 RU11 cannot copy directly from an tape Error ID:917

$
0
0

When i try to restore directly from a tape it will pop up a message " Connection to the DPM service has been lost... ".After restarted the DPM console, Nothing get restored. I restarted the server and checked all services related to DPM are working fine. 

Here is the screenshot:

Connection to the dPM service has been lost

Review the application event log for information about a possible service shutdown

Verify that the following services are not disabled

DPM

DPM Replication Agent

SQLAgent$MSSQLSERVER

MSSQL$MSSQLSERVER

Virtual Disk Service

Volume Shadow Copy

ID: 917


Then event viewer gives a message below:

Text
The description for Event ID 943 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

Unable to connect to the DPM database because the database is in an inconsistent state.

Problem Details:
<FatalServiceError><__System><ID>19</ID><Seq>975</Seq><TimeCreated>1/26/2017 6:03:13 PM</TimeCreated><Source>DpmThreadPool.cs</Source><Line>163</Line><HasError>True</HasError></__System><ExceptionType>DBCorruptionException</ExceptionType><ExceptionMessage>Couldn't access DataSourceInfo '00000000-0000-0000-0000-000000000000' in the database</ExceptionMessage><ExceptionDetails>Microsoft.Internal.EnterpriseStorage.Dls.DB.DBCorruptionException: Couldn't access DataSourceInfo '00000000-0000-0000-0000-000000000000' in the database
   at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.DataSourceInfo.GetDataSourceInfo(SqlContext ctx, Guid datasourceIdLocal)
   at Microsoft.Internal.EnterpriseStorage.Dls.PRMCatalog.PrmCatalog.GetDataSourceInfo(Guid datasourceId)
   at Microsoft.Internal.EnterpriseStorage.Dls.WriterHelper.CommandParamsHelper.GetWriterId()
   at Microsoft.Internal.EnterpriseStorage.Dls.WriterHelper.CommandParamsHelper.GetSourceCommunicationParameters(Guid taskId, Guid verbId)
   at Microsoft.Internal.EnterpriseStorage.Dls.WriterHelper.DataTransferCommonTaskHelper.get_SourceCommunicationParameters()
   at Microsoft.Internal.EnterpriseStorage.Dls.Prm.StartRestoreBlock.MTARestoreDatasetSend(Message msg)
   at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.Fsm.Transition.Execute(Message msg)
   at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.Fsm.Engine.ChangeState(Message msg)
   at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.TaskInstance.Process(Object dummy)
   at Microsoft.Internal.EnterpriseStorage.Dls.TaskExecutor.FsmThreadFunction.Function(Object taskThreadContextObj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()</ExceptionDetails></FatalServiceError>


the message resource is present but the message is not found in the string/message table


The environment as below:

OS: Windows 2012r2 datacenter (Latest updates installed)

Storage: OS is on RAID1 (over 50% free space) . Backup pool is on RAID6 with 15TB (over 50% free space).

SQL: SQL Server 2012 64Bit (Latest updates installed)

DPM: DPM 2012r2 with Rollup update 11

Tape machine: Dell PowerVault 124T Autoloader (8 Slot and 1 drive)

 I just checked on all databases. They all shows 0 errors. Like below:

SQL
CHECKDBfound0allocationerrorsand0consistencyerrorsindatabase'DPMDB_BU_DPM'.DBCCexecutioncompleted.IfDBCCprintederrormessages,contactyoursystemadministrator.
SQL
CHECKDBfound0allocationerrorsand0consistencyerrorsindatabase'ReportServer'.DBCCexecutioncompleted.IfDBCCprintederrormessages,contactyoursystemadministrator.
SQL
CHECKDBfound0allocationerrorsand0consistencyerrorsindatabase'ReportServerTempDB'.DBCCexecutioncompleted.IfDBCCprintederrormessages,contactyoursystemadministrator.

Searched the whole google, bing, yahoo. Not much info on this issue.

Please give a shout if anyone come across the similar problem or advise.

Thank you

An unexpected error occurred while the job was running. (ID 104 Details: Do not attach the filter to the volume at this time (0x801F000F))

$
0
0

Hi,

I run DPM 2012 R2 RU4 and want to protect some sql 2014 Databases from a stand-alone instance. The databases are located on a ReFS formatted drive. The system is running Server 2012 R2 on a genration 2 VM. The SQL Server runs in a different domain and is connected to DPM by using certificates.

The backup is not succesfull and i get the following error:

An unexpected error occurred while the job was running. (ID 104 Details: Do not attach the filter to the volume at this time (0x801F000F))

vssadmin list writers shows no errors.

Can somebody help me with this one?

I Hope.

Greetings.

DJITS. 


DPM fails to backup a large database(initial sync)

$
0
0

"The shadow copies of volume D: were deleted because the shadow copy storage could not grow in time". Consider reducing the IO load on the system or choose a shadow copy storage volume that is not being shadow copied

Anyway I can get around this error for the first sync? 

DPM won't automatically resume the backup schedule if it fails.

$
0
0

I have a SQL server and I use DPM 2012 R2 to synchronize hourly and do an Express Full backup at 4AM Sundays. The DPM agent and server are version 4.2.1553.0

1 Database will fail the 1AM hourly every day.
Other databases in the same protection group and same SQL server have no problems.

My problem: When that 1AM job fails, it stops the backups for that 1 database and it does not try again every hour. I must resume backups manually, but when 1AM comes around again, it stops again.

Most everything else I backup, if it fails once, it will retry at the next scheduled sync or full backup. I expect this database to behave the same way.

Thanks for your help

Viewing all 204 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>