There are many ways to backup an Alfresco system. It is important that you backup the database as well as the content store. You may also want to back up the Solr indices.
Assuming you installed using the binary installer, and everything lives in $ALRESCO_HOME, you can backup the database like this...