From f29e6fe102c1418ee838edde5922ba8de425a0e5 Mon Sep 17 00:00:00 2001 From: Alexander Renz Date: Mon, 15 Dec 2025 15:12:50 +0100 Subject: [PATCH] docs: fix MYSQL_PITR.md - remove non-existent --pitr flag Regular backups already capture binlog position automatically when PITR is enabled at the MySQL level. No special flag needed. --- MYSQL_PITR.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MYSQL_PITR.md b/MYSQL_PITR.md index 19b2969..c4d303a 100644 --- a/MYSQL_PITR.md +++ b/MYSQL_PITR.md @@ -110,10 +110,12 @@ dbbackup pitr mysql-enable --archive-dir /backups/binlog_archive ### 3. Create a Base Backup ```bash -# Create a PITR-capable backup -dbbackup backup single mydb --pitr +# Create a backup - binlog position is automatically recorded +dbbackup backup single mydb ``` +> **Note:** All backups automatically capture the current binlog position when PITR is enabled at the MySQL level. This position is stored in the backup metadata and used as the starting point for binlog replay during recovery. + ### 4. Start Binlog Archiving ```bash