When you specify a SnapManager backup or SnapManager verification operation, you can start the operation immediately, or you can schedule the operation to run later. This topic describes how to schedule a backup or verification job for a later time.
Related topics
You can use either of the following schedule services to schedule a backup or database verification:
If you want to be able to create backup on newly created databases without rescheduling an existing backup job, you must select all the databases on the server when the backup job is scheduled. The new-backup cmdlet used for the scheduled job will not specify any databases, which indicates the cmdlet will try to backup all the databases, including the newly created one on the server. You will not need to re-run the configuration wizard.
Use the Schedule Job dialog box to schedule a backup operation or a database verification operation. The Schedule Job dialog box opens automatically when you finish specifying the backup or verification operation if you have chosen the option to schedule the operation to be run later.
To use the Schedule Job dialog box, complete the following steps from either Backup and Verify or from the Backup wizard after you have specified the details of the backup or verification operation.
Step | Action | |
---|---|---|
1 | Click "Schedule..." |
|
2 | If the Run Commands dialog box appears, specify the command and then Click OK to close the dialog box. For more information, see Pre-command and post-command script settings. Result The Schedule Job dialog box appears. |
|
3 | In the Schedule Job Name box, enter a name for your backup job. |
|
4 | Specify what you want to do if a scheduled job of the same name already exists. |
|
If you want to... | Then... | |
Overwrite the existing job with this one |
Select the Replace Job if Exists option. |
|
Be prompted to specify a different name |
Do not select the Replace Job if Exists option. |
|
5 | In the "Select the Scheduling Service to Create Job" panel, select the schedule service you want to use. Note: If
you select SQL Server Agent and the service is stopped, SnapManager
will automatically start the SQL Server Agent service for you.
|
|
Using the SQL Server Agent | ||
6 | In the Server Name box, specify the name of the SQL Server instance that you want to use to run this job. |
|
If... | Then... | |
You know the server name |
Click the Server Name box and enter the server host name. |
|
You prefer to browse to the server name |
Click Browse to use a browse dialog box to select the server host name. |
|
7 | Click OK. Result The Properties dialog box appears for the job you are specifying. This is an SQL Server Agent dialog box. |
|
8 | In the Properties dialog box, specify the parameters of your job schedule:
|
|
9 | Click OK to close the Properties dialog box. Result The backup job will run at the times you specified in the Properties dialog box. The backup scheduling process is complete. |