Is my logbook backed up in ForeFlight?

Yes, your logbook is backed up to our servers.  Further, your logbook is synced across any other devices you have on your account.  In the event that you accidentally delete ForeFlight Mobile or break your device, you will be able to restore your logbook on any device you are signed into ForeFlight on.