So, I managed to make a complete migration.
but something went wrong
The development server was in root /
and the production server was in a sub directory /pw
All the links were mess up.
So how I fixed it? Change all redirections inside my templates
from using path to url
$people = $pages->get('/system/people');
// Changed this $session->redirect($people->path);
$session->redirect($people->url);
made a backup of the site dumping the complete database. Copied and and pasted the files, changing the mysql connection in config.php. Still the links were Wrong. So I installed the site in Localhost, and using Export Module I managed to make a install profile.
and success!, complete migration from develop server to production.