Backup WordPress site using Dropbox and wp-cli ?

Here is how you can backup small site using wp-cli and dropbox. Go to: https://www.dropbox.com/developers/apps Create new app call it anything it’s gonna be your private app. Generated access token and save it somewhere in your locker 🙂 Download file backup-site.sh and change directories path and DROPBOX_TOKEN sudo chmod +x backup-site.sh Setup crontab with crontab -e […]