You should backup the osticket directory on the webserver and the osTicket mysql database.When you have your custom theme or other settings laying apart from the osTicket directory / database, then I'd backup that too.Regarding upgrade itself see:http://forum.osticket.com/d/discussion//resolved-upgrade-to-latest-release#latest