About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
windows_first
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
Summary:
The documentation is heavily biased toward Windows environments. All operational instructions, command-line examples, and tool references (such as PowerShell, mountvol.exe, diskshadow.exe, psexec.exe, Net Share, Windows Explorer, and VSS) are specific to Windows. There are no examples, instructions, or considerations for Linux environments, nor are cross-platform alternatives mentioned. The documentation assumes the use of Windows-only tools and patterns throughout.
Recommendations:
- Clearly state early in the documentation that MABS is a Windows-only product, if that is the case. If not, provide equivalent instructions and examples for Linux environments.
- Where possible, provide cross-platform alternatives or note the lack thereof. For example, if certain backup or restore operations can be performed using SQL tools available on Linux, include those examples.
- Avoid assuming the use of Windows Explorer or Windows-specific GUI tools; suggest command-line or cross-platform alternatives where applicable.
- If the use of Windows tools (e.g., mountvol.exe, diskshadow.exe, psexec.exe) is unavoidable, explain their purpose and suggest any open-source or Linux equivalents, or explicitly state that these steps are only possible on Windows.
- For SQL Server backup/restore operations, include examples using sqlcmd or other tools available on Linux, if supported.
- If Linux is not supported at all, make this explicit in the prerequisites or introduction to avoid confusion for cross-platform administrators.
Create pull request
Flagged Code Snippets
OSQL -E -S localhost\SQL_INSTANCE_NAME -Q "BACKUP DATABASE DPMDB_NAME TO DISK='C:\DPMBACKUP\dpmdb.bak' WITH FORMAT"
net share SERVERNAME-DPMDB="X:\454d81a0-0d9d-4e07-9617-d49e3f2aa5de\Full\DPMBACKUP"
<?xml version="1.0" encoding="utf-8"?>
<ScriptConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="https://schemas.microsoft.com/2003/dls/ScriptingConfig.xsd">
<DatasourceScriptConfig DataSourceName="C:">
<PreBackupScript>C:\MABSDBBACKUP\bkupdb.cmd</PreBackupScript>
<TimeOut>120</TimeOut>
</DatasourceScriptConfig>
</ScriptConfiguration>
Net Share MABSSERVERNAME-dpmdb="C:\Program Files\Microsoft System Center\DPM\DPM\Volumes\Replica\File System\vol_c9aea05f-31e6-45e5-880c-92ce5fba0a58\454d81a0-0d9d-4e07-9617-d49e3f2aa5de\Full\DPMBACKUP"
Select ag.NetbiosName as
ServerName,ds.DataSourceName,vol.MountPointPath,vol.GuidName
from tbl_IM_DataSource as ds
join tbl_PRM_LogicalReplica as lr on ds.DataSourceId=lr.DataSourceId
join tbl_AM_Server as ag on ds.ServerId=ag.ServerId
join tbl_SPM_Volume as vol on lr.PhysicalReplicaId=vol.VolumeSetID
and vol.Usage =1
and lr.Validity in (1,2)
where ds.datasourcename like '%C:\%' -- volume drive letter for DPMBACKUP
and servername like '%dpmsqlservername%' --netbios name of server hosting DPMDB
DpmSync –RestoreDb -DbLoc G:\DPM\Backups\2005\November\DPMDB.bak
DpmSync -ReallocateReplica
DpmSync –RestoreDb -DbLoc G:\DPM\Backups\2005\November\DPMDB.bak –InstanceName contoso\ms$dpm
DpmSync -ReallocateReplica