Create Clone failed

giumaREgiumaRE Posts: 15 New member
Hi,

I'm receiving the error when I create the clone, but the clone not exist in the target SQL Server instance:

022-05-12 16:44:23.604 +02:00 [ERR] CreateCloneRequestEvent (clone name: "Rete") Operation 25417 failed with exception (CloneDatabaseNameAlreadyExists)
RedGate.SqlClone.Agent.Api.CloneDatabaseNameAlreadyExistsException: The name 'Rete' cannot be used to create a clone as a database with this name already exists in the target SQL Server instance. (CloneDatabaseNameAlreadyExistsException)
   at RedGate.SqlClone.Agent.Core.Sql.SqlCloneAttacher.AttachDb(String mountPath)
   at RedGate.SqlClone.Agent.Core.Sql.SqlCloner.CreateClone(String imageFile, CloneDirectoryPath cloneDirectoryPath, IProgress`1 cloneProgressReporter, CancellationToken cancellationToken)
   at RedGate.SqlClone.Agent.Core.Sql.SqlCloner.CreateClone(String imageFile, CloneDirectoryPath cloneDirectoryPath, IProgress`1 cloneProgressReporter, CancellationToken cancellationToken)
   at RedGate.SqlClone.Agent.Drivers.Vhd.SqlServerCloneFromVhdImageCreationDriver.CreateClone(String cloneName, IImageStorageDriver imageStorageDriver, Storage imageStorage, SqlServerInstanceLocationExpanded destinationLocation, IStorageDriver cloneStorageDriver, String cloneStorageResourceName, ModificationScriptCollectionWithVariables modificationScriptsWithVariables, IProgress`1 cloneProgressReporter, CancellationToken ct)
   at RedGate.SqlClone.Agent.AgentCloneService.CreateClone(CloneExpanded clone, CreateCloneContext context, CancellationToken ct)
   at RedGate.SqlClone.Agent.AgentCloneService.CreateClone(CloneExpanded clone, CreateCloneContext context, CancellationToken ct)
   at RedGate.SqlClone.Agent.OperationContext.OperationLifetimeManager.Run(Id`1 operationId, UsageInfo usageInfo, Func`2 action, AgentEvent agentEvent)

Is there a way to solve the error ?

Thanks a lot

Answers

Sign In or Register to comment.