I have A,B,C servers.i want to 3 servers jobs move to D
server(target server)..how?
note: i said that take the backup of msdb and restore to the
target server..he said while restoring jobs replaced.
what is the solution
Answer / Mohit Singhal
To move SQL Server Agent Jobs from one server (A, B, or C) to another server (D), you can follow these steps:
1. Backup the msdb database from the source server using T-SQL commands or SQL Server Management Studio.
2. Restore the backup on the target server (D).
3. After restoring the msdb database, the jobs will be present in the target server's msdb database but not yet operational.
4. To make the jobs functional, you need to register the jobs on the target server using T-SQL commands or SQL Server Management Studio.
5. To register the jobs, run the following command for each job:ntsp_add_job @job_name = 'JobName', @step_name = 'StepName' ...
6. After registering the jobs, you can enable them and schedule them as needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Datapump & export/import?
What are the steps you will take to improve performance of a poor performing query?
How would you go about verifying the network name that the local_listener is currently using?
Typically, where is the conventional directory structure chosen for Oracle binaries to reside?
What would you use to improve performance on an insert statement that places millions of rows into that table?
what is the difference between catalog & nocatalog?
how can a session indicate its interest in receiving alerts?
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
what is the role of dip user in our database?
if monday take full backup and tuesday it was cumulative backup and wednesday we taken incremental backup, thursday some disaster happen then what type of recovery and how it will take?
I want to export only structure of the table from oracle database. In that table to used the some partition. To export the table in general way then compilation error was occured i.e-EXP-00003: no storage definition found for segment(11, 2771). Please tell me the correct export command parameter to export the partitioned table. Thanks in Advance..........
Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)