How would you backup a iPhone/iPad that has a passcode on it?

I forgot my passcode and I'm trying to back my iPad up, it won't let me because it has a passcode on it. I'm trying to back it up and restore it so isthere any way to back it up if it has a pass code on it?

When your iPad is passcode locked, you should first unlock your iPad password. This can be done with iPad factory reset. But, it will erase all your data on iPad. Though you can recover data erased during iPad factory reset with Tenorshare iPhone data recovery or other data recovery for iPad.

It is advised to think twice before setting your iPad to default condition. IPad factory reset is the single great way to clear the forgotten password, though.

If needed, download Tenorshare iPhone data recovery from google.