This information applies to iPads with iPadOS 15 through iPadOS 13 and iOS 12.
Just restore your data after you get the new one up and running.
Here’s how:
To back up your iPad to iCloud before you wipe its data:
Tap theSettingsicon.

If you haven’t enabled this feature, tap the switch next toiCloud Backupto turn it on.
double-check your outgoing unit has the latest version of iPadOS before running your final backup.
Check for a new update fromSettings>General>Software Update.

you might also perform aniPad backup with your Mac or PC.
Don’t sell or give away an iPad without wiping its data first.
ChooseReset(orTransfer or Reset iPadin iOS 15).

TapErase All Content and options.
If you have a passcode (unlock code) enabled, enter it in the next window.
ChooseErasewhen the pop-up menu appears.

If you enabled restrictions, slide in your restriction passcode.
Confirm the erase a second time.
You need access to the internet (via Wi-Fi or cellular connection) to perform this step.

You will likely see a progress bar showing the status of the wipe and reset process.
Failure to do so may result in whoever obtains your iPad accessing your personal information and data.






