Usually, when restoring a company file from a backup, QuickBooks Error 6147 occurs. Make sure QuickBooks is up to date with the most recent version in order to quickly fix it. The damaged company file can then be repaired using the QuickBooks File Doctor