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.


Last update: January 12, 2021 18:06:10