Hi
Is there a way within the patch manager application to purge old records in the database?
The database is full
There are several methods... depending on what you want to purge.
But if the database is full, purging is not the answer. While it may provide you some temporary respite, whatever is causing this issue will almost certainly return in very short order.
If the database is full because you're not using SQL Server 2008 R2 Express Edition (which has a 10GB database size limit), then the appropriate response is to upgrade your instance of SQL Server Express Edition. Older editions of SQL Server Express Edition had a 4GB cap. However, Patch Manager has shipped with SQL Server 2008 R2 Express Edition for a couple of years now, so unless you're server dates back to before v1.8, this is not likely the culprit.
If the database is full (of 10GB of data) and you are using SQL Server R2 Express Edition, then you may need to evaluate upgrading to Standard Edition and remove the database size caps.
Of course, it's also relevant as to why you have 10GB of data in the database, so before you commit to a database upgrade, we should evaluate whether this is an issue that can be remediated with some basic application management:
There are likely other questions of relevance as well, but those are the ones that come immediately to mind.
Thanks for the reply
I have 2008 express database which only has a 4 gig limit.
I want to move the wsus and patch manager to a 2012 r2 server.
I have migrated the wsus server to 2012r2.
Is it possible to migrate the patch manager server or do I have to do a new install and if so will it work if I backup and restore the database to a 2008r2 sql and connect it to the new patch manager server.
I don't want to lose all my configuration.
Ouch. So my first suggestion would be to do an IN-PLACE upgrade from SQL Server 2008 Express Edition to SQL Server 2008 R2 Express Edition, which will raise that database limit from 4GB to 10GB.
It is not possible to migrate a Patch Manager Primary Application Server (PAS), and you cannot use a backup/restore of the database, you will need to install a fresh instance of Patch Manager. This limitation exists because the Patch Manager Primary Application Server is a Root Certificate Authority for the entire Patch Manager infrastructure, and restoring to another system would invalidate those certificates.
To create a new Patch Manager server on another system:
I'm confused, you've already migrated WSUS and you're still using SQL Server 2008 Express Edition on Windows Server 2012?
No sorry the new 2012r2 server where the new wsus install has sql 2008r2 express.
Thanks for your help.
I have stopped the service of patch manger (eminentware data grid server) on the 2008r2 box but now when I try to restart it I get an error id 1053 service did not start in a timely fashion