Skip to content

Prepare a storage location

Prepare a stogare location as a backup destination for creating and storing your backup artifacts.

PMM supports the following types of storage:

  • Amazon S3-compatible: enables you to use not only AWS S3, but also other storage solutions that support S3 API, like
  • Local storage: currently only available for MongoDB backups.

Prepare a location for local backups

If you prefer storing your MongoDB backup artifacts on a remote filesystem, make sure that you’ve mounted the remote folder to all the mongoDB nodes on the same path, and that PBM tool has Write permissions on the path you define.

For more information, see the Percona Backup for MongoDB (PBM) documentation.

Prepare a location for S3-compatible storage

If you want to store backup artifacts in S3-compatible storage, you can use Amazon S3, or any other storage solution with S3-compatible API.

Before creating a cloud storage location for our future backups, make sure you have your S3-compatible storage ready. In addition to bucket location details, you will also need to ensure proper S3 permissions.

The general minimum permissions are LIST/PUT/GET/DELETE. A sample IAM policy is:

        "Version": "2012-10-17",
        "Statement": [
                "Effect": "Allow",
                "Action": [
                "Resource": "arn:aws:s3:::pmm-backup-testing"
                "Effect": "Allow",
                "Action": [
                "Resource": "arn:aws:s3:::pmm-backup-testing/*"

Create the storage location

  1. Go to Backup > Storage Locations:

  2. Click Add storage location and fill in a name and description for this new location.

  3. Choose the type of storage location you are creating:

    • S3: Specify the S3-compatible backup location endpoint (URL), bucket name, and connection details.
    • Local Client: specify the path on your local client for files to be backed up to.
  4. Optionally, for S3-compatible storages, you can click Test to check the connection.

  5. Click Add to create the location.

Last update: 2023-03-30