The rollforwarddb command in Ingres is used to restore a database by applying journal files after a restore, bringing it to a consistent state. This command rolls forward the database transactions to make it valid and current. The accessdb utility is for database access management, not restoration.