You could configure a cron job that back ups your entire stack once a day (or which the frequency that you wish). For example, this would compress your entire stack every day at 10 PM:
(Check that your user is
whoami should return
0 22 * * * tar -pczf /home/bitnami/stackbackup.tar.gz /opt/bitnami > /dev/null
If anything got broken, just stop the services (
sudo /opt/bitnami/ctlscript.sh stop), remove
/opt/bitnami, decompress the backup and start the services.
If there is anything you didn’t fully understand, please, don’t hesitate to ask us again. We’ll be more than glad to help you.