Start a Conversation

Solved!

Go to Solution

Closed

1 Rookie

 • 

66 Posts

1470

April 3rd, 2023 12:00

SyncIQ - PROD to DR: Cleanup

Hi,

We have a PROD to DR configured with SyncIQ. Recently I had to pause the policies due to cleanup and directory structure changes. There were many files that needed to be deleted from the Source. I updated the policies and the Target's directory structure is now aligned with what is on the Source. If I need to clean up directories and/or files on the Target, is there a way to run a delete using conditional statement? Running a rm command would take too long. I didn't see the TreeDelete have this option in the WebUI. If I enable the policy on the Source, would the policy enforce so that both sites are 1:1 or could the Target have more data that the Source? Does the policy remove directories/files if they are no longer available on the Source?

Thanks,

Moderator

 • 

8.5K Posts

April 4th, 2023 07:00

If it is set on sync it will delete the files.

"Data replicated with a synchronization policy is maintained on the target cluster precisely as it is on the source – files deleted on the source are deleted next time the policy runs."

Moderator

 • 

8.5K Posts

April 4th, 2023 06:00

Hi,

Thanks for your question. It will leave the files on the destination if they were not replaced with new versions. https://dell.to/413UbVn   

Let us know if you have any additional questions.

1 Rookie

 • 

66 Posts

April 4th, 2023 07:00

Thank you. Is there a way to clean up the Target so its a mirror image of the Source? What if you had thousands of files that needed to be deleted on the Source and you didn't want those files on the Target? Is there a way to remove those files? It would be great if the TreeDelete had more options to add conditions or if there is a way to script this to add workers so the job runs in parallel across all nodes otherwise it would be running sequentially and would take a very long time to finish.

1 Rookie

 • 

66 Posts

April 4th, 2023 07:00

So if the policy is configured as synchronization then shouldn't that remove any files on the Target that was removed on the Source? So if I delete directories on the Source the next run should remove those directories on the Target? If the policy was configured for copy I understand why that data would still exist, but for synchronization it should create a 1:1 mirroring the Source? Reason I ask is there are thousands of files that need to be removed on the Source and trying to clean that up manually would take a very long time

1 Rookie

 • 

66 Posts

April 4th, 2023 09:00

Thank you

1 Rookie

 • 

20.4K Posts

April 25th, 2023 21:00

you can't do manual cleanup on the syncIQ target as it's in a read-only state.

No Events found!

Top