Hi everyone
I posted about a month ago asking how to do a wordpress backup without using a third party app. I’ve managed to do this but I now want to backup the site outside of my server to maybe a my google drive account or another.
I already pay for Google Drive so this seems the most likely but if there is a simple way to use my iCloud account (which I also pay for) or another then please help.
So far, my script backs up my site and database every Sunday night ands saves it in the root folder. I then want to copy that to either my external storage and then delete it on my root folder so it doesn’t;t take up space.
Any ideas?
[ad_2]
Assuming you’re wanting a shell script https://stackoverflow.com/questions/63803581/php-cron-job-to-backup-to-google-drive
You’re also going to want to delete backups after X days as well.
Edit: this too https://github.com/kaushalvivek/cronjob-autobackup-gdrive