You need to backup files and DB (not sure what your server software does, so I manually always backup those two). Restore is more or less the same, but other way round.
Easiest is to create script, make it a cron task and voila, you'll have regular backup. Hopefully you'll never need to know how to do restore, but it is usually very similar in a way.