Deleted Custom Forms Content Type - by mistake

Topics: Administration, Core, Customizing Orchard, General, Installing Orchard
Dec 11, 2013 at 6:53 PM
I deleted by mistake the Custom Form - Content Type.

Now, upon upgrading to latest Custom Forms that are now named "Forms" on Admin menu, get an exception.
Line 53:                 </tr>
Line 54:             </thead>
Line 55:             @foreach (var entry in Model.CustomForms) { 
Line 56:            <tr>
Line 57:                 <td>

Source File: \Orchard.CustomForms\Views\Admin\Index.cshtml    Line: 55 
Any idea how to resolve this issue?

Dec 12, 2013 at 7:05 AM
Your best bet is probably to restore a backup.
Dec 12, 2013 at 7:15 AM
Edited Dec 12, 2013 at 7:17 AM
Thanks. I had to restore a new copy of Orchard.

Is there a best practice on taking backups of Orchard DB?

Dec 13, 2013 at 11:24 PM
you should be able to do standard sql backups of your database if you are using sql server. For making copies of my develpment database I use this tool:
Dec 14, 2013 at 10:36 PM
Thank you.