Microsoft SQL Server에서는 특정 작업을 수행하려면 특정 사용자 역할이 필요합니다. SQL Server 데이터베이스에서 백업 및 DR 캡처, 복원, 마운트 해제, 삭제, 가상 애플리케이션 마운트 작업을 실행하려면 작업을 실행할 수 있는 충분한 SQL 권한이 있는 역할이 있는 Windows 사용자(로컬 사용자 또는 도메인 사용자)의 사용자 인증 정보를 제공해야 합니다.
이 섹션에서는 백업/복구 어플라이언스에서 캡처, 복원, 마운트 해제, 삭제, 가상 애플리케이션 마운트 작업을 실행하는 데 필요한 사용자 역할을 자세히 설명합니다. 이 섹션에 제시된 권장 역할은 SQL Server 데이터베이스 액세스에 관한 Microsoft의 권장사항을 기반으로 합니다.
캡처, 복원, 마운트 해제 삭제, 가상 애플리케이션 마운트를 실행하려면 SQL 환경에서 충분한 권한이 있는 Microsoft Windows 사용자의 인증 정보로 백업 및 DR 에이전트를 설치해야 합니다. Windows 사용자에게 특정 역할이 할당되어 있어야 합니다. Microsoft Windows 사용자는 새로 생성된 사용자 또는 기존 사용자일 수 있습니다.
Windows 사용자에게 필요한 SQL 역할
sysadmin 서버 역할에 할당된 Windows 로컬 관리자 사용자에게는 백업 및 DR 캡처, 복원, 가상 애플리케이션 마운트를 실행하는 데 필요한 모든 권한이 있습니다.
sysadmin 서버 역할이 너무 광범위하다고 생각되면 Windows 사용자에게 다음 역할을 할당하세요.
dbcreator 서버 역할
db_backupoperator 데이터베이스 역할
db_owner 데이터베이스 역할
또한 이러한 사용자에게는 다음 보안 객체도 할당해야 합니다.
데이터베이스 보기
데이터베이스 만들기
데이터베이스 변경
SQL 연결
다음 섹션에서는 특정 백업 및 DR SQL 관련 작업을 실행하기 위해 Windows 로컬 관리자의 사용자 이름과 비밀번호를 입력해야 하는 위치를 자세히 설명합니다.
SQL Server 데이터베이스 로그를 캡처하기 위한 사용자 인증 정보
SQL Server 데이터베이스에 백업 계획 정책 템플릿을 적용할 때 템플릿에 데이터베이스 로그를 캡처하는 정책이 포함되어 있으면 애플리케이션의 백업 계획 애플리케이션 세부정보 및 설정에 관리 콘솔에서 적절한 역할이 할당된 Windows 사용자의 사용자 인증 정보를 입력해야 합니다.
Microsoft SQL Server 데이터베이스 복원을 위한 사용자 인증 정보
관리 콘솔에서 SQL Server 데이터베이스를 복원할 때 복원 대화상자에서 적절한 역할이 할당된 Windows 사용자의 사용자 인증 정보를 입력합니다.
SQL Server 데이터베이스를 가상 애플리케이션으로 마운트하기 위한 사용자 인증 정보
가상 애플리케이션 마운트는 SQL Server 데이터베이스를 가상 애플리케이션으로 마운트합니다. 백업/복구 어플라이언스에서 SQL Server 데이터베이스의 가상 애플리케이션 마운트를 실행할 때 사용자에게 SQL Server 데이터베이스를 마운트하고 마운트 해제(분리)할 수 있는 권한이 모두 허용되는 역할이 할당되어야 합니다.
가상 애플리케이션 마운트를 실행할 때 마운트 대화상자 고급 옵션에서 적절한 역할이 할당된 Windows 사용자의 사용자 인증 정보를 입력합니다.
백업 및 DR Microsoft SQL Server DBA 가이드
이 페이지는 Backup and DR을 사용하여 Microsoft SQL Server 데이터베이스를 보호하고 복구하는 데 관한 일련의 페이지 중 하나입니다. 자세한 내용은 다음을 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eMicrosoft SQL Server operations like backup, restore, and mounting require a Windows user with specific SQL privileges.\u003c/p\u003e\n"],["\u003cp\u003eA Windows user with the \u003ccode\u003esysadmin\u003c/code\u003e server role has all necessary permissions, but if this is deemed too liberal, the roles \u003ccode\u003edbcreator\u003c/code\u003e, \u003ccode\u003edb_backupoperator\u003c/code\u003e, and \u003ccode\u003edb_owner\u003c/code\u003e, along with securables like "View any database," "Create any database," "Alter any database," and "Connect SQL" are an alternative.\u003c/p\u003e\n"],["\u003cp\u003eCredentials for a Windows user with the appropriate roles are necessary when capturing database logs, restoring databases, or mounting a database as a virtual application.\u003c/p\u003e\n"],["\u003cp\u003eThe Backup and DR agent must be installed using the credentials of a Microsoft Windows user who has sufficient privileges in the SQL environment.\u003c/p\u003e\n"],["\u003cp\u003eImproperly defined users or roles can lead to Backup and DR job failures, security violations, and potential data loss, so a qualified administrator must define them.\u003c/p\u003e\n"]]],[],null,["# Prepare SQL Server databases for Backup and DR Service\n\nMicrosoft SQL Server requires specific user roles to perform specific\noperations. To perform Backup and DR capture, restore, unmount,\ndelete, and virtual application mount operations on a SQL Server database, you\nmust provide credentials for a Windows user---a local user or a domain\nuser---who has a role with sufficient SQL privileges to perform the\noperation.\n\nThis section details the user roles required to perform capture, restore,\nunmount, delete, and virtual application mount operations from a\nbackup/recovery appliance. The recommended roles presented in this section are\nbased on Microsoft's best practices for accessing SQL Server databases.\n\nBefore you begin, it's a good idea to review [Backup and DR for SQL\nServer databases](/backup-disaster-recovery/docs/concepts/sql-intro).\n| **Note:** Creating users and assigning roles must be done by qualified system and database administrators. If users are improperly defined, or roles are improperly applied, the result can lead to Backup and DR job failure, security violations, and possible data loss.\n\nWindows local administrator user\n--------------------------------\n\nTo perform capture, restore, unmount delete, and virtual application mounts, the\nBackup and DR agent must be installed with the credentials of a\nMicrosoft Windows user who has sufficient privileges in the SQL environment. The\nWindows user must be assigned a specific role or roles. The Microsoft Windows\nuser can be a newly created or existing user.\n\nRequired SQL roles for the Windows user\n---------------------------------------\n\nA Windows local administrator user assigned to the `sysadmin` server role has\nall necessary permissions to perform Backup and DR capture, restore\nand virtual application mounts.\n\nIf the `sysadmin` server role is deemed too liberal, then assign a\nWindows user the following roles:\n\n- `dbcreator` server role\n\n- `db_backupoperator` database role\n\n- `db_owner` database role\n\nIn addition, such users must also be assigned the following securables:\n\n- View any database\n\n- Create any database\n\n- Alter any database\n\n- Connect SQL\n\nThe following sections detail where to enter the Windows local admin's username\nand password to perform specific Backup and DR SQL related operations.\n| **Note:** In the following procedures, when entering user names, in most cases the domain name and user name---domain or username---format is sufficient. In rare cases, entering the domain name or username returns the error `Logon failure: unknown user name or bad password [1326]` In such cases, use the fully qualified domain name format `(username@fqdn\u003c/span\u003e_)` to address the problem.\n\n### Credentials for capturing SQL Server database logs\n\nWhen applying a backup plan policy template to a SQL Server database, if the\ntemplate contains a policy that captures database logs you must enter\ncredentials of a Windows user assigned the proper roles in the management\nconsole in the application's backup plan application details and settings.\n| **Note:** Credentials are required for logs; they are not required if only databases are being captured.\n\n### Credentials for restoring a Microsoft SQL Server database\n\nWhen restoring SQL Server databases from the management console, in the\n**Restore** dialog, enter credentials of a Windows user assigned the\nproper roles.\n\n### Credentials for mounting a SQL Server database as a virtual application\n\nA virtual application mount mounts a SQL Server database as a virtual\napplication. When performing a virtual application mount of a SQL Server\ndatabase from a backup/recovery appliance, the user must be assigned a role that\nallows both the ability to mount and unmount---detach---the SQL Server\ndatabase.\n\nWhen performing a virtual application mount, in the **Mount** dialog\n**Advanced options**, enter the credentials of a Windows user assigned the\nproper roles.\n\nThe Backup and DR Microsoft SQL Server DBA guide\n------------------------------------------------\n\nThis page is one in a series of pages specific to protecting and recovering\nMicrosoft SQL Server databases with Backup and DR.\nYou can find additional information at:\n\n- [Backup and DR for Microsoft SQL Server Databases](/backup-disaster-recovery/docs/concepts/backupdr-for-sql-server)\n- [Prepare SQL Server databases for Backup and DR Service](/backup-disaster-recovery/docs/configuration/prepare-sql-server)\n- [Add a SQL Server database host and discover databases](/backup-disaster-recovery/docs/configuration/discover-sql-server)\n- [Configure backup plans for Microsoft SQL Server instances and databases](/backup-disaster-recovery/docs/backup/back-up-sql-server)\n- [Application details and settings for Microsoft SQL Server instances and databases](/backup-disaster-recovery/docs/backup/app-details-settings-sql-server)\n- [Mount a SQL Server database](/backup-disaster-recovery/docs/access-data/mount-sql-server)\n- [Mount databases into SQL Always On Availability Groups](/backup-disaster-recovery/docs/access-data/mount-sql-server-aag)\n- [Manage an active mount](/backup-disaster-recovery/docs/access-data/manage-active-mounts)\n- [Migrate a SQL Server database](/backup-disaster-recovery/docs/access-data/mount-and-migrate-sql-server-2)\n- [Clone SQL Server databases](/backup-disaster-recovery/docs/access-data/clone-sql-server)\n- [Recover SQL Server backups](/backup-disaster-recovery/docs/restore-data/restore-sql-server)"]]