MySQL Backup using mysqldump

Create file

Add

Make it executable

Set cronjob

Backing up to Google Cloud Storage

Add following line to end of the script. Make sure you have Installed Google Cloud SDK and configured gsutil.

Create a Googe Cloud Storage bucket of type Nearline. Set life cycle policy to delete files after 30 days.

Store Backups on Same directory

backup

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *