You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][1.9.0~1.9.2] Unexpected database file deletion on backup deletion #64
changed the title [-][BUG] Unexpected database file deletion on backup deletion[/-][+][BUG][1.9~1.9.2] Unexpected database file deletion on backup deletion[/+]on Mar 29, 2025
Trigger Scenario: Backup deletion operations, including manual deletion and automatic cleanup.
Scope of Impact
When deleting a backup, the data of backups that share the same base fileset with that backup will also be deleted.
New backups are not affected.
Backups created or deleted after upgrading to v1.9.3 are not affected.
Damage Results
Affected backups will become incomplete, losing >= 80% of their files.
Verification Method
Use the !!pb database validate filesets command for self-inspection. If the output shows a mismatch, as in the example provided, it is affected
Example output:
1. 399: fileset.file_object_count 11075 != actual file object count 265
Fileset 399 is damaged, and backups that reuse fileset 399 are all affected.
(Requires plugin v1.9.4+) You can check the pb_files/logs/validate.log log and look for the line with "Affected backup IDs (bad filesets)" to determine the scope of impact.
Repair Method
Cannot be repaired. Restoration must rely on additional backups outside of PB (such as PB’s own database backups, blob store backups, etc.) to the best extent possible.
changed the title [-][BUG][1.9~1.9.2] Unexpected database file deletion on backup deletion[/-][+][BUG][1.9.0~1.9.2] Unexpected database file deletion on backup deletion[/+]on Mar 29, 2025
Activity
[-][BUG] Unexpected database file deletion on backup deletion[/-][+][BUG][1.9~1.9.2] Unexpected database file deletion on backup deletion[/+]Fallen-Breath commentedon Mar 29, 2025
Source: https://t.bilibili.com/1049779707586805763
Translated to English using AI:
Basic Information
Scope of Impact
Damage Results
Verification Method
Use the
!!pb database validate filesetscommand for self-inspection. If the output shows a mismatch, as in the example provided, it is affectedExample output:
Fileset 399 is damaged, and backups that reuse fileset 399 are all affected.
(Requires plugin v1.9.4+) You can check the
pb_files/logs/validate.loglog and look for the line with "Affected backup IDs (bad filesets)" to determine the scope of impact.Repair Method
Cannot be repaired. Restoration must rely on additional backups outside of PB (such as PB’s own database backups, blob store backups, etc.) to the best extent possible.
For affected backups:
Note: Prime Backup v1.9.0 was released on March 15, 2025, 14 days ago.
The #64 fixer
[-][BUG][1.9~1.9.2] Unexpected database file deletion on backup deletion[/-][+][BUG][1.9.0~1.9.2] Unexpected database file deletion on backup deletion[/+]The #64 fixer
Fallen-Breath commentedon Mar 29, 2025
fixer script
Note
You need to have external backups of these 2 stuffs perform the fix:
pb_files/db_backuppb_files/blobs) backupsNo rescue if no backup :(
Script: https://github.com/TISUnion/PrimeBackup/blob/dev/tools/issue_64_fixer.py
Usage: https://github.com/TISUnion/PrimeBackup/blob/dev/tools/README.md#issue_64_fixerpy
hi54123 commentedon Jun 22, 2025
刚想来说我存档炸了,结果就有了(