We are assuming you already deployed a WordPress website running on Apache (LAMP). If you don't please star tby doing so and then you can come back to these next steps on implementing a backup process and best practices.
Open the computer that contains your WordPress running on Apache and continue with the instructions below.
Make a python (recommended) or bash script that, when executed, performs the following actions.
Once the Python or bash script is ready, upload it to your 4Geeks.com project delivery.