Its actually easier than that.
I always backup my database anytime I upgrade mysql or switch to something else.
In Debian or Ubuntu for example... After you add percona to your repository list.... Use aptitude to install it. It will remove stock MYSQL and replace it with Percona without having to import or export your database.
Once installed.... Basically treat it just like you would MySQL.