Advertisements

How to remove pterodactyl panel failed backup

  • Post last modified:May 7, 2025
  • Post category:Troubleshooting
  • Post comments:0 Comments
  • Reading time:1 min read

If you are using the Pterodactyl panel, you may have encountered this issue where you cannot remove a failed backup from the panel. Most common reason, s3 backup fail. some times backups ended up on a loop where creating for hours. Check logs to find out the reason to fail the backups.

Advertisements

To remove all the failed backups from the panel you can use the below command.

Note: you must be in this directory /var/www/pterodactyl to run the command.

php artisan tinker --execute "Pterodactyl\Models\Backup::whereNotNull('completed_at')->where('is_successful',false)->delete();"

Advertisements

This will remove all the failed backup from the panel. for loop backups wait few hours then you can remove it by running the command again.

Leave a Reply