Backing up your site regularly also assists in procuring from fix wordpress malware attack hackers. You have to keep a copy of your documents hide away in backup system you can be certain of your database. This makes you a protected files that serves you in times of down that is unexpected is the machine. Hackers are not as likely to steal from a secured back up system.
There are ways to pull this off, and many involve copying and FTPing files, exporting and re-establishing databases and much more. Some of them are very complicated, so it's imperative that you select the right one. Then discover this you might want to look into using a plugin for WordPress backups, if you're not of the persuasion.
You also need to set the"Anyone Can Register" in Settings/General to off, and you should have some sort of spam plugin. Akismet is the one I use, the old standby, but there are many of them these days.
WordPress is one of the most popular platforms for self-hosted sites and websites. While WordPress is pretty secure out of the box, there are always going to be individuals who wish to create trouble by finding a way to split into sites or accounts to cause damage or inject hidden spammy links. That's why it's important to make certain that your WordPress installation is as safe as possible.
Don't use wp_ as a prefix for your databases. That default is being eliminated by web hosting providers but if yours does not, fix wp_ to anything but that.