Error deleting backup

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12.10
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.62
  • PHP version (e.g, 8.3):
    • 8.2.28
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • It's the first time I try to delete a backup
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I list all available backups with

occ passwords:backup:list
The following backups are available:
2025-04-08_15-00-00

When I try to delete the backup with

occ passwords:backup:delete 2025-04-08_15-00-00

I get

In BackupDeleteCommand.php line 68:
                                 
  [OCP\Files\NotFoundException]

Apps

Version: passwords: 2025.4.10

1 Like

have you tried running php ./occ files:scan-app-data from the root directory of your nextcloud installation?

yes, still the same error