Skip to content

Restore from Google CloudΒΆ

For each of the directories you want to restore, call the sequence of these commands:

1
2
3
sudo gcloud config set account abcdefghijh@developer.gserviceaccount.com
sudo gcloud config set core/project id-from-google-cloud
sudo gsutil -m cp -r gs://mysql/hostname/ /var/backups/mysql

where abcdefghijh@developer.gserviceaccount.com, id-from-google-cloud, mysql/hostname and /var/backups/mysql are example values taken from the configuration described in the backup section.