Add a SQL Server Plug-in backup job

After a Windows computer with the SQL Server Plug-in is added and configured in Portal, you can create a backup job for one or more databases in a SQL Server instance. The backup job specifies which database or databases to back up, and where to save the backup data. A SQL Server Plug-in job cannot include databases from multiple SQL Server instances.

You can also back up a SharePoint database with a SQL Server Plug-in job.

When you create a SQL Server database backup job, you must specify Windows administrator or SQL Server administrator credentials with the SQL Server sysadmin role for the instance where you are backing up databases.

To back up the data, you can run the backup job manually or schedule the job to run. When scheduling or running a job, you can specify whether to back up the database, the transaction logs, or both. See Run and schedule backups, synchronizations and custom commands.

From the backup, you can restore an entire database. You can also restore specific items from the database. See Restore items from a SQL Server or SharePoint database.

To add a SQL Server database backup job:

  1. On the navigation bar, click Computers.

    The Computers page shows registered computers.

  2. Find a Windows computer with the SQL Server Plug-in, and expand its view by clicking the computer row.

  3. Click the Jobs tab.

    If a valid vault connection is not available for the computer, you cannot access the Jobs tab. For information about adding a vault connection, see the Portal help.

  4. In the Select Job Task menu, click Create SQL Server Job.

  5. In the Connect to SQL Server dialog box, specify the following information:

    • In the Instance list, select the SQL Server instance where you want to back up databases.
    • To connect to the instance using a Windows administrator account, select Windows authentication
    • To connect to the instance using a SQL Server administrator account, select SQL Server authentication.
    • In the User Name box, type the user name for connecting to the instance.
    • In the Password box, type the password of the specified user.
    • If you selected Windows authentication, in the Domain box, type the domain of the specified account.

    Connect to SQL Server box

  6. Click Connect.

  7. In the Create New Job dialog box, specify the following information:
  8. In the Select Databases for Backup box, do one or more of the following to add databases to the backup job:

    • To add specific databases to the backup job, select the check box for each database, and then click Include. The included databases appear in the Backup Set box.

    • To back up all databases in the selected SQL Server instance, select the check box for the instance, and then click Include. The included instances appear in the Backup Set box.

      Note: When the job runs, newly-added databases in the selected instance are automatically backed up.

    • To back up databases with names that match a filter when the job runs, select the check box for the SQL Server instance, and then click Include. An inclusion record with an asterisk (*) appears in the Backup Set box.

      In the Database Filter box, enter the names of databases to include. Separate multiple names with commas, and use asterisks (*) and question marks (?) as wildcard characters. For example, to back up databases with names that end with “Management” or include the word “database” followed by a single character, enter the following filter: *management, database?

      Note: Filters are applied when the backup job runs. New databases that match the specified filters are automatically backed up when the job runs.

      Note: Filters are not case-sensitive.

      Note: If filter fields do not appear, you must upgrade the Agent on the computer to a version that supports database filtering.

  9. To exclude databases from the backup job, do one or more of the following in the Select Databases for Backup box:

    • To exclude specific databases from the backup job, select the check box for each database, and then click Exclude. The excluded databases appear in the Backup Set box.
    • To exclude databases with names that match a filter when the backup job runs, select the check box for the SQL Server instance, and then click Exclude. A record with an asterisk (*) appears in the Backup Set box.

      In the Database Filter box, enter the names of databases to exclude. Separate multiple names with commas, and use asterisks (*) and question marks (?) as wildcard characters. For example, to exclude databases if their names begin with “M”, enter the following filter: m*

      Note: Filters are applied when the backup job runs. New databases that match the specified filters are automatically excluded when the backup job runs.

      Note: Filters are not case-sensitive.

      Note: If filter fields do not appear, you must upgrade the Agent on the computer to a version that supports database filtering.

  10. To remove an inclusion or exclusion record from the Backup Set box, click the Delete button beside the record. Delete button

  11. Click Create Job.

    The job is created, and the View/Add Schedule dialog box appears. You can now create a schedule for running the backup. See Run and schedule backups, synchronizations and custom commands.

    Click Cancel if you do not want to create a schedule at this time.