Deleting backup from BackupPC – Manually


BackupPC does not have scripts or commands to actually remove backup from the pool. One day you will want to remove that and for that purpose you have to “hack” your way in.


Easiest way to delete backup for me was this way:

cd /var/lib/BackupPC/pc/<client>/
rm -fR <backup_number>
/usr/share/BackupPC/bin/BackupPC_nightly 0 255

After this, you will see space reclaimed and you can check it with df, but you still need to remove statistic line, otherwise you will see it in your web interface. To do that:

nano /var/lib/BackupPC/pc/<client>/backups
With ctrl+k you can remove the line with <backup_number>.

Relog to your web interface and voila! No more <backup_number>.


  1. By PatE


  2. By Ibon


  3. Reply

  4. By Danno


  5. By Jamiroqui


Leave a Reply

Purpose of the commenting system is to share your experience. I encourage you to post feedback with your own suggestions, ideas or optimizations regarding the topic of a blog post. What commenting system isn't for, is asking questions about similar issues of yours and requesting support for it. Blog post is provided as is and I am not here to solve all your problems. Please bear that in mind and try to avoid posting such comments. I do take privilege to remove comment from my blog for any reason whatsoever. Usually I do it when I sense a comment was posted only for spam/seo reasons or is out of blog post's topic. Thank you for reading this, now you may continue :)

Your email address will not be published. Required fields are marked *