Database backup or porting is an important activity for many of the developers. If you forgot to take up-to date backup of your whole databases; run the script similar as below. Change your username, password to root’s credentials.
SVN, though being overtaken by GIT, is still useful and very simple. Here, we will use a post-commit hook script to automatically publish your work instantly to web root, once you commit.