# Download only "xtrabackup\_checkpoints" and "xtrabackup\_info" files from S3

**URL:** <https://forums.percona.com/t/download-only-xtrabackup-checkpoints-and-xtrabackup-info-files-from-s3/41114>\
**Category:** Percona XtraBackup\
**Created:** [July 30, 2026, 3:10pm UTC](https://forums.percona.com/t/download-only-xtrabackup-checkpoints-and-xtrabackup-info-files-from-s3/41114 "2026-07-30T15:10:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabricioPedrosoJorge](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@FabricioPedrosoJorge](https://forums.percona.com/u/FabricioPedrosoJorge)\
**Post date:** [July 30, 2026, 3:10pm UTC](https://forums.percona.com/t/download-only-xtrabackup-checkpoints-and-xtrabackup-info-files-from-s3/41114/1 "2026-07-30T15:10:03Z")

</div>

Hello Percona team,

currently, we are backing up some MySQL databases via Xtrabackup (8.0) to S3 (xtrabackup + xbcloud) and also saving the files “xtrabackup\_checkpoints” and “xtrabackup\_info” locally. But if there are issues with the server and we loose this local filesystem, which would also destroy both files, we would like a way to manually download those files from S3.

As backups are getting parallelized, it seems these files are being stored in S3 as a file of the “data” type and are broken into multiple parts.

If using AWS CLI to download each part of either “xtrabackup\_checkpoints” and “xtrabackup\_info”, they seem to be non-readable via cat/vim, for example, as they are saved in S3 as “data” instead of “text”.

Based on this, is it possible to download only these 2 files (“xtrabackup\_checkpoints” and “xtrabackup\_info”) and merge them into a usable/readable files?

Thanks

---

<div class="post-metadata">

**Author:** ![satya.bodapati](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/satya.bodapati/32/1322_2.png) [@satya.bodapati](https://forums.percona.com/u/satya.bodapati)\
**Post date:** [July 30, 2026, 3:51pm UTC](https://forums.percona.com/t/download-only-xtrabackup-checkpoints-and-xtrabackup-info-files-from-s3/41114/2 "2026-07-30T15:51:18Z")

</div>

Two ways:

mkdir -p /tmp/meta

Option 1:

xbcloud get  
–storage=s3  
–s3-bucket=  
–s3-region=us-west-2  
–s3-access-key=  
–s3-secret-key=  
–s3-endpoint=  
–s3-bucket-lookup=path  
\<BACKUP\_NAME\> xtrabackup\_checkpoints xtrabackup\_info  
| xbstream -x -v -C /tmp/meta

Option 2:

aws s3 cp --recursive --exclude ‘_’ --include 'xtrabackup\_checkpoints._’ --include ‘xtrabackup\_info.\*’  
s3:///\<BACKUP\_NAME\>/ ./parts/

cat ./parts/xtrabackup\_checkpoints.\* ./parts/xtrabackup\_info.\* | xbstream -x -C /tmp/meta

---

<div class="post-metadata">

**Author:** ![FabricioPedrosoJorge](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@FabricioPedrosoJorge](https://forums.percona.com/u/FabricioPedrosoJorge)\
**Post date:** [August 5, 2026, 10:03am UTC](https://forums.percona.com/t/download-only-xtrabackup-checkpoints-and-xtrabackup-info-files-from-s3/41114/3 "2026-08-05T10:03:38Z")

</div>

Hey Satya, that did the trick.

Thanks for the response.
