Back up the complete database and website files before every update. At minimum, keep private/env.php, uploads, and private stored files. Also keep the source directory and the compiled build directory of every v7 custom theme. Store the backup outside the live web root and check that you can restore it.
What should I back up before updating AdLinkFly?
FAQ answer from Mighty Scripts.