I want to have a backup from my environment in sharepoint, I am doing database backup from SQL, but I want to make the process automated as I need to do scheduling at the end of each week. I started using backup-spsite, as this is a good way for me to get backup of all site collections in my web applications. But it doesn't take the web application itself.
Is there a way to automate it that it takes web application as backup instead of site collection?