DB Script Purge Print
Created by: Sean McCown
Modified on: Thu, Jul 12, 2018 at 10:23 AM
By default this purge routine uses the value from Archive.Config for the DBObjectScripts table so that both the table data and the file data are purged on the same schedule. However, you can override that at the job level by passing in the @Days parameter to the script inside the job, or anywhere else you want to call it from. So say you want to delete the files after 7 days. You would enter the following in Powershell: ./DBScriptPurge.exe 7
Currently you can’t keep individual servers longer than others using this process. This process purges all servers and databases in the script folder. If you want different retention periods for longer-term storage then you’ll need to setup a routine to copy those files to another directory and then purge them with a different process.
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.