To reset or change your iPad's passcode, you can use the "Passcode" menu in your Settings app, or reset the entire device.
You can restore your iPad from a backup by saving data to your Apple ID account, and then logging back in after the iPad ...