# How to restore original files from xbcloud file parts

**URL:** <https://forums.percona.com/t/how-to-restore-original-files-from-xbcloud-file-parts/7319>\
**Category:** Percona Toolkit\
**Created:** [November 27, 2019, 3:56pm UTC](https://forums.percona.com/t/how-to-restore-original-files-from-xbcloud-file-parts/7319 "2019-11-27T15:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbnk](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dbnk](https://forums.percona.com/u/dbnk)\
**Post date:** [November 27, 2019, 3:56pm UTC](https://forums.percona.com/t/how-to-restore-original-files-from-xbcloud-file-parts/7319/1 "2019-11-27T15:56:06Z")

</div>

Hi, I’m using xbcloud to put xtrabackup files into a bucket in amazon s3.

But when I’m downloading the backup with xbcloud and xbstream it is too slow, so I’m using aws-cli to download the files, and then I would like to restore the original files that I downloaded in parts:

-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000000  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000001  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000002  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000003  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000004  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000005  
-rw-r–r-- 1 root root 10485804 Nov 27 18:45 ibdata1.qp.00000000000000000006  
…

How would you restore the original files now?
