Pull Backup from Shared Devices


Job details

Name: Pull Backup from Shared Devices
Platform: Sqlserver
Category: Maintenance
Premium package: Maintenance package
Description: Restores selected databases from a shared network backup device created by another SQL Server instance, supporting cross-instance recovery workflows.
Long description: Restores selected databases from a shared network backup device created by another SQL Server instance, supporting cross-instance recovery workflows.
Version: 2
Default schedule: 0 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2005′ & hasengine=‘YES’]/.[engine_edition = ‘Microsoft SQL Server’ & eng_inst_priv = 0]

Parameters

Name Default value Description
ignore databases A comma-separated list of databases to be excluded from the backup.
enable NO If set to “YES“ the task will run “restore database” command from every shared device.
include databases % A comma-separated list of databases to include in the backup.
return status 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when the procedure returns errors from one or more databases.
return status when old backup 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when database backup on shared device is older then parameter value “backup time threshold”.
backup time threshold 24 Defines the maximum allowed age (in hours) of the backup to be restored. If the backup is older than this threshold, the job can trigger a warning or error depending on the “return status when old backup” setting.
data file location Specifies the target folder path where the database data files (e.g., .mdf, .ndf) should be restored. The job will move the data files to this location during restore.
log file location Specifies the target folder path where the transaction log file (.ldf) should be restored. The job will move the log file to this location during restore.
dbWatch instances A comma-separated list of dbWatch-registered SQL Server instance names. The job will attempt to restore databases from these instances, using backups found on the shared device pushed by the corresponding “Push Backup to Shared Devices” job.
adjust compatibility on restore NO If enabled (value “YES“), after restoring a database, its compatibility level will be automatically adjusted to match the default compatibility level of the new instance (the same as the master database).
create missing logins NO If set to YES, the job will attempt to create logins associated with the restored databases.

Job Summary

Technical Details and Dependencies

Parameters Involved (No specific descriptions provided)

Usage Scenarios

Impact and Reporting

Conclusion

Utilizing “Pull Backup from Shared Devices,” DBAs ensure business continuity by enforcing and verifying backup strategies across SQL Server instances managed under dbWatch, making it a pivotal part of the IT infrastructure management in large-scale environments.