# Some question about percona mongo backup tools?

**URL:** <https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208>\
**Category:** Percona Backup for MongoDB\
**Tags:** percona, mongodb\
**Created:** [February 21, 2023, 1:56am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208 "2023-02-21T01:56:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonTJ](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@JasonTJ](https://forums.percona.com/u/JasonTJ)\
**Post date:** [February 21, 2023, 1:56am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/1 "2023-02-21T01:56:40Z")

</div>

Hi Guys,

Recently, am testing the percona mongo backup tool, some questions as below:

1. Support for backup file encryption on local filesystem? As far as I know, It only support for AWS s3.
2. Support for backup on parallel ? How to specify the parallel number on backup command?
3. For PBM 2.0.3 , Support for physical backup by incremental ?

Thanks  
Jason

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [February 21, 2023, 3:18pm UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/2 "2023-02-21T15:18:31Z")

</div>

Hi Jason,

1. PBM doesn’t support backup encryption. Physical backups work with [Data at Rest Encrypted databases](https://docs.percona.com/percona-server-for-mongodb/5.0/data-at-rest-encryption.html)
2. PBM runs backups sequentially, there is no support for parallel backups. Tbh, I’m not sure I fully understand what you mean by the backup on parallel. Can you provide a use case that needs parallel backups?
3. Yes, since v2.0.3 supports [incremental backups](https://docs.percona.com/percona-backup-mongodb/usage/incremental-backup.html). This feature is in technical preview though.

Cheers!

---

<div class="post-metadata">

**Author:** ![JasonTJ](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@JasonTJ](https://forums.percona.com/u/JasonTJ)\
**Post date:** [February 22, 2023, 1:56am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/3 "2023-02-22T01:56:51Z")

</div>

Hello Andrew,

Thanks for your professional suggestion!

for the question 2: I mean if possible to issue the parameter like parallel or threads like below:

pbm backup -type incremental --base parallel 4 ?  
pbm backup -type incremental --base threads 4 ?

Seems no.

So my question change to how to speed up the backup/restore performance ?

Thanks  
Jason

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [February 22, 2023, 11:18am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/4 "2023-02-22T11:18:29Z")

</div>

Ah, I see.  
Backup uploads on S3/Azure storages are happening concurrently by default (for logical and physical backups, incremental included). As for the restores, we have the [changes](https://github.com/percona/percona-backup-mongodb/commit/85b566eb038481787b02f0c5b052dbf62e97a16c) in “main” that significantly speeds up physical restores from S3 type of storages. It is to be released in the next PBM version.

Do you have issues with backups/restores speed? Can you elaborate more if so? What’s the storage type? Backups type (logical/physical)? Is it backup, restore or both? What’s the dataset size? How far is the storage from the cluster (the same region etc)?

Cheers

---

<div class="post-metadata">

**Author:** ![JasonTJ](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@JasonTJ](https://forums.percona.com/u/JasonTJ)\
**Post date:** [February 23, 2023, 5:30am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/5 "2023-02-23T05:30:58Z")

</div>

Hi @Andrew_Pogrebnoi

Thanks for your updates!

Currently, No performance issue on backup/restore activities.

For backup to local filesystem, Does the concurrently behaivor happened by default?

Thanks  
Jason

---

<div class="post-metadata">

**Author:** ![Andrew\_Pogrebnoi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andrew_pogrebnoi/32/77_2.png) [@Andrew\_Pogrebnoi](https://forums.percona.com/u/Andrew_Pogrebnoi)\
**Post date:** [February 23, 2023, 12:51pm UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/6 "2023-02-23T12:51:32Z")

</div>

No, unfortunately no concurrentcy for FS atm.

---

<div class="post-metadata">

**Author:** ![JasonTJ](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@JasonTJ](https://forums.percona.com/u/JasonTJ)\
**Post date:** [February 25, 2023, 1:10am UTC](https://forums.percona.com/t/some-question-about-percona-mongo-backup-tools/20208/7 "2023-02-25T01:10:18Z")

</div>

Thank you! @Andrew_Pogrebnoi
