All your personal folders are kept ie documents music pics etc. Enabling tdb formats system, so All apps and data are removed. I use built in backup of miui works perfect to restore apps. Keep in mind not to restore accounts it causes problems
Sent from my MI 2S