Linux SQL VDI backup

Open
#752 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, sql, ubuntu

Research direction

Review the sample in samples/features/sqlvdi-linux and reproduce the GetConfiguration, sqlcmd backup, and OpenDevice failures on SQL Server for Linux 2019 under Ubuntu. Trace the reported VDI memory, buffer allocation, and device-opening errors to determine whether the sample or its documented setup needs correction; done means the cause and required change are established.

Written by the indexing model from the issue text.

Description

I took sample for Linux VDI backup from https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/sqlvdi-linux
Added system users and ran on a server. App is ran under mssql system user and credentials set for SQL user with sysadmin role. MS SQL for Linux ver 2019 on Ubuntu 19.10.

On a GetConfiguration invocation in console appears message:

Host_1b00a6e6-8afd-4ca4-a23b-c44bd8b33808_SQLVDIMemoryName_0: ClientBufferAreaManager::SyncWithGlobalTable: Open(hBufferMemory): error 2Host_1b00a6e6-8afd-4ca4-a23b-c44bd8b33808_SQLVDIMemoryName_0: TriggerAbort: invoked: error 0Host_1b00a6e6-8afd-4ca4-a23b-c44bd8b33808_SQLVDIMemoryName_0: TriggerAbort: ChannelSem: error 2

On sqlcmd side:

BackupVirtualDeviceSet::AllocateBuffer: failure on backup device '{1b00a6e6-8afd-4ca4-a23b-c44bd8b33808}'. Operating system error 995(error not found).

And finally OpenDevice:

VDS::OpenDevice fails: x80770004

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/sql-server-samples

All issues in microsoft/sql-server-samples

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.