PBM restore failed after percona version upgrade

We have upgraded PBM version from 1.6.1 to 2.3.1.
After that, I tried to restore the backup made on version 1.6.1, but got an error: “Starting restore 2024-02-14T13:37:47.763916962Z to point-in-time 2024-02-14T13:10:00 from ‘2024-02-14T12:44:46Z’…Error: no confirmation that restore has successfully started. Replsets status:no replset has started restore”. There were no errors in the pbm-agent logs, but the data was not recovered. So, how can I use old backups after percona version update?

Hi,

Welcome to Percona Community !!
From the above statement, I assume that you have directly upgraded PBM from 1.6.1 to 2.3.1 version i.e you have skipped some major releases. As per the upgrade documentation -

Backward compatibility between data backup and restore is supported for upgrades within one major version only (for example, from 1.1.x to 1.2.y). When you upgrade Percona Backup for MongoDB over several major versions (for example, from 1.0.x to 1.2.y), we recommend to make a backup right after the upgrade.

Also

Starting from v1.7.0, the user running the pbm-agent process is changed from pbm to mongod

Kindly take the fresh backup for restoration.

Regards,
Parag

1 Like