Skip to content

copy-dbaagentjob do not allow copy to same server. #10370

@frodr1k

Description

@frodr1k

Summarize Functionality

I am trying to setup a test with Ola Hallengrens feature "backup in parallell" which demands me to have identical agent job defintions. There isn't an option in "copy-dbaagentjob" to copy to the same server using "-newname" which i.e. is available in copy-dbadatase. (Naturally when copying with the same name you get an error. )

Is this by design? Should I bother doing an update to copy-dbagentjob to add this

Is there a command that is similiar or close to what you are looking for?

No

Technical Details

Add a -newname parameter as a switch. I haven't dug into the codebase to see if its feasible yet though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuretriage requiredNew issue that has not been reviewed by maintainers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions