taking backup and restore

Hi All of u…

I m new to YII framework…

Actually i m getting a problem to take a postgress database backup / restoration through YII.

please suggest an idea for the same…