To retain your data, all you need do is to store your recovery QR code somewhere safe. You can find your recovery code in 'Settings->'Recovery Code'.

If you want to recover your data, you just need to scan this code in 'Settings'->'Recover from recovery code'.