# Using perconalabs/percona-xtrabackup docker container for streaming backup

**URL:** <https://forums.percona.com/t/using-perconalabs-percona-xtrabackup-docker-container-for-streaming-backup/15735>\
**Category:** Other MySQL® Questions\
**Tags:** percona, closed-no-reply\
**Created:** [May 18, 2022, 1:27pm UTC](https://forums.percona.com/t/using-perconalabs-percona-xtrabackup-docker-container-for-streaming-backup/15735 "2022-05-18T13:27:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![q5616417](https://avatars.discourse-cdn.com/v4/letter/q/b4bc9f/32.png) [@q5616417](https://forums.percona.com/u/q5616417)\
**Post date:** [May 18, 2022, 1:27pm UTC](https://forums.percona.com/t/using-perconalabs-percona-xtrabackup-docker-container-for-streaming-backup/15735/1 "2022-05-18T13:27:33Z")

</div>

Hi to all,  
is it possible to use xtrabackup docker container to do a streaming backup to a remote server? I’ve tried to put the ssh parameters to the docker run command, but - clearly - without success. Then I’ tried to simply pass the parameter --stream=xbstream and wanted to capture stout to pipe it into ssh on the host, but I didn’t succeed either. Entering the container, I wanted to look what happens, but cat /proc/1/fd/1 does not show anything. So, is it right, that --stream=xbstream puts the backup to stdout? If so, is there any possibility to capture it on the docker-host? If not, is it possible to stream to ssh out of the container? A ping 8.8.8.8 succeeds, so internet access is given inside the container.

I really would like to avoid saving the backup in a volume on the host because of low space respectively a big database.

thank you in advance

Thomas
