I need to archive and delete logs before updating orchestrator.
I have two scripts CreateOrchestratorCleanupObjects.sql, RunOrchestratorCleanup.ps1
In what sequence do I need to run them to delete logs not older than 45 days ? And what do I need to change in the script to do this ? I need to save all queue and queue elements at the same time
these are standard scripts from the official site
There is a powershell script run on the same page, here is an example:
.\RunOrchestratorCleanup
-SourceConnectionString “Data Source=.;Initial Catalog=UiPath;User ID=sa;Password="
-DestinationConnectionString "Data Source=.;Initial Catalog=;User ID=sa;Password=”
-CleanupConfigXml ‘
I’m not quite sure how to fill in the first two lines correctly.
Data Source=. Is this where the connection string is supposed to go?
Initial Catalog=UiPath. here you need to specify sql database ?
User ID=sa. Here we specify the user or his id and how to find this id ?
If you have an example, please send it to me.
Thats basically the connection string…and you can get the string directly from your team as well…or you can use this site to get the connection string…but what you gave above is what it means
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
