Databases are great things, they allow us to easily grab data and display it in many formats, the bad side of course is that sometimes a database can get a little upset.
A full disk or any sort of disk corruption such as those caused by power outages or unexpected system shutdown/failures can corrupt a database.
So to ensure PaperCut lives a long and happy life on your server make sure PaperCut has enough room for the database to grow.
JAM Software offer a great bit of software called Tree Size that will show you where that missing disk space is, you would be surprised at the junk that collects in temp folders.
So if you have ignored all the warning signs from your operating system and have corrupted the PaperCut database what do you do? First up do not panic and secondly read on…
How do I restore a PaperCut database if the database is corrupted?
You will need at least one good backup file from the backup directory [app-dir]\server\data\backups\. To restore the database follow the instructions below.
If you have an off disk backup, simply:
Stop the PaperCut Application Server service (Control Panel->Admin Tools->Services), or run the stop-server script in [app-dir]server/bin[platform] if running on Linux or Mac.
Restore all files and folders located at: [app-dir]server/data/internal