pbm-recipes

Back up and restore MongoDB clusters with Percona Backup for MongoDB.

1|1|Updated May 29, 2026
One-click install
npx skills add https://github.com/Percona-Lab/skills --skill pbm-recipes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pbm-recipes
Source: https://github.com/Percona-Lab/skills/tree/main/pbm-recipes
Command: npx skills add https://github.com/Percona-Lab/skills --skill pbm-recipes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PBM recipes provide end-to-end guidance to back up and restore MongoDB clusters (including replica sets and sharded clusters) using Percona Backup for MongoDB, ensuring cluster-consistent operations and safe restores.

Core Features & Use Cases

  • Supports logical, physical, incremental backups and PITR for MongoDB with PBM.
  • Handles both replica sets and sharded clusters, including selective restores for logical backups.
  • Provides storage configuration examples (S3, filesystem, Azure, GCS) and step-by-step restore workflows.

Quick Start

Backup a MongoDB replica set with PBM and verify the backup integrity.

Frequently Asked Questions about pbm-recipes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I back up and restore a MongoDB sharded cluster consistently?

MongoDB sharded cluster backup and restore is handled using PBM's cluster-consistent workflows, supporting logical, physical, incremental backups and PITR across all nodes.

Can I perform point-in-time recovery (PITR) on a MongoDB replica set with PBM?

Yes, MongoDB replica set PITR is supported by PBM recipes, allowing you to restore your cluster to a specific point in time to recover from accidental data loss.

Does PBM support selective restore for logical backups on MongoDB?

PBM supports selective restore for MongoDB logical backups, enabling you to recover specific collections or databases rather than restoring the entire cluster.

What storage configurations work with Percona Backup for MongoDB?

Percona Backup for MongoDB supports multiple storage configurations including S3, filesystem, Azure, and GCS, requiring correct setup to ensure backup and restore operations succeed.

How do I verify MongoDB backup integrity after completing a PBM backup?

MongoDB backup integrity verification is part of the PBM workflow, ensuring the backup is consistent and restorable before you rely on it for disaster recovery.

Are there safety precautions for multi-step MongoDB cluster restores?

MongoDB cluster multi-step restores require strict safety precautions and compatibility checks enforced by PBM to prevent data corruption and ensure a safe recovery process.