How to make archive of drupal database with a php code inside node? Without any scripts. This needs in case you forget your FTP access.
closed as not a real question by kiamlaluno♦ Sep 9 '12 at 2:26
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
There is a module for this, use that instead of custom coding PHP in nodes. Generally you never want to put code in nodes for a lot of reasons:
Anyways the module backup and migrate will do what you need.
If you don't have DB password or FTP password and want to create a dump, the simplest thing you can do it to: