This will create a FGBD of your Hosted Feature Service and then zip it up and download it then finally delete the FGBD on your AGOL account for an automated way to backup services. I use Windows Task Scheduler to automate the running on my local machine. The geodatabases get downloaded to Google Drive.