To back up SQL Server databases running on-premises, configure backups for SQL Server using local and cloud storage copies with a backup gateway.
Procedure
-
From the navigation pane, go to Protect > Databases.
The Overview page appears.
-
Click Add server.
The Configure Database Server page appears.
-
Select SQL server.
-
Click Next.
The Select Your Database Environment page appears.
-
Select Database running on-premises.
-
From the Infrastructure list, select the type of database infrastructure.
An active trial or an active subscription is required.
-
Click Next.
The How do you want to deploy your backup? page appears.
-
Select Backup via gateway (Recommended).
-
Click Next.
The Backup Gateway page appears.
-
Select an existing backup gateway or create a new backup gateway.
-
Click Next.
The Local Storage page appears.
-
Determine if you want to back up to cloud storage only or to local storage:
-
To back up to cloud storage only, move the Back up to cloud storage only toggle to the right.
-
To back up to local storage, select a location from the Storage location list.
Steps to add a local storage
-
Click +.
The Add local storage dialog box appears. -
In the Name box, enter a name for the local storage.
-
Click Add.
The Add backup location dialog box appears. -
In the Backup location box, enter the path on the MediaAgent where the backup data is stored.
-
Click Add.
-
Click Save.
-
-
-
Click Next.
The Cloud Storage page appears.
-
Review the supported combinations of primary and secondary storage.
-
To use only an on-premises storage, move the Only use on-premises storage toggle key to the right.
-
Decide whether to store a secondary copy of the backup data for long-term retention. To use an existing storage, from the Storage location list, select a storage.
For information about creating a new storage, see Creating a Cloud Storage for SQL Server Backups With a Backup Gateway Configuration.
-
Click Next.
The Plan page appears.
-
Select an existing plan or create a new plan.
-
Click Next.
The Install Package page appears.
-
To perform a push installation, select Push installation, and then select one or more database servers from the list at the bottom of the page, or add a new database server.
-
To add a new database server, click +, then complete the following in the Add database server page:
-
In the Host name box, enter the host name.
-
For OS type, select the operating system.
-
If you select Windows operating system, from the Credential list, select a saved credential.
-
If you select Unix operating system, do the following:
-
From the Credential list, select a saved credential.
-
In the UNIX group box, enter the name of the Unix group.
-
In the SSH port number box, verify the port number.
-
If you want to use SSH instead of user credentials, move the Use SSH key toggle to the right, and then in the SSH key path box, enter the file path.
-
To use an SSH key file passphrase, move the Use SSH key file passphrase toggle key to the right, and the in the Passphrase box, enter the passphrase for the SSH key.
-
-
Click Save.
-
-
To perform an interactive installation, complete the following:
-
Select Interactive installation.
-
Download the SQL Server package, and then install it on the server you want to back up.
-
Copy the authcode, and then use it to authenticate the SQL Server package on the server.
-
From the Server name drop-down list, select the name of the server.
-
-
Click Next.
The Credentials page appears.
-
To use a local system account for impersonation, move the Use local system account toggle key to the right.
-
To use a saved credential, select the existing credential.
-
To create a new credential, do the following:
-
Click +.
The Add Credential dialog box appears.
-
In the Credential name box, enter a unique name to access the credential.
-
In the User account box, enter the user account that access to the SQL server.
-
In the Password box, enter the password for the user account.
-
In the Description box, enter a brief description for the credential.
-
Click Save.
Note
-
If you are installing the SQL Server on a Windows server, select the Windows account for SQL impersonation. A new credential is added as Windows account.
-
If you are installing the SQL Server on a Linux server, select the SQL account for SQL impersonation. A new credential is added as SQL account.
-
If a credential is not selected, the local system account will be used for impersonation. If a credential is selected, credentials for impersonation should be common between all selected servers. Once the installation is complete, credential will be available for modification at the server level.
-
If you have servers that are running on Windows and Linux, a common credential must not be used. Instead, leave the credential blank and set the impersonation on servers manually after the installation completed.
-
-
Click Next.
The Backup Content page appears.
-
All SQL server instances running on the server will be auto discovered.
-
Click Next.
The Summary page appears.
-
Review the summary.
-
Click Finish.