# Xbcloud with google storage

**URL:** <https://forums.percona.com/t/xbcloud-with-google-storage/26729>\
**Category:** Percona XtraBackup\
**Created:** [November 22, 2023, 7:22pm UTC](https://forums.percona.com/t/xbcloud-with-google-storage/26729 "2023-11-22T19:22:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ig-66](https://avatars.discourse-cdn.com/v4/letter/i/ea5d25/32.png) [@ig-66](https://forums.percona.com/u/ig-66)\
**Post date:** [November 22, 2023, 7:22pm UTC](https://forums.percona.com/t/xbcloud-with-google-storage/26729/1 "2023-11-22T19:22:24Z")

</div>

Hi, im trying to get backup from Google Storage

I’ve created backup using google-access-key and google-secret-key  
everything worked as expected

when I’ve tried to restore backup using following script

```auto
xbcloud get 2023-11-22-full_backup-2 \
--storage=google \
--google-endpoint='storage.googleapis.com' \
--google-bucket='rtr-backups/' \
--google-access-key='GOOG1EJQ7EUYN44N........W2DA' \
--google-secret-key='4Nl+3Z8CZsT9cT/73.........lpf3s' \
--google-region='us-central2-a' \
--parallel=10 | xbstream -x -C /data/restore --parallel=8

```

got an error message

error: http request failed: Couldn’t resolve host name  
231122 19:16:26 xbcloud: Probe failed. Please check your credentials and endpoint settings.

access and secred keya are identical for backup and restore commands

any thoughts/suggestions ?

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [November 22, 2023, 10:41pm UTC](https://forums.percona.com/t/xbcloud-with-google-storage/26729/2 "2023-11-22T22:41:52Z")

</div>

Can you run xbcloud on its own without the pipe to xbstream? Does that work? The error says “cannot resolve hostname” which is usually a DNS issue.
