How do i backup my batabase and script seperatly? any class is available for that? help me?
You can find good instructions on how to back up a database by searching on Google. How to do it depends on what database you are using (MySQL, PostgreSQL, ...).
To backup the scripts, just copy them onto another computer or burn onto a CD.